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