Screen sessions have you down?

home | blog | Teh Internet | guest blog |rants | placeholder | political | projects | Gwen and Liam | Citadel patched | Tools | Scouts


- Careful Chrome users, this search box might be "Not secure"



Are you having issues with screen sessions started as one user yet you have errors connecting from su to the user?
As it turns out, you can't. Well, probably without patching the code yourself :-)

If you have errors like this:
Cannot open your terminal '/dev/pts/3' - please check.
(or '/dev/pts/0'...)

You will have to resort to logging in as the user to re-connect to the wayward screen session. line Thanks goes to www.houseofmorten.com

Another solution
http://serverfault.com/questions/116775/sudo-as-different-user-and-running-screen
And as always, in case that link breaks:
run
 script /dev/null
 as the user you su to before launching screen



[æ]