On 10/5/18 1:58 AM, francis.montag...@inria.fr wrote:
On Fri, 05 Oct 2018 07:42:16 +0200 francis.montag...@inria.fr 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

Thank you.  I will review this.

I updated bug 1633805

Actually the service is running, no pid file.  At least by the standard name.  I looked in the whole file system, not just under my user.

definitely weird.

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to