reassign #276 x2goserver found #276 4.0.1.6 thanks Hi Pascal, reassigning this bug report to X2Go Server, not X2Go Client. On Mo 29 Jul 2013 15:30:03 CEST Pascal d'Hermilly wrote: > When I start qt/kde applications on the x2go server via the > x2goclient, I get a grey application and a lot of error messages in > the konsole. A workaround seems to be to change the graphicssystem > to native instead of raster. However raster is the default in > Kubuntu and it doesnt work when running things as root or through > sudo. > > administrator@desktops-x2go:~$ sudo dolphin --graphicssystem raster > X Error: BadDrawable (invalid Pixmap or Window parameter) 9 > Major opcode: 62 (X_CopyArea) > Resource id: 0x420007d > X Error: BadDrawable (invalid Pixmap or Window parameter) 9 > Major opcode: 62 (X_CopyArea) > Resource id: 0x420007d > X Error: BadDrawable (invalid Pixmap or Window parameter) 9 > Major opcode: 62 (X_CopyArea) > Resource id: 0x420007d > X Error: BadDrawable (invalid Pixmap or Window parameter) 9 > Major opcode: 62 (X_CopyArea) > Resource id: 0x420007d > X Error: BadPixmap (invalid Pixmap parameter) 4 > Major opcode: 54 (X_FreePixmap) > Resource id: 0x420007d > X Error: BadShmSeg (invalid shared segment parameter) 128 > Extension: 129 (MIT-SHM) > Minor opcode: 2 (X_ShmDetach) > Resource id: 0x420007c > administrator@desktops-x2go:~$ sudo dolphin --graphicssystem native > > this works fine. Also gtk applications such as gimp works fine as root. > > This is quite a problem when you want to add/remove users and do > other administrative things in KDE. > In x2goruncommand (the server-side script that is responsible for any application startup) sets this env var: """ # disable rastering in >= KDE4.8 and Qt4.8 export QT_GRAPHICSSYSTEM=native """ That piece of info probably gets lost during the sudo call you perform. Maybe you want to play with /etc/sudoers... """ special line in sudo %admins ALL=(ALL) SETENV: /usr/bin/dolphin """ And then: sudo dolphin Does that work? 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.xfb