Remote Desktop
This guide covers the remote desktop options available on your Hyprland system.
🔧 Available Remote Desktop Methods
Section titled “🔧 Available Remote Desktop Methods”1. VNC (Recommended for most users)
Section titled “1. VNC (Recommended for most users)”- Server: WayVNC (Wayland-native VNC server)
- Port: 5900
- Clients: Any VNC client (RealVNC, TightVNC, etc.)
- Performance: Good for general use
- Audio: Not supported
2. RDP (Windows clients)
Section titled “2. RDP (Windows clients)”- Server: xrdp
- Port: 3389
- Clients: Windows Remote Desktop Connection
- Performance: Excellent, includes audio
- Limitations: May have some Wayland quirks
3. Moonlight / Vibeshine (best performance, gaming)
Section titled “3. Moonlight / Vibeshine (best performance, gaming)”- Server: Vibeshine — Nonary’s fork of Sunshine, packaged as
pkgs/vibeshine(still enabled via the NixOSservices.sunshineoption for compatibility; seemodules/nixos/remote-desktop.nix) - Protocol: Moonlight / NVIDIA GameStream (hardware-encoded H.264/HEVC/AV1 via NVENC)
- Ports: TCP 47984/47989/47990/48010, UDP 47998–48000
- Web UI:
http://<your-ip>:47989(pairing / configuration) - Clients: Moonlight (desktop, mobile, web)
- Performance: Lowest latency, includes audio — best for gaming and full-desktop use
- Setup / troubleshooting: see Troubleshooting and Moonlight / Vibeshine Troubleshooting
🚀 Quick Start
Section titled “🚀 Quick Start”Using VNC (Easiest)
Section titled “Using VNC (Easiest)”-
Connect from Windows:
- Install RealVNC Viewer or TightVNC
- Connect to:
<your-ip>:5900 - Use your system password
-
Connect from macOS:
- Open Screen Sharing (built-in)
- Connect to:
vnc://<your-ip>:5900 - Use your system password
-
Connect from Linux:
Terminal window vncviewer <your-ip>:5900
Using RDP (Windows Native)
Section titled “Using RDP (Windows Native)”-
From Windows:
- Open Remote Desktop Connection
- Connect to:
<your-ip> - Use your system credentials
-
From Linux:
Terminal window xfreerdp /v:<your-ip> /u:luxus
📋 Connection Information
Section titled “📋 Connection Information”- VNC Port: 5900
- RDP Port: 3389
- Username: luxus
- Password: Your system password
- Virtual Display: 1920x1080@60Hz
🛠️ Advanced Configuration
Section titled “🛠️ Advanced Configuration”Custom Resolution
Section titled “Custom Resolution”To change the VNC resolution, edit the service:
services.wayvnc-virtual-output.serviceConfig.ExecStart = "${pkgs.wlr-output-to-1}/bin/wlr-output-to-1 --mode 2560x1440@60 --output VNC-1";Enable/Disable Services
Section titled “Enable/Disable Services”## Stop VNCsystemctl --user stop wayvnc
## Start VNC manuallysystemctl --user start wayvnc
## Check statussystemctl --user status wayvncFirewall Rules
Section titled “Firewall Rules”Ports are automatically opened, but you can verify:
sudo ufw status🎮 Gaming via Remote Desktop
Section titled “🎮 Gaming via Remote Desktop”For gaming, use Moonlight + Vibeshine (already enabled on lea — see method 3 above):
- Install Moonlight on the client
- Add the host (pair via
http://<your-ip>:47989) - Hardware-encoded (NVENC) streaming with much lower latency than VNC/RDP
Parsec is an alternative if you prefer an account-based hosted service.
🔒 Security Notes
Section titled “🔒 Security Notes”- Both VNC and RDP are accessible from your local network
- For internet access, consider VPN or SSH tunneling
- Always use strong passwords
- Consider fail2ban for brute force protection
🐛 Troubleshooting
Section titled “🐛 Troubleshooting”VNC Issues
Section titled “VNC Issues”## Check if WayVNC is runningsystemctl --user status wayvnc
## Check logsjournalctl --user -u wayvnc
## Restart servicessystemctl --user restart wayvnc-virtual-output wayvncRDP Issues
Section titled “RDP Issues”## Check xrdp statussudo systemctl status xrdp
## Check logssudo journalctl -u xrdp
## Restart xrdpsudo systemctl restart xrdpDisplay Issues
Section titled “Display Issues”If the virtual display doesn’t work:
- Ensure Hyprland is running
- Check
wlr-randroutput - Verify WayVNC can find the virtual output
📱 Mobile Access
Section titled “📱 Mobile Access”Android
Section titled “Android”- VNC: AVNC, RealVNC Viewer
- RDP: Microsoft Remote Desktop
- VNC: VNC Viewer by RealVNC
- RDP: Microsoft Remote Desktop
🔄 Automatic Startup
Section titled “🔄 Automatic Startup”Both VNC and RDP services start automatically when:
- System boots
- Hyprland session begins
- User logs in
No manual configuration needed!