dotfiles/etc/systemd/system/x11vnc.service

14 lines
264 B
Desktop File

[Unit]
Description=VNC Server for X11
Requires=graphical.target
After=graphical.target
[Service]
Type=simple
User=kan
ExecStart=/usr/bin/x11vnc -noxdamage -rfbauth /home/kan/.vnc/passwd -display :0 -forever
Restart=on-failure
[Install]
WantedBy=graphical.target