I'm running remote X display (essentially an X terminal) in which the X server is on a local system and clients are run remotely from another system on my LAN. This is via tcp X connections, not an SSH tunnel.
I'm finding that I cannot run 'screen' in this configuration. However: - Locally launched terminals will support 'screen'. - SSHing to the remote box and running screen from within the ssh session works. - I can run 'screen' natively on the remote box to its own local display. - I can run 'screen -r' on the remote system to reconnect to an existing screen session. - One workaround: I can launch screen in daemon mode, then connect to the session: $ screen -dmS foo $ screen -r I'm wondering if anyone else is seeing this and/or has suggestions for fix. A few odd observations, possibly explained by lib differences (see end of email): - While I can run 'strace' on the remote system, 'strace screen' run locally fails with the following output: [EMAIL PROTECTED]:karsten]$ strace screen 2>&1 execve("/usr/bin/screen", ["screen"], [/* 33 vars */]) = 0 strace: exec: Operation not permitted When I ssh to the remote system and run 'strace screen' it succeeds. SSHing out then back into local doesn't allow 'strace screen'. - Both locally and on the remote system, screen is sgid utmp, with permissions as follows (local and remote in order): -rwxr-sr-x 1 root utmp 267544 2003-03-25 04:31 /usr/bin/screen -rwxr-sr-x 1 root utmp 267544 2003-03-25 04:31 /usr/bin/screen - When attempting to run screen remotely under strace, I get the following output indicating mode for /var/run/screen should be 777, however running locally, I get a message mode should be 775: [EMAIL PROTECTED]:karsten]$ strace screen 2>/dev/null Directory '/var/run/screen' must have mode 777. - tty on both systems: - local: crw--w---- 1 karsten tty 136, 8 2003-09-13 20:20 /dev/pts/8 - remote: crw--w---- 1 karsten tty 136, 46 2003-09-13 20:22 /dev/pts/46 - md5sum on both systems of 'screen' binary and linked libs, stars indicate differences: - local 8b34bdd18ba03c2da4d120cd90c003b7 /usr/bin/screen e573aa743f72e40e0e6c1b8b5b5a4d1a /lib/libncurses.so.5 * 13813a6863211e3cfecc07e1900eb47a /lib/libutil.so.1 * 355a83c6702a191a6f7f09159f416039 /lib/libcrypt.so.1 129d33d78be47f2190228401f2b42aac /lib/libpam.so.0 * da26d443a352c43d5b9590b119026f2a /lib/libc.so.6 * dd5bd1196ec190a8c300f3171097ddd4 /lib/libdl.so.2 - remote 8b34bdd18ba03c2da4d120cd90c003b7 /usr/bin/screen * e573aa743f72e40e0e6c1b8b5b5a4d1a /lib/libncurses.so.5 * f53e02d98bd49f7a2d0c544ada5180aa /lib/libutil.so.1 32d2d72354cd4680a44e4dccbc2f1cec /lib/libcrypt.so.1 129d33d78be47f2190228401f2b42aac /lib/libpam.so.0 * cfb5940df50bbef4b94cb75acafa7a26 /lib/libc.so.6 * 5033a4ac03821573ae89ba2b1331c05a /lib/libdl.so.2 I'll try updating local and seeing if this changes things. IIRC I'm running a few unstable pins on the remote system, but not local. Package versions: - local: Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-====================================== ii libncurses5 5.3.20030719-1 Shared libraries for terminal handling ii libc6 2.3.1-16 GNU C Library: Shared libraries and Timezone ii libpam0g 0.76-13 Pluggable Authentication Modules library - remote: Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-======================================= ii libncurses5 5.3.20030719-1 Shared libraries for terminal handling ii libc6 2.3.2-6 GNU C Library: Shared libraries and Timezone ii libpam0g 0.76-13 Pluggable Authentication Modules library Peace. -- Karsten M. Self <[EMAIL PROTECTED]> http://kmself.home.netcom.com/ What Part of "Gestalt" don't you understand? Keep software free. Oppose the CBDTPA. Kill S.2048 dead. http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html
pgp00000.pgp
Description: PGP signature