Hi,
I am logged in as user Tom via x2go on my server. And in this session, I su
to user Peter and want Peter to be able to use the same X session, i.e.
display GUIs.
When I try this, it fails. I use xeyes as a test.
Error: Can't open display: unix:1077.0
I used already xhost (as Tom), to give everybody the right to use Tom's X
display.
xhost +
access control disabled, clients can connect from any host
when I do a
echo $DISPLAY
as user Tom, I get:
:75
If I do the same as user Peter, I get:
unix:1077.0
how can I get user Peter to be able to share the GUI / X remote session via
x2go from Tom?
How is x2go handling the DISPLAY variable? I think there lies the problem,
not in the permissions.
What circumstance makes me need to get this working: I cannot open a
separate x2go session for user Peter, which would definitely be easier.
I have tried this locally, on the server directly, and when I use xhost +
and set the display variable of Peter to the same as Tom, he can use Tom's
display and display xeyes.
Any pointers would be appreciated!
thanks
Markus