Fedora 18~25 XDMCP Configuration

The above versions of Fedora's default user environment, Gnome, uses hardware acceleration to render the graphics. Therefore, when remotely connecting with Xmanager, you may not be able to access the the desktop user environment or if you are able to connect, it will run very slowly.

As such, you will have to use a different user environment than Gnome and a different XDMCP Daemon than gdm.

Use the following instructions to install lightdm and Xfce (or KDE) as the XDMCP Daemon and desktop user environment to connect to Fedora 18, 19, or 20. These instructions require root privileges. Be extra careful when making configurations with root privileges.


User Desktop Environment Configuration

  1. Install New Desktop User Environment (Choose one or the other)

    Xfce Installation (lightdm will be installed as well)

    # yum groupinstall xfce


    KDE Installation (kdm will be installed as well)

    # yum groupinstall kde-desktop
  2. XDMCP Configuration

    lightdm Configuration

    Configure the /etc/lightdm/lightdm.conf file as follows. 
    (If the file does not exist, create it.)

    [XDMCPServer] 
    enabled=true


    kdm Configuration

    Configure the /etc/kde/kdm/kdmrc file as follows.
    (If the file does not exist, create it.)

    [Xdmcp]
    Enable=true
  3. Apply and Restart XDMCP Service Daemon

    # systemctl disable gdm ; systemctl enable lightdm(or kdm)
    
    # systemctl stop gdm
    # systemctl start lightdm(or kdm)
  4. Temporarily Disable Firewall to Test Configuration

    # systemctl stop firewalld.service


    Open UDP port 177 from the PC to the remote host direction. For further firewall support, consult your OS manual.

  5. Connect with Xmanager
    - Select Xfce or KDE from the login screen