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
Hi Markus,
On Di 09 Jul 2013 11:46:58 CEST Nigra Truo wrote:
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.
Install the sux command (apt-get install sux on Debian/Ubuntu) and use
it in the same fashion as you do with the su command.
Mike
--
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...