Am 11.07.2016 um 15:15 schrieb [email protected]: > 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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ x2go-user mailing list [email protected] http://lists.x2go.org/listinfo/x2go-user
