LightDM headless XClient setup

Note: The following configuration is only to be used within a trusted network only, as it is not secure

Requisites:

Linux host alpha (our example) with X11 environment (XServer)

Linux host bravo (our example) with LightDM installed (XClient)

Objectives:

Remotely connect to LightDM on Linux XClient from XServer

Disable XClient display (optional)

Edit

/etc/lightdm/lightdm.conf

on the XClient (bravo) and add the following to the appropriate sections:

[LightDM]
start-default-seat=false

[SeatDefaults]
xserver-allow-tcp=true

[XDMCPServer]
enabled=true

On host bravo restart the lightdm service, by running either:

 service lightdm restart

or

invoke-rc.d lightdm restart

or any other way that your distro provides to restart a service

On host alpha run

X :1 -query bravo

and you should get a LightDM graphical login screen for bravo