-
-
Notifications
You must be signed in to change notification settings - Fork 1
Arch Linux Remote Desktop
Mattscreative edited this page Dec 5, 2025
·
2 revisions
Complete beginner-friendly guide to remote desktop on Arch Linux, including VNC, RDP, SSH X11 forwarding, and remote access setup.
Install VNC server:
# TigerVNC
sudo pacman -S tigervnc
# Or TightVNC
sudo pacman -S tightvncSetup VNC:
# Create VNC password
vncpasswd
# Start VNC server
vncserver :1
# Stop
vncserver -kill :1Connect:
# Install client
sudo pacman -S tigervnc
# Connect
vncviewer server:5901Install xrdp:
# Install xrdp
yay -S xrdp
# Enable service
sudo systemctl enable xrdp
sudo systemctl start xrdpFrom Windows:
mstsc
# Enter server IP
Configure SSH:
# Edit SSH config
sudo vim /etc/ssh/sshd_configEnable:
X11Forwarding yes
X11DisplayOffset 10
Restart:
sudo systemctl restart sshdConnect:
# Connect with X11 forwarding
ssh -X user@server
# Run GUI app
firefoxInstall NoMachine:
# Install from AUR
yay -S nomachine
# Or download from nomachine.comSetup:
# NoMachine config
sudo /usr/NX/bin/nxserver --restartCheck firewall:
# Allow VNC port
sudo ufw allow 5901/tcpCheck X11:
# Check X11
echo $DISPLAY
# Test
xeyesThis guide covered VNC, RDP, SSH X11 forwarding, and NoMachine remote desktop setup.
- Arch Linux Networking - Network setup
- Arch Linux Security Configuration - Security
- ArchWiki VNC: https://wiki.archlinux.org/title/TigerVNC
This guide is based on the ArchWiki. For the most up-to-date information, always refer to the official ArchWiki.