GNU screen: session locked by default if "multiuser" is on

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

GNU screen: session locked by default if "multiuser" is on

Post by ^rooker »

[PROBLEM]
I want to start a GNU Screen session by a script, so I can easily run several programs in parallel in the background.
I'm staring the screen session by name, like this:

Code: Select all

$ screen -dmS "my_session"
$ screen -S "my_session" -X multiuser on
$ screen -S "my_session" -X acladd user1 user2 ...
As you can see, I've also enabled "multiuser" mode for that session.
Then I can configure its settings and even start programs in certain screen windows, just as desired.

Unfortunately, when I disconnect, log out then log back in and try to reconnect using "screen -r", I'm facing a screen password prompt :?
I didn't set any password - and also the system-password of the user who created the session doesn't work.

When I remove the "multiuser on" option, the password prompt is gone.
But I want multiuser enabled but without any additional password to be entered...


[SOLUTION]
to be continued...


Links:
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply