🕷️ Crawler Inspector

URL Lookup

Direct Parameter Lookup

Raw Queries and Responses

1. Shard Calculation

Query:
Response:
Calculated Shard: 10 (from laksa013)

2. Crawled Status Check

Query:
Response:

3. Robots.txt Check

Query:
Response:

4. Spam/Ban Check

Query:
Response:

5. Seen Status Check

ℹ️ Skipped - page is already crawled

📄
INDEXABLE
CRAWLED
2 months ago
🤖
ROBOTS ALLOWED

Page Info Filters

FilterStatusConditionDetails
HTTP statusPASSdownload_http_code = 200HTTP 200
Age cutoffPASSdownload_stamp > now() - 6 MONTH2.8 months ago
History dropPASSisNull(history_drop_reason)No drop reason
Spam/banPASSfh_dont_index != 1 AND ml_spam_score = 0ml_spam_score=0
CanonicalPASSmeta_canonical IS NULL OR = '' OR = src_unparsedNot set

Page Details

PropertyValue
URLhttps://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/
Last Crawled2026-01-26 01:09:49 (2 months ago)
First Indexed2022-02-18 21:49:14 (4 years ago)
HTTP Status Code200
Meta Titledebian lxc - screen killed out logout | Proxmox Support Forum
Meta DescriptionSo I've been struggling with this for a few hours and everything I've found online leads to huge arguments about how systemd (back in 2016?) changed a...
Meta Canonicalnull
Boilerpipe Text
#1 So I've been struggling with this for a few hours and everything I've found online leads to huge arguments about how systemd (back in 2016?) changed a default to kill all user processes on logout. Well that sounds ok, but it kills things like screen. screen has been used for many many years, specifically for the use of keeping something running after you logout. They say the systemd default is enabled but it's up to distros to pick. Well I'm using a Debian container and it appears to be disabled by default but my screen session still gets killed as soon as I logout. There have been a few suggestions, none have worked. Is this specific to being in a container? $ systemd-run --scope --user screen Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user) $ systemd-run --scope --machine=clickwir@.host --user screen Execution in user context is not supported on non-local systems. $ systemd-run --scope --machine=clickwir@.localhost --user screen Execution in user context is not supported on non-local systems. $ systemd-run --scope --machine=clickwir@localhost --user screen Execution in user context is not supported on non-local systems. $ systemd-run --scope --machine=clickwir@ --user ls Execution in user context is not supported on non-local systems. $ loginctl enable-linger Could not enable linger: Connection timed out It was suggested to add 'export XDG_RUNTIME_DIR=/run/user/$(id -u)' to .bashrc Well that did result in something different, but still doesn't work. $ systemd-run --scope --user screen Failed to connect to bus: No such file or directory I need to have screen continue to run on logout/disconnect. Honestly it's more the ungraceful disconnect I'm concerned with. Just because my desktop system disconnects/dies/locks shouldn't affect screen. #2 Was talking about this with a co-worker today. To recreate, it should be this simple: Install Debian bullseye container. Within that container, install screen. Run screen. Within screen, run something like 'top' that will keep running. Ctrl+A, D to detach screen. Logout. Login. Run 'screen -list'. Get error 'No Sockets found' Be sad that screen is broken. Or maybe it works for you? #3 Has no one else tried to run screen on a container? This is still a problem. Screen is entirely broken when you logout. #4 i still got the same problem, any idea? #5 Sadly, I haven't found a solution yet. IMO, systemd is overstepping it's bounds by a lot. Was meant to be an init system replacement and it's morphed into a lot more than that and is slowly replacing everything in a linux system with a systemd method/application/service/way of life. And I don't really care for it. This problem being a prime example. Screen is meant to be able to run after you logout and systemd is completely doing away with that and taking a stance that simply doesn't work with how users need a system to function. Especially one they've been using like this for, literally, decades. That complaint out of the way, I'm considering using Devuan instead. It's a Debian fork but with without systemd. It's been around for a few years and looks like the only way to get back basic functions. Some more info on Devuan https://www.devuan.org/ https://www.makeuseof.com/tag/debian-without-systemd-devuan/ #6 Is there a solution to this other than using a different fork? In my case it is impacting pm2 also, it just feels super odd to kills such a core function of how linux has worked for decades. Everything works as normal with Ubuntu 20.04 but not 22.04 or 23.04. #7 I don't know why, but reinstalling sshd fixes the problem. Code: apt-get install --reinstall openssh-server #8 As it turns out, $ loginctl enable-linger Could not enable linger: Connection timed out This was very close to the correct answer. loginctl enable-linger <USERNAME> is what's needed to make it work. I just tried it with root. Before enabling linger, tmux was killed on logout. After, it is left running.
Markdown
[![Proxmox Support Forum](https://forum.proxmox.com/styles/uix/images/Proxmox-logo-500px.png)](https://forum.proxmox.com/) [![Proxmox Support Forum](https://forum.proxmox.com/styles/uix/images/Proxmox-logo-black-800.png)](https://forum.proxmox.com/) [![Proxmox Support Forum](https://forum.proxmox.com/styles/uix/images/Proxmox-logo-500px.png)](https://forum.proxmox.com/) [![Proxmox Support Forum](https://forum.proxmox.com/styles/uix/images/Proxmox-logo-black-800.png)](https://forum.proxmox.com/) - [Home](https://forum.proxmox.com/) - [Forums](https://forum.proxmox.com/) [New posts](https://forum.proxmox.com/whats-new/posts/) [Search forums](https://forum.proxmox.com/search/?type=post) - [What's new](https://forum.proxmox.com/whats-new/) [Featured content](https://forum.proxmox.com/featured/) [New posts](https://forum.proxmox.com/whats-new/posts/) [Latest activity](https://forum.proxmox.com/whats-new/latest-activity) - [Members](https://forum.proxmox.com/members/) [Current visitors](https://forum.proxmox.com/online/) [New profile posts](https://forum.proxmox.com/whats-new/profile-posts/) [Search profile posts](https://forum.proxmox.com/search/?type=profile_post) [Log in](https://forum.proxmox.com/login/) [Register](https://forum.proxmox.com/register/) [What's new](https://forum.proxmox.com/whats-new/ "What's new") - [New posts](https://forum.proxmox.com/whats-new/posts/) - [Search forums](https://forum.proxmox.com/search/?type=post) Menu Install the app Install How to install the app on iOS Follow along with the video below to see how to install our site as a web app on your home screen. **Note:** This feature may not be available in some browsers. # debian lxc - screen killed out logout - Thread starter [clickwir](https://forum.proxmox.com/members/clickwir.52592/) - Start date [Feb 17, 2022](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/) - Tags [lxc](https://forum.proxmox.com/tags/lxc/) [screen](https://forum.proxmox.com/tags/screen/) [systemd](https://forum.proxmox.com/tags/systemd/) - [Home](https://forum.proxmox.com/) - [Forums](https://forum.proxmox.com/) - [Proxmox Virtual Environment](https://forum.proxmox.com/#proxmox-virtual-environment.11) - [Proxmox VE: Installation and configuration](https://forum.proxmox.com/forums/proxmox-ve-installation-and-configuration.16/) JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding. You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an [alternative browser](https://www.google.com/chrome/). [C](https://forum.proxmox.com/members/clickwir.52592/) #### [clickwir](https://forum.proxmox.com/members/clickwir.52592/) ##### Member Dec 21, 2017 8 1 23 - [Feb 17, 2022](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/post-452410) - [\#1](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/post-452410) So I've been struggling with this for a few hours and everything I've found online leads to huge arguments about how systemd (back in 2016?) changed a default to kill all user processes on logout. Well that sounds ok, but it kills things like screen. screen has been used for many many years, specifically for the use of keeping something running after you logout. They say the systemd default is enabled but it's up to distros to pick. Well I'm using a Debian container and it appears to be disabled by default but my screen session still gets killed as soon as I logout. There have been a few suggestions, none have worked. Is this specific to being in a container? ``` $ systemd-run --scope --user screen Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user) $ systemd-run --scope --machine=clickwir@.host --user screen Execution in user context is not supported on non-local systems. $ systemd-run --scope --machine=clickwir@.localhost --user screen Execution in user context is not supported on non-local systems. $ systemd-run --scope --machine=clickwir@localhost --user screen Execution in user context is not supported on non-local systems. $ systemd-run --scope --machine=clickwir@ --user ls Execution in user context is not supported on non-local systems. $ loginctl enable-linger Could not enable linger: Connection timed out ``` It was suggested to add 'export XDG\_RUNTIME\_DIR=/run/user/\$(id -u)' to .bashrc Well that did result in something different, but still doesn't work. ``` $ systemd-run --scope --user screen Failed to connect to bus: No such file or directory ``` I need to have screen continue to run on logout/disconnect. Honestly it's more the ungraceful disconnect I'm concerned with. Just because my desktop system disconnects/dies/locks shouldn't affect screen. [C](https://forum.proxmox.com/members/clickwir.52592/) #### [clickwir](https://forum.proxmox.com/members/clickwir.52592/) ##### Member Dec 21, 2017 8 1 23 - [Feb 18, 2022](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/post-452674) - [\#2](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/post-452674) Was talking about this with a co-worker today. To recreate, it should be this simple: Install Debian bullseye container. Within that container, install screen. Run screen. Within screen, run something like 'top' that will keep running. Ctrl+A, D to detach screen. Logout. Login. Run 'screen -list'. Get error 'No Sockets found' Be sad that screen is broken. Or maybe it works for you? [C](https://forum.proxmox.com/members/clickwir.52592/) #### [clickwir](https://forum.proxmox.com/members/clickwir.52592/) ##### Member Dec 21, 2017 8 1 23 - [Jul 14, 2022](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/post-484088) - [\#3](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/post-484088) Has no one else tried to run screen on a container? This is still a problem. Screen is entirely broken when you logout. [S](https://forum.proxmox.com/members/syxcrrropp.162126/) #### [syxcrrropp](https://forum.proxmox.com/members/syxcrrropp.162126/) ##### New Member Sep 14, 2022 1 0 1 - [Sep 14, 2022](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/post-497825) - [\#4](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/post-497825) i still got the same problem, any idea? [C](https://forum.proxmox.com/members/clickwir.52592/) #### [clickwir](https://forum.proxmox.com/members/clickwir.52592/) ##### Member Dec 21, 2017 8 1 23 - [Sep 15, 2022](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/post-497995) - [\#5](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/post-497995) Sadly, I haven't found a solution yet. IMO, systemd is overstepping it's bounds by a lot. Was meant to be an init system replacement and it's morphed into a lot more than that and is slowly replacing everything in a linux system with a systemd method/application/service/way of life. And I don't really care for it. This problem being a prime example. Screen is meant to be able to run after you logout and systemd is completely doing away with that and taking a stance that simply doesn't work with how users need a system to function. Especially one they've been using like this for, literally, decades. That complaint out of the way, I'm considering using Devuan instead. It's a Debian fork but with without systemd. It's been around for a few years and looks like the only way to get back basic functions. Some more info on Devuan <https://www.devuan.org/> <https://www.makeuseof.com/tag/debian-without-systemd-devuan/> [P](https://forum.proxmox.com/members/parmdhoot.226371/) #### [parmdhoot](https://forum.proxmox.com/members/parmdhoot.226371/) ##### New Member Mar 8, 2024 1 0 1 - [Mar 8, 2024](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/post-642029) - [\#6](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/post-642029) Is there a solution to this other than using a different fork? In my case it is impacting pm2 also, it just feels super odd to kills such a core function of how linux has worked for decades. Everything works as normal with Ubuntu 20.04 but not 22.04 or 23.04. [R](https://forum.proxmox.com/members/rafterhat.231027/) #### [RafterHat](https://forum.proxmox.com/members/rafterhat.231027/) ##### New Member Apr 2, 2024 1 0 1 - [Apr 2, 2024](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/post-649446) - [\#7](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/post-649446) I don't know why, but reinstalling sshd fixes the problem. Code: ``` apt-get install --reinstall openssh-server ``` [D](https://forum.proxmox.com/members/danw.295649/) #### [danw](https://forum.proxmox.com/members/danw.295649/) ##### New Member Mar 18, 2025 1 0 1 - [Mar 18, 2025](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/post-756739) - [\#8](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/post-756739) As it turns out, > [clickwir said:](https://forum.proxmox.com/goto/post?id=452410) > > `$ loginctl enable-linger` > `Could not enable linger: Connection timed out` > > [Click to expand...]() This was very close to the correct answer. loginctl enable-linger \<USERNAME\> is what's needed to make it work. I just tried it with root. Before enabling linger, tmux was killed on logout. After, it is left running. [You must log in or register to reply here.](https://forum.proxmox.com/login/) Share: [Bluesky](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/#_xfUid-1-1769389789) [LinkedIn](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/#_xfUid-1-1769389789) [Reddit](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/#_xfUid-1-1769389789) [Email](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/#_xfUid-1-1769389789) [Share](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/#_xfUid-1-1769389789) [Link](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/#_xfUid-1-1769389789) - [Home](https://forum.proxmox.com/) - [Forums](https://forum.proxmox.com/) - [Proxmox Virtual Environment](https://forum.proxmox.com/#proxmox-virtual-environment.11) - [Proxmox VE: Installation and configuration](https://forum.proxmox.com/forums/proxmox-ve-installation-and-configuration.16/) ## About The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you\! ### Quick Navigation [Home](https://forum.proxmox.com/) [Get Subscription](https://www.proxmox.com/proxmox-virtual-environment/pricing) [Wiki](https://pve.proxmox.com/wiki) [Downloads](https://www.proxmox.com/downloads) [Proxmox Customer Portal](https://my.proxmox.com/) [About](https://www.proxmox.com/about/company) ### Get your subscription\! The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop. [Buy now\!](https://shop.proxmox.com/) - [Cookies](https://forum.proxmox.com/misc/cookies "Cookie consent") - [Proxmox Support Forum - Light Mode](https://forum.proxmox.com/misc/style "Style chooser") - [Contact us](https://www.proxmox.com/en/about/contact) - [Terms and rules](https://forum.proxmox.com/help/terms/) - [Privacy policy](https://www.proxmox.com/en/privacy-policy) - [Help](https://forum.proxmox.com/help/) - [Home](https://forum.proxmox.com/) - [RSS](https://forum.proxmox.com/forums/-/index.rss "RSS") [Community platform by XenForo® © 2010-2025 XenForo Ltd.](https://xenforo.com/) [Top](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/#top) [Bottom](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/#footer) [Back]() - ## We value your privacy We use essential [cookies](https://forum.proxmox.com/help/cookies) to make this site work, and optional cookies to enhance your experience. [See further information and configure your preferences](https://forum.proxmox.com/threads/debian-lxc-screen-killed-out-logout.105083/) [Accept all cookies](https://forum.proxmox.com/misc/cookies?update=1&accept=1&t=1769389789%2C9242063c0b2ae86a144e57488ec4d988) [Reject optional cookies](https://forum.proxmox.com/misc/cookies?update=1&reject=1&t=1769389789%2C9242063c0b2ae86a144e57488ec4d988)
Readable Markdownnull
Shard10 (laksa)
Root Hash9469933952248431210
Unparsed URLcom,proxmox!forum,/threads/debian-lxc-screen-killed-out-logout.105083/ s443