[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-list
Subject:    Re: VNC alternatives
From:       Robert Moskowitz <rgm () htt-consult ! com>
Date:       2018-10-05 15:07:28
Message-ID: cfa8a1b5-79a8-957f-5136-fc8afcfa9ec5 () htt-consult ! com
[Download RAW message or body]



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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic