Skip to content

Linux VPS & VPS Windows Setup Guide | NetCloud24 VNC Server on Debian 12

Cloud Infrastructure Expert
Linux VPS & VPS Windows Setup Guide | NetCloud24 VNC Server on Debian 12

 

 

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

  1. Update system:
    sudo apt update && sudo apt upgrade -y
  2. Install desktop environment:
    sudo apt install tasksel -y
    sudo tasksel install xfce-desktop
  3. Install TigerVNC:
    sudo apt install tigervnc-standalone-server tigervnc-common -y
  4. Set VNC password:
    vncpasswd

    Follow prompts to set a password (6-8 characters).

  5. Configure VNC:Create or edit ~/.vnc/config with:
    session=xfce
    geometry=1280x800
    localhost
    alwaysshared
  6. Assign user to VNC display:Edit /etc/tigervnc/vncserver.users as root and add:
    :1=username

    Replace username with your user.

  7. Start and enable VNC service:
    sudo systemctl start tigervncserver@:1
    sudo systemctl enable tigervncserver@:1
  8. Configure firewall:
    sudo ufw allow 5901/tcp
    sudo ufw reload

    Note: 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

  1. Update system:
    sudo dnf update -y
  2. Install desktop environment:
    sudo dnf groupinstall "Server with GUI" -y
  3. Install TigerVNC:
    sudo dnf install tigervnc-server -y
  4. Follow steps 4–8 from Debian 12, replacing tigervncserver with vncserver in systemctl commands and using session=gnome in ~/.vnc/config.
  5. Configure firewall:
    sudo firewall-cmd --permanent --add-port=5901/tcp
    sudo firewall-cmd --reload

    Note: 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

  1. Create SSH tunnel:
    ssh -L 5901:localhost:5901 -N -f username@your-vps-ip

    Replace username and your-vps-ip.

  2. Connect with VNC client:Use localhost:5901 in 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

  1. Connect to Windows VPS:Use an RDP client (e.g., Microsoft Remote Desktop) to connect to your VPS IP with admin credentials from Netcloud24.
  2. 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.

  3. 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.
  4. Configure RemoteApp:In Server Manager, go to Remote Desktop Services > Collections, create a new collection, and publish applications (e.g., Comarch, Symfonia).
  5. Configure Firewall:
    netsh advfirewall firewall add rule name="Allow RDP" dir=in action=allow protocol=TCP localport=3389

    Note: Netcloud24 provides pre-configured firewall and VPN options for enhanced security.

  6. 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@:1 or journalctl -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.
Guide created by Łukasz Bodziony on August 13, 2025. Visit Windows VPS for more resources. Explore Windows VPS solutions at Netcloud24.

 

Explore more

More on this topic

Netcloud24
Netcloud24
Cloud Infrastructure Expert · NetCloud24
In this section

More in Linux

Visit category

How to Set up PostgreSQL Replication on Debian 11

  Introduction PostgreSQL is a powerful, open-source object-relational database system that offers advanced features for database management. Setting up replication is essential for ensuring high availability and load…

Comments are closed.