Using Xmanager to connect to remote CentOS 7 via XDMCP
Gnome in CentOS 7 tries to use local hardware acceleration and this becomes a problem when trying to connect remotely using XDMCP. To avoid this problem,you have to use an alternative display manager (other than ‘gdm’) and desktop environment.
This guide explains how you can change the display manager to lightdm from gdm and desktop environment from Gnome to Xfce.
Switching display manager from gdm to lightdm
- Add a new source repository:
- Switch to root account:
- Install lightdm:
- Configure lightdm:
If the lightdm.conf does not exist,create one. - Change the default display manager to lightdm:
- Stop gdm and start lightdm:
- Disable firewall to test connection. It is recommended that you only allow incoming UDP port 177.
Add Xfce and configure as the default desktop environment.
- Add a new source repository:
(If you already installed EPEL repository,this is not required.)
- Install an alternative desktop environment:
- Restart lightdm:
- Connect with Xmanager and select Xfce.