xmanager连接linux7桌面,使用Xmanager连接CentOS 7远程桌面

[root@cdhnode1 Desktop]# yum install lightdm -y

[root@cdhnode1 Desktop]# vi /etc/lightdm/lightdm.conf

修改内容如下:

[XDMCPServer]

enabled=true

port=177

[SeatDefaults]

user-session=/usr/bin/startxfce4

greeter-session=lightdm-gtk-greeter

greeter-hide-users=true

[root@cdhnode1 Desktop]# systemctl disable gdm

Removed symlink /etc/systemd/system/display-manager.service.

[root@cdhnode1 Desktop]# systemctl enable lightdm.service

Created symlink from /etc/systemd/system/display-manager.service to /usr/lib/systemd/system/lightdm.service.

[root@cdhnode1 Desktop]# systemctl start lightdm.service

[root@cdhnode1 Desktop]# yum groupinstall xfce -y

[root@cdhnode1 Desktop]# cd /usr/share/xsessions/ && ls

gnome-classic.desktop gnome-custom-session.desktop gnome.desktop xfce.desktop

[root@cdhnode1 xsessions]# mkdir back && mv gnome* back && ls

back xfce.desktop

[root@cdhnode1 xsessions]# init 3 && init 5

PolicyKit daemon disconnected from the bus.

We are no longer a registered authentication agent.

PolicyKit daemon disconnected from the bus.

We are no longer a registered authentication agent.

PolicyKit daemon reconnected to bus.

Attempting to re-register as an authentication agent.

We are now a registered authentication agent.

22c10b6b8c1f9900532b3c0e61f99a4b.png

参考教程:

1.http://www.linuxidc.com/Linux/2017-03/142011.htm

2.https://www.zybuluo.com/wuzhimang/note/392271

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值