Install and Configure VNC Server on Windows VPS and Windows VPS with RDS CAL & RemoteApp
This guide covers the installation and configuration of a VNC server on Windows VPS (Debian 12, Ubuntu 24.04, RHEL 9, AlmaLinux 9) using TigerVNC, and setting up Remote Desktop Services (RDS) with RemoteApp on a Windows VPS. It includes secure connection methods via SSH tunneling for Linux and RDP for Windows. For a reliable Windows VPS with RDS CALs, visit Netcloud24.
Author: Łukasz Bodziony | Website: Windows VPS
Part 1: Windows VPS VNC Server Installation and Configuration
Prerequisites
- Windows VPS with root or sudo access.
- Desktop environment (e.g., XFCE for lightweight performance or GNOME).
- VNC client on your local machine (e.g., RealVNC, TightVNC Viewer).
- SSH client for tunneling (e.g., PuTTY or
ssh).
Distribution Comparison
| Distribution | Package Manager | Recommended Desktop | Firewall Tool |
|---|---|---|---|
| Debian 12 | apt | XFCE | ufw |
| Ubuntu 24.04 | apt | XFCE | ufw |
| RHEL 9 | dnf | GNOME | firewalld |
| AlmaLinux 9 | dnf | XFCE | firewalld |
1. Debian 12
- Update system:
sudo apt update && sudo apt upgrade -y - Install desktop environment:
sudo apt install tasksel -y sudo tasksel install xfce-desktop - Install TigerVNC:
sudo apt install tigervnc-standalone-server tigervnc-common -y - Set VNC password:
vncpasswdFollow prompts to set a password (6-8 characters).
- Configure VNC:Create or edit
~/.vnc/configwith:session=xfce geometry=1280x800 localhost alwaysshared - Assign user to VNC display:Edit
/etc/tigervnc/vncserver.usersas root and add::1=usernameReplace
usernamewith your user. - Start and enable VNC service:
sudo systemctl start tigervncserver@:1 sudo systemctl enable tigervncserver@:1 - Configure firewall:
sudo ufw allow 5901/tcp sudo ufw reloadNote: For security, use SSH tunneling instead of opening port 5901.
2. Ubuntu 24.04
Follow the same steps as for Debian 12, replacing the desktop installation with:
sudo apt install xfce4 xfce4-goodies -y
3. RHEL 9
- Update system:
sudo dnf update -y - Install desktop environment:
sudo dnf groupinstall "Server with GUI" -y - Install TigerVNC:
sudo dnf install tigervnc-server -y - Follow steps 4–8 from Debian 12, replacing
tigervncserverwithvncserverin systemctl commands and usingsession=gnomein~/.vnc/config. - Configure firewall:
sudo firewall-cmd --permanent --add-port=5901/tcp sudo firewall-cmd --reloadNote: Prefer SSH tunneling for secure connections.
4. AlmaLinux 9
Follow RHEL 9 steps, but install XFCE desktop with:
sudo dnf groupinstall "Xfce" -y
Use session=xfce in ~/.vnc/config.
Connecting to Linux VNC Server
- Create SSH tunnel:
ssh -L 5901:localhost:5901 -N -f username@your-vps-ipReplace
usernameandyour-vps-ip. - Connect with VNC client:Use
localhost:5901in your VNC client and enter the VNC password.
Part 2: Windows VPS with RDS CAL & RemoteApp
For a pre-configured Windows VPS with RDS CALs and RemoteApp, consider Netcloud24. Their solutions are ready to use in 5 minutes with included RDS CALs for seamless teamwork.
Promotion: Netcloud24 offers Windows VPS with RDS CALs for 5–25 users, starting at €92.24/month. Enjoy Intel Xeon Gold CPUs, NVMe SSDs, automated backups, VPN support, and 24/7 technical support. Visit Netcloud24 for more details.
Windows VPS Plans by Netcloud24
| Plan | Price (Monthly) | vCPU | RAM | SSD | RDS CALs |
|---|---|---|---|---|---|
| RDS X1 | €92.24 | 4 | 8 GB | 100 GiB NVMe | 5 |
| RDS X2 | €179.57 | 8 | 16 GB | 200 GiB NVMe | 5 |
| RDS X3 | €275.52 | 8 | 32 GB | 400 GiB NVMe | 10 |
| RDS X4 | €405.89 | 8 | 64 GB | 1 TB NVMe | 25 |
Installation and Configuration
- Connect to Windows VPS:Use an RDP client (e.g., Microsoft Remote Desktop) to connect to your VPS IP with admin credentials from Netcloud24.
- Install RDS Role:Open Server Manager, select
Add roles and features, and install:- Remote Desktop Services
- Remote Desktop Session Host
- Remote Desktop Licensing
Complete the wizard to install.
- Activate RDS Licensing:In Server Manager, go to
Remote Desktop Services > RD Licensing, activate the server, and install RDS CALs (included with Netcloud24 plans). Select Per User or Per Device CALs. - Configure RemoteApp:In Server Manager, go to
Remote Desktop Services > Collections, create a new collection, and publish applications (e.g., Comarch, Symfonia). - Configure Firewall:
netsh advfirewall firewall add rule name="Allow RDP" dir=in action=allow protocol=TCP localport=3389Note: Netcloud24 provides pre-configured firewall and VPN options for enhanced security.
- Connect to RemoteApp:Access via RD Web Access (
https://your-vps-ip/RDWeb) or configure RDP files for users. Enter credentials and select published apps.
Netcloud24 Features
- Backups: Automated 7-day retention in a separate data center.
- Dedicated Environment: Supports accounting systems like Comarch and Symfonia.
- VPN: L2TP and OpenVPN with integrated firewall and UTM.
- Technical Support: 24/7 support for setup and optimization.
- Compliance: Meets GDPR, KRI, and medical sector standards.
- Performance: Intel Xeon Gold CPUs, NVMe SSDs, ECC DDR4 RAM.
Why Choose Netcloud24? Get a ready-to-use Windows VPS RDS server with instant deployment and scalable resources. Visit Netcloud24 for plans starting at €92.24/month.
Troubleshooting
- Linux VNC Issues: Check logs with
journalctl -u tigervncserver@:1orjournalctl -u vncserver@:1. Verify desktop and VNC config. - Windows RDS Issues: Ensure RDS CALs are activated in RD Licensing Manager. Check firewall and RD Web Access URL.
- Connection Problems: Verify SSH tunnel (Linux) or RDP port 3389 (Windows). Contact Netcloud24 support.
Security Recommendations
- Use strong passwords for VNC, SSH, and RDS.
- Enable SSH tunneling for Linux and VPN for Windows RDS.
- Apply regular system updates and security patches.
- Restrict firewall access to trusted IPs.