diff options
l--------- | .config/systemd/user/wmii@.service.wants/x0vncserver@.service | 1 | ||||
-rw-r--r-- | .config/systemd/user/x0vncserver@.service | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/.config/systemd/user/wmii@.service.wants/x0vncserver@.service b/.config/systemd/user/wmii@.service.wants/x0vncserver@.service new file mode 120000 index 0000000..bc3be20 --- /dev/null +++ b/.config/systemd/user/wmii@.service.wants/x0vncserver@.service @@ -0,0 +1 @@ +../x0vncserver@.service
\ No newline at end of file diff --git a/.config/systemd/user/x0vncserver@.service b/.config/systemd/user/x0vncserver@.service index 99e897c..476e822 100644 --- a/.config/systemd/user/x0vncserver@.service +++ b/.config/systemd/user/x0vncserver@.service @@ -3,8 +3,5 @@ Description=VNC server for X displays [Service] Type=simple -ExecStart=/bin/bash -l -c 'x0vncserver display=:%I PasswordFile="${HOME}/.vnc/passwd"' +ExecStart=/usr/bin/x0vncserver display=%I PasswordFile=%h/.vnc/passwd Restart=always - -[Install] -WantedBy=default.target |