Xmanager连接CentOS 7远程桌面


1.安装epel源

#yum install epel-release

2.安装 lightdm

# yum install lightdm

3、配置 lightdm,如果不存在,则创建

# vi /etc/lightdm/lightdm.conf 

内容如下:

[XDMCPServer] 

enabled=true 

port=177

4、修改默认 display manager 为 lightdm

# systemctl disable gdm 
Removed symlink /etc/systemd/system/display-manager.service.
# systemctl enable lightdm
Created symlink from /etc/systemd/system/display-manager.service to /usr/lib/systemd/system/lightdm.service.

5、

# systemctl start lightdm

6、

# yum groupinstall xfce

7、关闭防火墙,或自行开启177端口

#systemctl stop firewalld.service

8、xmanager选项

打开xstart登陆,配置如下图:
命令:/usr/bin/xfce4-session

 

9、点运行登陆,要等一会

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM