Skip to content

Instantly share code, notes, and snippets.

@afriza
Last active May 9, 2025 10:02
Show Gist options
  • Save afriza/e23f995f2ab7110eca93870bf4a7d11b to your computer and use it in GitHub Desktop.
Save afriza/e23f995f2ab7110eca93870bf4a7d11b to your computer and use it in GitHub Desktop.
systemd VNC Server user service for OrangePi with X11 Server
# place this file at $HOME/.config/systemd/user/vnc-server.service
# then run `systemctl --user enable --now vnc-server`
[Unit]
Description=VNC server for XFCE
After=graphical-session.target
[Service]
ExecStart=/usr/bin/x0vncserver -rfbauth /home/orangepi/.vnc/passwd
Restart=on-failure
[Install]
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment