Hey
This commit is contained in:
parent
84967eac60
commit
7a7a3b68f4
8 changed files with 65 additions and 10 deletions
13
config/systemd/user/x0vncserver.service
Normal file
13
config/systemd/user/x0vncserver.service
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=Remote desktop service (VNC)
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
# wait for Xorg started by ${USER}
|
||||
ExecStartPre=/bin/sh -c 'while ! pgrep -U "$USER" Xorg; do sleep 2; done'
|
||||
ExecStart=/usr/bin/x0vncserver -rfbauth /home/${USER}/.vnc/passwd
|
||||
# or login with your username & password
|
||||
#ExecStart=/usr/bin/x0vncserver -PAMService=login -PlainUsers=${USER} -SecurityTypes=TLSPlain
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
Loading…
Add table
Add a link
Reference in a new issue