码迷,mamicode.com
首页 > 其他好文 > 详细

centos7 远程桌面连接到xfce桌面

时间:2019-12-10 14:59:12      阅读:232      评论:0      收藏:0      [点我收藏+]

标签: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*

 

 

参考:

https://www.cnblogs.com/fengyumeng/p/8001774.html

https://www.hiroom2.com/2017/07/26/centos-7-xfce-en/

https://www.hiroom2.com/2017/10/01/centos-7-xrdp-xfce-en/

https://draculaservers.com/tutorials/install-xrdp-centos/

https://www.hss5.com/2018/02/07/centos-7-connect-to-xfce-desktop-environment-via-xrdp/

centos7 远程桌面连接到xfce桌面

标签:echo   enable   远程   ane   room   lib   perm   nts   oom   

原文地址:https://www.cnblogs.com/wolbo/p/12016303.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!