[X2Go-User] Sharing the display between two different users in x2go remove session (xhost + / DISPLAY variable)

Nigra Truo nigratruo at gmail.com
Tue Jul 9 11:46:58 CEST 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20130709/9966fef6/attachment.html>


More information about the x2go-user mailing list