<div dir="ltr"><div><div><div>Hi,<br><br></div>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.<br><br>When I try this, it fails. I use xeyes as a test.<br>
<br>Error: Can't open display: unix:1077.0<br><br><br></div><div>I used already xhost (as Tom), to give everybody the right to use Tom's X display. <br>xhost +<br>access control disabled, clients can connect from any host<br>
<br></div><div><br></div>when I do a <br>echo $DISPLAY<br></div>as user Tom, I get:<br><div><br><div>:75<br><br></div><div>If I do the same as user Peter, I get:<br><br>unix:1077.0<br><br><br></div><div>how can I get user Peter to be able to share the GUI / X remote session via x2go from Tom?<br>
<br></div><div>How is x2go handling the DISPLAY variable? I think there lies the problem, not in the permissions.<br><br>What circumstance makes me need to get this working: I cannot open a separate x2go session for user Peter, which would definitely be easier. <br>
<br></div><div>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.<br><br></div><div>Any pointers would be appreciated!<br>
<br>thanks<br><br>Markus<br></div><div><br><br> <br></div></div></div>