Xmanager Enterprise 4 配置 centos7

来源:互联网 发布:淘宝店铺流量来源有 编辑:程序博客网 时间:2024/05/24 00:50
CentOS 7 requires direct access to local graphic hardware and this causes problem when you are connecting via XDMCP.

To connect to remote CentOS, you cannot use the default gdm and Gnome desktop environment. Here is how you can switch to lightdm and xfce:

*You need root user rights to complete this guide.

Switching XDM from gdm to lightdm

1. Install lightdm

# yum install ftp://ftp.sunet.se/pub/Linux/distributions/fedora/epel/7/7/ppc64/epel-release-7-0.2.noarch.rpm

# yum install lightdm

2. Configure lightdm
# vi /etc/lightdm/lightdm.conf

*If the file does not exist, create a new file.

[XDMCPServer]
enabled=true

3. Change the Display Manager to lightdm

# systemctl disable gdm ; systemctl enable lightdm

4. Start lightdm

# systemctl start lightdm

5. Disable firewall.
# systemctl stop firewalld.service

* If you do not want to disable firewall, you can just allow incoming UDP port 177.


Install Xfce

1. Add repository
# yum install ftp://ftp.sunet.se/pub/Linux/distributions/fedora/epel/7/7/ppc64/epel-release-7-0.2.noarch.rpm

2. Install Xfce

# yum groupinstall xfce

If you prefer KDE, you can use KDE instead of Xfce.

- Install KDE
# yum groupinstall kde-desktop

3. Restart lightdm

# systemctl restart lightdm

4. Use Xmanager to login.
0 0
原创粉丝点击