Skip to main content

Prerequisites

  • A running Ubuntu Server
  • Internet access
  • Root or sudo privileges

Step 1: Update System Packages

Update the package index and upgrade existing packages:
sudo apt-get update && sudo apt-get upgrade -y

Step 2: Install Ubuntu Desktop and Utilities

Install the Ubuntu Desktop environment along with some common utilities:
sudo apt-get install ubuntu-desktop firefox stacer mmv -y
Installed packages:
  • ubuntu-desktop – Full desktop environment
  • firefox – Web browser
  • stacer – System optimization and monitoring tool
  • mmv – Advanced file renaming utility

Step 3: Create a New User and Grant Sudo Access

Create a new user:
sudo adduser docuser
Add the user to required groups:
sudo usermod -aG sudo,adm docuser

Step 4: Install XRDP (Remote Desktop)

XRDP allows you to connect to the Ubuntu Desktop remotely using RDP.

Get the Latest XRDP Installer

Always download the latest XRDP installer from the official c-nergy website: 🔗 https://c-nergy.be/products.html Choose the latest xrdp-installer-<version>.zip from the page.

Download XRDP Installer (Example)

cd ~
wget https://c-nergy.be/downloads/xRDP/xrdp-installer-1.5.4.zip
💡 Tip:
Replace 1.5.4 with the latest version available on the c-nergy products page.

Extract and Prepare Installer

unzip xrdp-installer-1.5.4.zip
chmod +x xrdp-installer-1.5.4.sh

Run the Installer

./xrdp-installer-1.5.4.sh

Step 5: Install Snap Store (Optional)

If you want GUI-based app installation:
sudo snap install snap-store

Step 6: Reboot the System

Reboot to apply all changes:
sudo reboot now

Step 7: Allow Incoming Connections (Firewall)

If iptables is enabled, allow incoming connections:
sudo iptables -I INPUT -j ACCEPT
⚠️ Note:
This rule allows all incoming traffic. For production systems, configure firewall rules more securely (for example, allow only port 3389 for XRDP).

Accessing the Desktop

After reboot:
  • Use an RDP client (Windows Remote Desktop / Remmina / Microsoft Remote Desktop)
  • Connect to:
    <server-ip>:3389
    
  • Login using the created user (docuser)