XDMCP-RDP-Ubuntu

For Ubuntu-16.04-Desktop-Server
-------------------------------------------------------------

# cat /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
[SeatDefaults]
user-session=ubuntu
xserver-allow-tcp=true
greeter-show-remote-login=true

allow-guest=false
[XDMCPServer]
enabled=true
port=177

#
# reboot
# netstat -aun|grep 177


For Ubuntu-14.04-Desktop-Server
-------------------------------------------------------------

# cat /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
[SeatDefaults]
user-session=ubuntu
xserver-allow-tcp=true
greeter-show-remote-login=true
[XDMCPServer]
enabled=true
port=177

#

# reboot
# netstat -aun|grep 177


For Ubuntu-12.04-Desktop
----------------------------------------------------


# vi /etc/lightdm/lightdm.conf

[SeatDefaults]
user-session=ubuntu
greeter-session=unity-greeter
allow-guest=false
[XDMCPServer]
enabled=true

#

# reboot
# netstat -aun|grep 177


For Xubuntu-14.04-Desktop-Server
--------------------------------------------------------------


# cat /etc/lightdm/lightdm.conf.d/10-xubuntu.conf
[SeatDefaults]
user-session=xubuntu
xserver-allow-tcp=true
greeter-show-remote-login=true
[XDMCPServer]
enabled=true
port=177

#

# reboot
# netstat -aun|grep 177


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

Install Remmina/TSClient , and connect using GUI

# apt-get 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

 # apt install xserver-xephyr

# Xephyr :1 -query 192.168.1.200 -geometry 1366x768
# Xephyr -query 192.168.1.200 :1 -screen 1200x600
# Xephyr -query 192.168.1.200 :1 -fullscreen


# 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