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、点运行登陆,要等一会

 

posted @ 2018-05-03 17:21  Gringer  阅读(3552)  评论(0)    收藏  举报