[X2Go-User] X applications fail after su - on x2go connection

webe3vt at aim.com webe3vt at aim.com
Mon Jul 11 15:15:29 CEST 2016


When I am connected to a Debian server through x2go, my X applications work.  When I su - user2 then try any X application they don't work.  For example emacs will start in terminal mode and java applications give errors such as 
java.lang.InternalError: Can't connect to X11 window server using ':52' as the value of the DISPLAY variable

When I echo $DISPLAY before the su -, :52 is the correct display.

I have several other machines that do not have this problem.  How do I fix it so that X works through x2go after su -.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20160711/d72c35c4/attachment.html>


More information about the x2go-user mailing list