Skip to main content
Version: 3.4.0

Set Remote access on LPU-O

Overview

Xrdp is a remote desktop solution used in Linux operating systems, enabling users to connect to other computers remotely and control the GUI environment. Built on Microsoft's Remote Desktop Protocol (RDP), Xrdp provides secure remote connections between clients and servers.

Using Xrdp allows users to remotely access Linux servers or desktop systems, experiencing the same GUI environment as if they were local. This is particularly useful for system administrators who need to manage servers remotely or perform remote tasks.

Deploy remote access on LPU-O

The steps below describe how to deploy and use XRDP with the LPU-O

  1. Update apt and install xrdp
sudo apt update
sudo apt install xrdp -y
  1. Verify that XRDP is running correctly: sudo systemctl status xrdp
  • The status should be Active (Running)

    Screenshot from 2024-02-02 11-21-56.png
  1. Add user in ssl-cert group sudo adduser {host user name} ssl-cert. By default, when using a LPU-O, the user will be discovery.

  2. Deploy VNC 1) Install vino sudo apt install vino

  3. Enable VNC service 1) Enable the VNC server to start each time the user logs in

mkdir -p ~/.config/autostart
cp /usr/share/applications/vino-server.desktop ~/.config/autostart

2) Configure the VNC server

gsettings set org.gnome.Vino prompt-enabled false
gsettings set org.gnome.Vino require-encryption false

3) Set a password to access the VNC server

In this example, we set the password as "password" as the password, the value can be changed 
gsettings set org.gnome.Vino authentication-methods "['vnc']"
gsettings set org.gnome.Vino vnc-password $(echo -n 'password'|base64)
  1. Reboot sudo reboot

Connect through VNC

The instructions below are for Windows:

  1. Open Remote Desktop Connection and enter host device IP address and port as follows <ip_address>:3389

  2. After Clicking Connect, a login screen will be displayed. Select as follows:

  • Session: vnc-any
  • ip: ip address of the host
  • port: 5900
  • password: the password defined at step 5-3)
  1. Click OK to access the device.
Logo
If you need access, please contact