On Fri, 05 Oct 2018 07:42:16 +0200 Francis.Montagnac@xxxxxxxx wrote: > Can you try to set Type to simple and thus get rid of the pid stuff. > So try: > [Service] > Type=simple > WorkingDirectory=/home/rgm > User=rgm > Group=rgm > PAMName=login > ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :' > ... This will not work since vncserver go by default in the background. Fortunately it provides a -fg option. Replace thus: ExecStart=/usr/bin/vncserver -autokill %i by: ExecStart=/usr/bin/vncserver -fg %i -autokill is useless with -fg -- francis _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx