You are not logged in.

#1 2014-10-02 03:38:46

YAOMTC
Member
Registered: 2010-02-23
Posts: 207

kdesu, kdesudo doesn't work for KDE apps without QT_X11_NO_MITSHM=1

http://imgur.com/k0akqHC

This happens for kate, kwrite, systemsettings... any KDE apps I try to run with kdesu or kdesudo just come up as empty windows. If I use kdesu or kdesudo (or sudo) to start something non-KDE, like libreoffice or gimp, will launch fine. I'm in KDE, by the way.

Here's the output from kdesudo or sudo (this repeats over and over)

X Error: BadShmSeg (invalid shared segment parameter) 128
  Extension:    130 (MIT-SHM)
  Minor opcode: 2 (X_ShmDetach)
  Resource id:  0x5400016

EDIT: Title has been edited, formerly "kdesu, kdesudo don't work for KDE apps, result in empty windows"

Last edited by YAOMTC (2014-10-04 00:42:35)

Offline

#2 2014-10-02 20:36:26

zezadas
Member
Registered: 2013-04-11
Posts: 35

Re: kdesu, kdesudo doesn't work for KDE apps without QT_X11_NO_MITSHM=1

I have that too

try this

QT_X11_NO_MITSHM=1 kdesu kate 

Offline

#3 2014-10-03 06:12:25

YAOMTC
Member
Registered: 2010-02-23
Posts: 207

Re: kdesu, kdesudo doesn't work for KDE apps without QT_X11_NO_MITSHM=1

That works, zezadas! Thanks! Where did you find that?

Offline

#4 2014-10-03 22:06:44

zezadas
Member
Registered: 2013-04-11
Posts: 35

Re: kdesu, kdesudo doesn't work for KDE apps without QT_X11_NO_MITSHM=1

Somewhere in ubuntu forums...

Offline

#5 2014-10-04 00:44:57

YAOMTC
Member
Registered: 2010-02-23
Posts: 207

Re: kdesu, kdesudo doesn't work for KDE apps without QT_X11_NO_MITSHM=1

I see. I just found this page, which says:

QT_X11_NO_MITSHM – stops Qt form using the MIT-SHM X11 extension.

So for some reason, MIT-SHM isn't working as intended.

Offline

Board footer

Powered by FluxBB