Re: Session dies after logout

Lluís Vilanova <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
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

_______________________________________________
screen-users mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/screen-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.