These instructions require root privileges or the sudo command. Be extra careful when making configurations with root privileges.
$ sudo apt install lightdm
Select 'lightdm' from the screen asking what to use the default display for installation.
Configure the /etc/lightdm/lightdm.conf file as follows. If the file does not exist, create it.
$ sudo service ufw stop
- 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
If you wish to temporarily remove the firewall to identify an issue, you can use the 'iptables -F' command. By default, iptables is not enabled on Ubuntu. Use the iptables -L command to verify whether or not it is running. For more information on the firewall consult your Ubuntu manual or contact Ubuntu technical support.
Restart XDMCP service daemon
$ sudo systemctl disable gdm $ sudo systemctl stop gdm $ sudo systemctl enable lightdm $ sudo systemctl start lightdm
Create Xmanager Session
When using LightDM, there may not be a response to an XDMCP broadcast. Therefore, depending on the Xmanager version, the sessions may not appear on Xmanager's list. If this is the case, try creating a new XDMCP session through the File menu or directly inputting the IP Address or Host Name in the address bar.
Installing the Xfce Desktop Environment
Install a new user desktop environment (Xfce)
$ sudo apt-get update $ sudo apt-get install xubuntu-desktop
Apply the new user desktop environment by restarting the XDMCP daemon
$ sudo service lightdm restart
- After connecting with Xmanager, select the Xfce or Xubuntu session from the login screen