OpenSUSE 10.x, 11.0, Suse 8, 9, 10 and Suse Enterprise Server 9.x, 10.x XDMCP Configuration

1. Display manager configuration

  • Change runlevel to 5
    Open/etc/inittab and set the initial runlevel to 5 as following:

    id:5:initdefault:
  • Configure GDM
    If you are using kdm, skip this section and go to 'Configure KDM' section below.

    Open the following GDM configuration file and set Enable to true in the [xdmcp] section and DisallowTCP to false in the [security] section:

    /etc/X11/gdm/gdm.conf (Suse 8, 9, 10, Suse Enterprise Server 9.x, 10.x)
    /etc/gdm/custom.conf (OpenSuse 10.x, 11.0. If the file does not exists, create one)

    [xdmcp]
    Enable=1
    
    [security]
    DisallowTCP=false
  • Configure KDM
    If you are using gdm, you can skip this step.

    Open /etc/X11/gdm/gdm.conf and remove the # character in front of the line:

    #* #any host can get a login window ==>
    * #any host can get a login window


    Then, find the [xdmcp] section in the /etc/opt/kde3/share/config/kdm/kdmrc file and set Enable to true like the following example:

    [xdmcp]
    Enable=true


2. Reboot the remote host


# init 3; init 5


3. Firewall (TCP/UDP Ports) Configuration and start Xmanager

  • Open UDP port 177 from the PC to the remote host direction.
  • Open incoming TCP ports 6000~6010 from the remote host to your PC.