Help with screen comand

Karl Auer kauer at biplane.com.au
Fri Dec 6 06:32:23 UTC 2019


On Thu, 2019-12-05 at 10:05 -0500, stan wrote:
> doc at ica-db:~$ screen -x stan/test
> chmod /dev/pts/5: Operation not permitted
> doc at ica-db:~$ 


Did you remember to turn on multiuser and add the user?

>From the screen you are trying to share, it's something like

Ctl-A : multiuser on
Ctl-A : acladd whoever

Once you've sorted it and if you will be doing it again with the same
users, you can put the command sequence into .screenrc and it will be
automagicated for you.

Also, for multi-user operation I think screen has to be setuid, so

sudo chmod u+s `which screen`

And probably also the PID file - in /var/run/screen?

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: 8D08 9CAA 649A AFEF E862 062A 2E97 42D4 A2A0 616D
Old fingerprint: A0CD 28F0 10BE FC21 C57C 67C1 19A6 83A4 9B0B 1D75






More information about the ubuntu-users mailing list