Find the answer to your Linux question:
Results 1 to 5 of 5
Sharing a virtual terminal with screen should be an easy process. You should just initiate a screen session screen -S share then CTRL-A :multiuser on CTRL-A :acladd johndoe Then the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2011
    Posts
    13

    Question Help share virtual terminal (Screen) with Suse


    Sharing a virtual terminal with screen should be an easy process. You should just initiate a screen session
    screen -S share

    then
    CTRL-A
    :multiuser on

    CTRL-A
    :acladd johndoe


    Then the user (johndoe) you allowed should be able to

    screen -x share

    to connect to your session. SUSE however has done something to prevent this. I've searched around, and found several pages saying to do the following:

    chmod u+s $ /usr/bin/screen
    and
    chmod 755 /var/run/screen

    Suse however has no /var/run/screen directory.
    There is a /var/run/uscreen directory, that holds screen sessions, so I did try the chmod on that folder, but still no luck.

    Can anyone get this working?

    thanks.
    Last edited by WyattOil; 09-02-2013 at 04:42 PM. Reason: forgot to add "helP"

  2. #2
    Just Joined!
    Join Date
    Sep 2012
    Location
    Nashville, TN
    Posts
    98
    What is the exact error that you get? Also isn't the format screen -x <username>/<session> so wouldn't it be

    Code:
    screen -x root/share
    Last edited by bsdtux; 09-02-2013 at 07:04 PM. Reason: add information

  3. #3
    Just Joined!
    Join Date
    May 2011
    Posts
    13
    Quote Originally Posted by bsdtux View Post
    What is the exact error that you get? Also isn't the format screen -x <username>/<session> so wouldn't it be

    Code:
    screen -x root/share
    I've seen pages use both versions (with and w/o the username). When I used to use screen it didn't require the username, but *shrug* things may have changed.

    The error I am getting (this is as the user I wish to share with) is
    Code:
    Cannot open your terminal '/dev/pts/9' - please check.
    This same error is the same regardless of if the -x command is with or w/o the username

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Sep 2012
    Location
    Nashville, TN
    Posts
    98
    Quote Originally Posted by WyattOil View Post
    I've seen pages use both versions (with and w/o the username). When I used to use screen it didn't require the username, but *shrug* things may have changed.

    The error I am getting (this is as the user I wish to share with) is
    Code:
    Cannot open your terminal '/dev/pts/9' - please check.
    This same error is the same regardless of if the -x command is with or w/o the username
    Ok two things come to mind. 1. Is selinux and the other would be app armor is blocking the connection. Let me do some tests and see what I get

  6. #5
    Just Joined!
    Join Date
    Sep 2012
    Location
    Nashville, TN
    Posts
    98
    Can you do the following from a terminal
    Code:
    screen -S share
    CTRL + A :multiuser on
    CTRL + A :addacl johndoe
    
    screen -ls
    I want to see the output

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •