Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

What I'm trying to do is come up with a way for a user to take over another users local session on a linux box. For example userA logs into a RHEL desktop and starts a process that lasts several hours. UserB comes in later and wants to check progress on the status. UserA and userB have separate accounts and can not share login information. I've figured out how to do this for a cli session with group permissions but am looking for any method to accomplish the same thing in a graphical environment. Additional packages are not out of the question but would prefer something from Red Hat or EPEL.

share|improve this question

1 Answer 1

As userB: x11vnc -auth /home/userA/.Xauthority -display [something]

To get the [something] part, userA's ~/.config/autostart/ could have a script that simply echos $DISPLAY to a file that userB can reach.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.