aboutsummaryrefslogtreecommitdiff
path: root/.config/systemd
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-01-10 05:21:22 -0500
committertdro <tdro@users.noreply.github.com>2020-01-10 05:21:22 -0500
commit6800a643d8e7cf880bcfe3588a2414ea857c5dd7 (patch)
tree61a0a67279026320f6fb4862d8fe8d77a957194f /.config/systemd
parent901b190e3267f408d05d4d50bc7a56d72c925a2c (diff)
downloaddotfiles-6800a643d8e7cf880bcfe3588a2414ea857c5dd7.tar.gz
dotfiles-6800a643d8e7cf880bcfe3588a2414ea857c5dd7.tar.bz2
dotfiles-6800a643d8e7cf880bcfe3588a2414ea857c5dd7.zip
.config/systemd/user: Add x11vnc
Diffstat (limited to '.config/systemd')
-rw-r--r--.config/systemd/user/x11vnc.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/systemd/user/x11vnc.service b/.config/systemd/user/x11vnc.service
new file mode 100644
index 0000000..000e711
--- /dev/null
+++ b/.config/systemd/user/x11vnc.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Remote desktop service (VNC)
+After=syslog.target network.target
+
+[Service]
+Type=simple
+Environment=DISPLAY=:0
+ExecStart=x11vnc -usepw -nowf -repeat -forever -noxrecord -auth %h/.Xauthority
+Restart=always
+RestartSec=1s
+StartLimitIntervalSec=0
+
+[Install]
+WantedBy=default.target