Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

These instructions require root privileges or the sudo command. Be extra careful when making configurations with root privileges.


XDMCP Configuration

  1. Install LightDM

    Code Block
    $ sudo apt install lightdm


    Select 'lightdm' from the screen asking what to use the default display for installation.


  2. LightDM Configuration
    Configure the /etc/lightdm/lightdm.conf file as follows. If the file does not exist, create it.

    Code Block
    [XDMCPServer]
    enabled=true



  3. Firewall Configuration

    Code Block
    $ sudo service ufw stop


    Panel
    • 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.


  4. Restart XDMCP service daemon

    Code Block
    $ sudo systemctl disable gdm
    $ sudo systemctl stop gdm
    $ sudo systemctl enable lightdm
    $ sudo systemctl start lightdm



  5. 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

  1. Install a new user desktop environment (Xfce)

    Code Block
    $ sudo apt-get update
    $ sudo apt-get install xubuntu-desktop



  2. Apply the new user desktop environment by restarting the XDMCP daemon

    Code Block
    $ sudo service lightdm restart



  3. After connecting with Xmanager, select the Xfce or Xubuntu session from the login screen

...