Enable XDMCP By Editing Files


On certain linux systems you must manually edit the configuration files. It is recommended to use an automated system such as yast2 or gdmsetup if available.

In this example, we will edit the Suse Linux system

  1. Log in as root
  2. Open /etc/sysconfig/displaymanager

Change DISPLAYMANAGER_REMOTE_ACCESS=”yes”

  1. Open the files /etc/opt/kde3/share/config/kdm/kdmrc and /etc/opt/kde3/share/config/kdm/kdmrc.SuSEconfig
    Find the XDMCP section and set Enable to true
    [Xdmcp]
    Enable=true
    Willing=/etc/X11/xdm/Xwilling
    Xaccess=/etc/X11/xdm/Xaccess

  2. Open /etc/X11/xdm/Xaccess
    Make sure there is no # to the left of the * in the following host line
    * #any host can get a login window

  3. Open /etc/X11/xdm/xdm_config
    Change the DisplayManager.requestPort line to
    DisplayManager.requestPort: 177

  4. Restart the system