Enable GDM remote logins

From Wiki
Jump to: navigation, search

GDM configuration

Edit file: Red Hat Enterprise 5, CentOS 5: /etc/gdm/custom.conf Note: RHEL5 only uses this file as XDM is no longer supported. Add two enties to the existing categories:



Restart X.

init 3
init 5

Remote X server access for MS/Windows

Open Source MS/Windows PC X-Windows server software

Xming - [instructions] - X-Windows for MS/Windows - My preferred choice! Cygwin/X: See the YoLinux Tutorial - Linux for a Microsoft Windows Environment and Network for Cygwin configuration.

Commercial MS/Windows PC X-Windows server software

Hummingbird.com Exceed Attachmate WRQ: Reflection X Starnet.com LabF.com

Remote X server access for Linux

Use the Xnest or X command to connect.

Xnest -query computer-node-name -geometry 1280x1024 :1 X -query node-name -geometry 1024x768 :1

[Potential Pitfall]: If your get the following error message:

Fatal server error:
Server is already active for display 0
This means you forgot the ":1" at the end of the command and it defaulted to :0 which is your current desktop window thus causing a conflict.
  • Red Hat / Fedora / CentOS distributions require package xorg-x11-server-Xnest

Make sure the system firewall rules allow XDMCP protocol to pass. The following ports and protocols must be able to pass through the firewall.

  • UDP: 177 (XDMCP)
  • TCP: 6000-6005 (X11 protocol)
  • TCP: 7100 (xfs: X font server)

See http://www.yolinux.com/TUTORIALS/GDM_XDMCP.html for more info.