On 07/01/16 23:14, Martin Novák wrote:
> I've created this (toy) user service for running desktop of differnt
> user
I don't think a user service is an appropriate tool for this job. If you
have sudo privileges, you can use a system service, or perhaps even a
user service that runs as the other
On 01/08/2016 11:27 AM, Simon McVittie wrote:
> On 07/01/16 23:14, Martin Novák wrote:
>> I've created this (toy) user service for running desktop of differnt
>> user
>
> I don't think a user service is an appropriate tool for this job. If you
> have sudo privileges, you can use a system service,
Hello,
I've created this (toy) user service for running desktop of differnt
user:
[Service]
ExecStart=/bin/sudo -u testuser DISPLAY=:7 xfce4-session
The problem is that after starting this service, the following does not
work:
$ systemctl --user stop testuser-desktop
because the UID