[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Session dies after logout
From: |
Lluís Vilanova |
Subject: |
Re: Session dies after logout |
Date: |
Thu, 02 Jun 2016 21:52:34 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Axel Beckert writes:
> Hi,
> On Thu, Jun 02, 2016 at 05:35:23PM +0100, Ed Neville wrote:
>> On Thu, Jun 02, 2016 at 05:18:41PM +0200, Lluís Vilanova wrote:
>> > Hi there. After my latest update on some debian machines we use at work
>> > (mostly
>> > running testing), all screen sessions die after users log out.
>>
>> Blame systemd.
> Exactly. See https://bugs.debian.org/825394 -- fixed in the Debian
> package of systemd, version 230-2. You might need to reboot after
> updating the package, though.
>> You will need to enable the linger option.
> I read somewhere (but forgot where) that this does not completely
> suffice.
It's systemd's fault indeed. Here's the allegedly "proper way" to do it (as fair
as I could find):
# execute once on each machine
loginctl enable-linger
# and painfully execute this every time you want screen to survive
systemd-run --scope --user screen
Thanks a lot for the responses and sorry for the fuss.
Lluis