as seen on http://blog.hbcom.info/archives/430
when trying to re-attach screen while sudo-ing you see:
$ screen -r
Cannot open your terminal '/dev/pts/0' - please check.
Solution:
Before starting screen type:
And after that you can type:
screen -r
Only drawback is that you need to type one additional exit for script to terminate.
when trying to re-attach screen while sudo-ing you see:
$ screen -r
Cannot open your terminal '/dev/pts/0' - please check.
Solution:
Before starting screen type:
script /dev/nullAnd after that you can type:
screen -r
Only drawback is that you need to type one additional exit for script to terminate.