> Hi,
>
> On my Beaglebone, running the 2012.01.27 Angstrom image, the "screen"
> utility always terminates when I logoff.
>
> That is, if I:
>
> 1. ssh to the beaglebone
> 2. Enter "screen" to launch the screen utility (then press Enter to
> get to the screen session's command line)
> 3. Enter Ctrl-A D to detach and return to my ssh session
> 4. Enter exit
>
> .. the "screen" process terminates after step 4.
>
> Ordinarily (on an Angstrom image running on my Beagleboard XM, and
> Ubuntu running on my Beagleboard Rev C), the screen utility doesn't
> terminate when I logoff - it's a handy way to launch programs that I
> want to keep running after I logoff.
>
> Does anyone know what I need to do to have "screen" continue running
> after I logoff from SSH?
Edit /etc/systemd/systemd-logind.conf and uncomment the 'killuserprocesses=no' line. That will get fixed by default next week or so.
regards,
Koen
Jan,No, not reliably.I haven't been using Screen much, since I was able to launch my background process using systemd, but I noticed a week or so ago that a Screen process was still running when I reconnected.I just ran a test, and it appears that it works when root runs Screen, but terminates at disconnect when a non-root user runs it.i.e. If I do the following...
- ssh login as dan- su- launch Screen- Ctrl-a d to switch back to my original session- exit, exit to disconnect... then the screen session is still active when I login later. If I launch Screen as the non-root user "dan", then Screen terminates when I disconnect.However, since I haven't used it much, I can't say that this method always works.I'm running Angstrom with the 3.2.9+ kernel. The Screen package itself is still at 4.0.3-r2.Dan
On Thursday, March 15, 2012 5:24:24 AM UTC-4, Jan wrote:All,I have the same (very annoying) issue.Editing systemd-logind.conf didn't help here, either.Dan, have you ever got it working?Best Regards,Jan