You are not logged in.
Hello,
This morning I updated my system, with included an upgrade for GNU screen:
[2024-08-29T08:28:25+0000] [PACMAN] Running 'pacman -Syu'
[2024-08-29T08:28:25+0000] [PACMAN] synchronizing package lists
[2024-08-29T08:28:26+0000] [PACMAN] starting full system upgrade
[2024-08-29T08:28:28+0000] [ALPM] transaction started
[2024-08-29T08:28:28+0000] [ALPM] upgraded kexec-tools (2.0.29-1 -> 2.0.29-2)
[2024-08-29T08:28:28+0000] [ALPM] upgraded kmod (33-2 -> 33-3)
[2024-08-29T08:28:28+0000] [ALPM] upgraded screen (4.9.1-2 -> 5.0.0-1)
<- here
[2024-08-29T08:28:28+0000] [ALPM] transaction completed
[2024-08-29T08:28:28+0000] [ALPM] running '30-systemd-tmpfiles.hook'...
[2024-08-29T08:28:28+0000] [ALPM] running '30-systemd-update.hook'...
[2024-08-29T08:28:28+0000] [ALPM] running 'paccache-hook.hook'...
[2024-08-29T08:28:28+0000] [ALPM-SCRIPTLET] Removing old installed packages...
[2024-08-29T08:28:28+0000] [ALPM-SCRIPTLET]
[2024-08-29T08:28:28+0000] [ALPM-SCRIPTLET] ==> finished: 3 packages removed (disk space saved: 797.39 KiB)
[2024-08-29T08:28:28+0000] [ALPM-SCRIPTLET] Removing old uninstalled packages...
[2024-08-29T08:28:28+0000] [ALPM-SCRIPTLET] ==> no candidate packages found for pruning
[2024-08-29T08:28:28+0000] [ALPM] running 'texinfo-install.hook'...
Since this upgrade I have lost access to my screen sessions on both users:
[kmoir@stark ~]$ screen -ls
No Sockets found in /home/kmoir/.screen.
[kmoir@stark ~]$ sudo -u gameserver screen -ls
No Sockets found in /home/gameserver/.screen.
However I can see that these sessions are still running on the filesystem and in ps/top:
[kmoir@stark ~]$ sudo tree /var/run/screens/
/var/run/screens/
├── S-gameserver
│ ├── 116736.tf
│ ├── 1586.forge
│ └── 1623.ross
└── S-kmoir
└── 1556.ddns
3 directories, 4 files
How can I resume these sessions?
Thanks, K.
Last edited by tesco2011 (2024-08-29 16:07:15)
Offline
according to man: screen -r sessionowner/[[pid.]tty[.host]]
btw: please use bbcode code-tags - the triple quote doesn't work here
Last edited by cryptearth (2024-08-29 09:09:34)
Offline
according to man: screen -r sessionowner/[[pid.]tty[.host]]
How would I write this for my situation?
Running
screen -r kmoir/1556.tty.stark
spits out:
There is no screen to be attached matching 1556.tty.stark.
Last edited by tesco2011 (2024-08-29 16:09:38)
Offline
Solved by downgrading screen to 4.9.1-2, resuming and ending sessions then upgraded back to 5.0.0-1.
Offline
PID - the process-id of the screen session
TTY - the console of the session
HOST - the host
as I wasn't sure what to put in for TTY I just gave it a test creating an empty fresh new session, detaching from it and listing the sessions:
[main@main ~]$ screen -ls
There is a screen on:
16266.pts-1.main (Detached)
1 Socket in /home/main/.screen.
So the console was set to "pts-1" - whatever that means - but it seems it's because I'm on graphical - when switching to TTY3 via CTRL+ALT+3 and start a new session from there I get:
[main@main ~]$ screen -ls
There are screens on:
16365.tty3.main (Detached)
16266.pts-1.main (Detached)
2 Sockets in /home/main/.screen.
so the PTS-1 is from Konsole on KDE and the TTY3 is from, well, TTY3.
Usually just giving the PID is enough - hence it should had been ok to just give 1556.
Anyway - sounds like you solved it anyway.
Offline
https://lists.gnu.org/archive/html/scre … 00000.html
Rewritten authentication mechanism
Sounds they might just have broken compatibility w/ the major release update…
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline