On Fri, May 27, 2016 at 03:26:45PM +0100, Tom Hughes wrote:
> On 27/05/16 14:19, Zbigniew Jędrzejewski-Szmek wrote:
> >On Fri, May 27, 2016 at 02:16:45PM +0100, Tom Hughes wrote:
> >>On 27/05/16 14:02, Zbigniew Jędrzejewski-Szmek wrote:
> >>
> >>>It's two lines: [Login]\nKillUserProcesses=no. But please consider
> >>>switching to the new mode of using systemd-run instead.
> >>
> >>How do I run screen with systemd-run?
> >>
> >>I tried "systemd-run --user -t screen" but as soon as I detach from
> >>the screen session it seems to get killed.
> >
> >See 
> >https://www.freedesktop.org/software/systemd/man/systemd-run.html#Examples
> >(example 5).
> 
> Which works fine except that the scope remains even after the screen
> has exited...
Hm, it shouldn't I think. Seems to work fine here. How
are you running the command and what exactly remains behind?

> Well that and it's a pain to alias screen to that
> because you only want to do it when it will be starting a new
> session. That can be solved with a bit of hackery though ;-)

Zbyszek
--
devel mailing list
devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to