标签:echo enable 远程 ane room lib perm nts oom
1 安装xfce
$ sudo yum install -y epel-release $ sudo yum groupinstall -y "Xfce" $ sudo reboot
2 安装xrdp
$ sudo yum install -y epel-release $ sudo yum install -y xrdp $ sudo systemctl enable xrdp $ sudo systemctl start xrdp
3 打开xrdp端口
$ sudo firewall-cmd --add-port=3389/tcp --permanent $ sudo firewall-cmd --reload
4 创建~/.Xclients
$ echo "xfce4-session" > ~/.Xclients $ chmod a+x ~/.Xclients
卸载xfce
$ sudo yum groupremove -y "Xfce" $ sudo yum remove -y libxfce4*
参考:
1 https://www.cnblogs.com/fengyumeng/p/8001774.html
2 https://www.hiroom2.com/2017/07/26/centos-7-xfce-en/
3 https://www.hiroom2.com/2017/10/01/centos-7-xrdp-xfce-en/
4 https://draculaservers.com/tutorials/install-xrdp-centos/
5 https://www.hss5.com/2018/02/07/centos-7-connect-to-xfce-desktop-environment-via-xrdp/
标签:echo enable 远程 ane room lib perm nts oom
原文地址:https://www.cnblogs.com/wolbo/p/12016303.html