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

Stefan Baur X2Go-ML-1 at baur-itcs.de
Mon Jul 11 17:51:21 CEST 2016


Am 11.07.2016 um 15:15 schrieb webe3vt at aim.com:
> 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 -.

There used to be a command "sux" that would allow this, but it's been
removed from Debian - https://packages.debian.org/search?keywords=sux

Maybe you'll find some pointers here:
https://en.wikipedia.org/wiki/X_Window_authorization#Cookie-based_access

Kind Regards,
Stefan Baur


-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20160711/c718c60a/attachment.pgp>


More information about the x2go-user mailing list