XDMCP-RDP-CentOS

For CentOS-6.5-Desktop
----------------------------------------------

# yum install xorg-x11-xdm
# vi /etc/X11/xdm/Xaccess

...
*                                       #any host can get a login window
...

#

# vi /etc/X11/xdm/xdm-config

...
!DisplayManager.requestPort:    0

#

GDM login manager configuration:

# vi /etc/gdm/custom.conf
...
[security]
DisallowTCP=false
[xdmcp]
Enable=true
...

#

[Potential Pitfall]: RHEL6 users may find that the remote X-server has a blank screen when trying to start a remote XDMCP desktop.
This may require a change to the default sshd configuration.Edit file: /etc/ssh/sshd_config
be sure the following three lines are uncommented:

# vi /etc/ssh/sshd_config
 ...
    X11Forwarding yes
    X11DisplayOffset 10
    X11UseLocalhost yes
 ...

#

#  service sshd restart



On Client
================


Install Remmina/TSClient , and connect using GUI

# yum install remmina-*
# remmina
     
                     --->New
Profile   
    Name        --->    XDMCP-Server
    Protocol    --->    XDMCP - X Remote Session
Basic   
    Server            --->    192.168.1.200:1
    Resolution    --->    Use Client Res
    Clolor Depth    ---> Default


OR using Command

# Xephyr :1 -query 192.168.1.200 -geometry 1366x768
# Xnest :1 -query 192.168.1.200
# X :1 -listen tcp -query 192.168.1.200


Xnet-GUI-Client
------------------------------

ServerName    --->        :1  (Use PortNumber Only)
Options        --->        192.168.1.209 -listen tcp