Red Hat(Old version): Red Hat 7, 8, 9 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 the Enable entry to true in the [xdmcp] section:

    /etc/X11/gdm/gdm.conf (Red Hat 7, 8, 9, RHEL 3)
    /etc/gdm/custom.conf (RHEL 4, 5, 6, If the file does not exists, create one)

    [xdmcp]
    Enable=true
  • Configure KDM
    If you are using gdm, you can skip this step.

    1. If you are using RHEL 4 or later release, skip this step. Otherwise, open /etc/X11/xdm/xdm-config and comment out the "requestPort" option as following:

    DisplayManager.requestPort: 0
    ==>
    !DisplayManager.requestPort: 0


    2. Open /usr/share/config/kdm/Xaccess and remove the initial "#" character for the following line:

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


    3. Open /usr/share/config/kdm/kdmrc and set the Enable entry to true in the [xdmcp] section as following.

    [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.