SUSE Support

Here When You Need Us

How to use "screen" to mirror screens between different users

This document (7005007) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 10 Service Pack 1
SUSE Linux Enterprise Server 10 Service Pack 2
SUSE Linux Enterprise Server 10 Service Pack 3

Situation

The screen command is usefull for mirroring a screen between two terminal sessions.

Resolution

  1. In the home directory of user1 create the .screenrc file that has the following lines
    multiuser on
    acladd user2
  2. As root change the permissions of /usr/bin/screen to 4755. This will add the SUID bit.
    server:~ # ll /usr/bin/screen
    -rwsr-xr-x 1 root root 308896 2007-05-03 07:44 /usr/bin/screen
  3. As user1 run "screen"
  4. From a different terminal as user2 run "screen -x user1/".   The / is necessary
Now both users can see the same screen and either can type and it is visible to each user.

Additional Information

Please read the man page on screen for additional information.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7005007
  • Creation Date: 10-Dec-2009
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.