Article 5JQMR Several VNC users on a same machine

Several VNC users on a same machine

by
rapetou
from LinuxQuestions.org on (#5JQMR)
I use tightvnc on a remote Debian 10 machine with a single user with the service configured as this :

root@actarus:/etc/systemd/system# cat vncserver\@.service
[Unit]
Description=Start TightVNC server at startup
After=syslog.target network.target

[Service]
Type=forking
User=jpc
Group=jpc
WorkingDirectory=/home/jpc

PIDFile=/home/jpc/.vnc/%H:%i.pid
ExecStartPre=-/usr/bin/vncserver -kill :%i > /dev/null 2>&1
ExecStart=/usr/bin/vncserver -geometry 1850x1000 :%i
ExecStop=/usr/bin/vncserver -kill :%i

[Install]
WantedBy=multi-user.target
That works fine for a year but now I'd need to add 2 other users and I cannot find any documentation in english or french to help me. Maybe I don't search in the right direction.
This is the reason why I come here to ask some help

Thanks

Jean-Philippelatest?d=yIl2AUoC8zA latest?i=eUb3wLJ4NUc:VpW35pek4d8:F7zBnMy latest?i=eUb3wLJ4NUc:VpW35pek4d8:V_sGLiP latest?d=qj6IDK7rITs latest?i=eUb3wLJ4NUc:VpW35pek4d8:gIN9vFweUb3wLJ4NUc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments