Article 6FBBQ GNU Screen 4.99 - reattach session doesn't work properly

GNU Screen 4.99 - reattach session doesn't work properly

by
joenew
from LinuxQuestions.org on (#6FBBQ)
I'm running into issues with GNU Screen development git version (4.99).
When I try to resume a previous detached session it asks me for password, I press enter, but it crash freezing and I have to kill with for instance "pkill -9 screen".

Here we have a confirm for the issue from screen-devel mailing list:

https://lists.gnu.org/archive/html/s.../msg00024.html

So I tried to edit pam rule for screen as suggested:

Code:$ cat /etc/pam.d/screen
#%PAM-1.0

auth sufficient pam_permit.soTried to rebuild screen as root and if I launch it as root user, it seems to work properly:
- screen
- "ctrl-a d" to detach
- "screen -r" to resume
- it ask for password, but pressing enter I can reattach the session without any issue

Tried to build as simple user and launch it as simple user... it asks for password at resume, but by pressing enter it doesn't work, it seems to crash.
Tried to install the root built executables in /usr/bin. Again, it works when used by root while crashes if launched by simple user.

Below you'll find steps I followed to get, build, and test:

[code]
git clone git://git.savannah.gnu.org/screen.git
[code]

[code]
cd screen/src
autoreconf -vif || exit 101
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--libdir=/usr/lib64 \
--mandir=/usr/man \
--infodir=/usr/info \
--with-pty-mode=0620 \
--with-pty-group=5 \
--enable-pam \
--enable-telnet \
--disable-socket-dir \
--build=x86-slackware-linux
make
[code]

test:
  • $ screen/src/screen (from command line at same dir where launched previous "git clone" command)
  • press "CTRL-a" followed by "d" to detach the session
  • $ screen -r
  • press enter when it asks for password
    (notice the pam configuration above, try to edit /etc/pam.d/screen as above)
If you will be within screen session again, it works fine, otherwise something go wrong.

Thanks in advance if you can test or have ideas about this strange buggy behavior.
Bye! :)
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments