systemd vnc unit

This commit is contained in:
thek4n 2024-05-21 23:59:24 +03:00
parent 93249c69ee
commit ee2b3481cf

View File

@ -3,6 +3,7 @@ Description=VNC Server for X11
Requires=default.target Requires=default.target
After=default.target After=default.target
# x11vnc -storepasswd ~/.vnc/passwd
[Service] [Service]
Type=simple Type=simple
ExecStartPre=/bin/sleep 10 ExecStartPre=/bin/sleep 10
@ -10,4 +11,4 @@ ExecStart=/usr/bin/x11vnc -noxdamage -rfbauth %h/.vnc/passwd -display :0 -foreve
Restart=on-failure Restart=on-failure
[Install] [Install]
WantedBy=default.target WantedBy=default.target