Last active
May 9, 2025 10:02
-
-
Save afriza/e23f995f2ab7110eca93870bf4a7d11b to your computer and use it in GitHub Desktop.
systemd VNC Server user service for OrangePi with X11 Server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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