Choose a desktop and a remote protocol
| Desktop | Memory use | Notes |
|---|---|---|
| XFCE | Low | Light, stable and works well over xrdp; the usual choice for servers |
| LXQt | Very low | Even lighter; fewer features |
| MATE | Low to medium | Traditional layout, also works well remotely |
| GNOME | High | Ubuntu's default desktop; heavier and less suited to remote sessions on a VPS |
| Protocol | Client | Best for |
|---|---|---|
| RDP (xrdp) | Built into Windows; Microsoft apps for macOS, iOS and Android | Most users; familiar and efficient |
| VNC (TigerVNC) | Any VNC viewer | Simple setups; always tunnel it, as VNC encryption is weak or absent |
| X2Go or NoMachine | Their own clients | Good performance on slow links |

Set up a Linux VPS with GUI: install XFCE and xrdp on Ubuntu
Log in over SSH as a user with sudo rights, then:
sudo apt update
sudo apt install -y xfce4 xfce4-goodies xrdp
echo xfce4-session > ~/.xsession
sudo adduser xrdp ssl-cert
sudo systemctl enable --now xrdp
sudo systemctl status xrdp
The ~/.xsession line tells xrdp to start XFCE for your user; repeat it for every user who will log in graphically. Adding xrdp to the ssl-cert group lets it read the certificate used to encrypt connections. If the installer asks which display manager to use, either choice works for xrdp.
Each user needs a password for the graphical login, even if SSH uses keys only. Set one with sudo passwd username.
A few useful additions once the desktop works:
- A browser:
sudo apt install -y firefox(on recent Ubuntu releases this installs the snap package). - Clipboard and drive sharing: xrdp supports copy and paste with your local machine out of the box; drive redirection can be enabled in your RDP client.
- Keyboard layout: if keys are wrong, set the layout in XFCE's keyboard settings.
The xrdp project documentation covers advanced options such as session reconnection and certificate configuration.
Connect securely: use an SSH tunnel
Port 3389 open to the internet attracts constant password-guessing. The safest approach is to keep it closed and reach it through SSH, which is already secured with your keys:
# On your own computer
ssh -L 3390:localhost:3389 user@203.0.113.25
Leave that window open, then connect Remote Desktop to localhost:3390. The session travels inside the encrypted SSH connection, and the VPS firewall only needs port 22 open. If you prefer to allow RDP directly, restrict it to your own IP address:
sudo ufw allow from 198.51.100.7 to any port 3389 proto tcp
Our RDP security guide explains why open RDP is risky, and two-factor authentication for SSH protects the tunnel itself.
How much RAM and CPU a GUI needs
| Use | Suggested RAM | Suggested vCores |
|---|---|---|
| Light desktop, terminal and file manager | 4 GB | 2 |
| Desktop plus a web browser with a few tabs | 8 GB | 2–4 |
| Several users, or browser automation and IDEs | 16 GB or more | 4 or more |
A VPS has no graphics card, so the desktop is drawn in software. Office work, browsers and admin tools run well; video playback and 3D applications do not.
Common problems and fixes
| Problem | Likely cause and fix |
|---|---|
| Black screen after login | The user is also logged in to a local desktop session, or ~/.xsession is missing. Log out other sessions and recreate the file. |
| Connection refused | xrdp not running (systemctl status xrdp) or the firewall blocks the port. With a tunnel, check the SSH window is still open. |
| Login screen appears then closes | Check /var/log/xrdp-sesman.log; often a desktop not installed for that user. |
| Very slow session | Too little RAM or a heavy desktop; switch to XFCE, lower colour depth in the RDP client, and check memory with free -h. |
| "Authentication required" pop-ups | Background services asking for permissions; usually harmless. Dismiss them or configure the specific service. |
For general server issues, our VPS troubleshooting guide covers memory, disk and service problems, and optimising an Ubuntu VPS helps keep the desktop responsive.
When a GUI is the wrong tool
A desktop adds packages to update and memory to pay for. For running websites, databases or bots, the terminal plus a web-based panel is leaner and safer. If what you really need is a Windows desktop for Windows-only software, a Windows RDP server is simpler; and for security research with Kali Linux, see our guide to Kali Linux RDP hosting.
Why developers choose SkyRain Cloud VPS
A desktop on a VPS needs memory and a fast disk. SkyRain Cloud Intel VPS plans include:
- KVM virtualization. Your own kernel and allocated vCores, so you can tune the system the way this guide describes.
- Intel Xeon Platinum 8269CY hosts. Server-class Cascade Lake CPUs with DDR4 ECC memory.
- NVMe SSD storage on every plan, which keeps I/O wait low for databases and builds.
- Full root access to install and configure whatever your stack needs.
- Unmetered 1 Gbps port in India, close to your users.
- Simple billing and real support. Monthly billing in rupees with UPI, plus 24/7 tickets, WhatsApp and Discord.
Frequently Asked Questions
Can I use a GUI on a Linux VPS?
Which desktop is best for a Linux VPS?
How do I connect to a Linux VPS desktop from Windows?
How much RAM does a Linux VPS with GUI need?
Is xrdp secure?
Why do I get a black screen with xrdp?
Conclusion
Setting up a Linux VPS with GUI access takes a few minutes: install XFCE and xrdp, point xrdp at the XFCE session, and connect with the Remote Desktop app you already have. Keep port 3389 closed and use an SSH tunnel or an IP restriction, give the server enough memory for the desktop and browser, and you have a responsive remote Linux desktop that is available from anywhere.
For a VPS in India with room for a desktop, see our Intel VPS plans.
SkyRain Cloud Intel Xeon VPS Plans
KVM VPS on Intel Xeon Platinum 8269CY (up to 3.80 GHz Turbo) with DDR4 ECC memory, NVMe SSD, full root access and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — Intel | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Business websites, small apps, scheduled jobs and bots | Order |
| VPS 2 — Intel | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,169/month | Business software, mid-size databases, several sites on one server | Check stock |
| VPS 3 — Intel | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,249/month | ERP/CRM stacks, heavier databases, multiple production apps | Check stock |
| VPS 4 — Intel | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,299/month | High-memory workloads and consolidated production servers | Check stock |
Prices are monthly in INR as listed on the SkyRain Cloud store (verified 2026-11-23). Live stock and final price are shown at checkout.