-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 (Please keep it on the list)
Tales Macedo wrote: > Thanks for answer me > > Initially excuse my english. > When I try to run the command $ who am i on screen session, it does > not show anything. Type: > > $ screen > > (on screen session I try: ) > > screen> who am i > > don't show anything. > > outside the screen: > > tales pts/8 .... (201.2.103.109). Ah, ok, I was thinking you were talking about "whoami", rather than "who am i". That situation is less unlikely, then. :) The reason is that screen is not updating /var/run/utmp for some reason. Various reasons why this might be: - screen doesn't have proper permissions to write to utmp Solution: ensure that screen is setgid utmp, or setuid root - screen is not configured to write to utmp Solution: ensure that "deflogin on" is not unset in your /etc/screenrc and ~/.screenrc. My own setup does not normally have setgid utmp, but screen will happily tell me "this window is logged in", rather than error out as it ought to. I'll file a bug to investigate that. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. Maintainer of GNU Wget and GNU Teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpk2R0ACgkQ7M8hyUobTrEc5gCePgX6RX1t4WrjVZHBYicDwuOq bMAAn2C3qDOBoovkaWS42P40R5ZWoOiw =9Jfl -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users