Bug 380094

Summary: Krusader as Root opens with blank screen
Product: [Applications] krusader Reporter: Hevii Guy <support>
Component: generalAssignee: Krusader Bugs Distribution List <krusader-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: alex.bikadorov, krusader-bugs-null
Priority: NOR    
Version: 2.4.0-beta3 "Single Step"   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Hevii Guy 2017-05-22 17:21:44 UTC
I cannot run Krusader as Root whether I start from within Krusader (which appears to work flawlessly), from the Plasma menu (Fedora 25) or from the terminal with: su -l -c "export DISPLAY=:0 && dbus-launch krusader"

A window opens but is completely devoid of icons and menus. Right-clicking has no effect.

The following error is reported and repeated in the terminal window: 

X Error: BadShmSeg (invalid shared segment parameter) 128
  Extension:    130 (MIT-SHM)
  Minor opcode: 3 (X_ShmPutImage)
  Resource id:  0x6a0002f


I am running: 
KDE Plasma 5.9.5
KDE Frameworks %.33.0
QT Version: 5.7.1
Fedora 25 with Kernel Version: 4.10.15-200.fc25.x86_64
Comment 1 Alex Bikadorov 2017-05-22 18:29:39 UTC
Try 
su -l -c "QT_X11_NO_MITSHM=1 export DISPLAY=:0 && dbus-launch krusader"

And please post a screenshot.
Comment 2 Hevii Guy 2017-05-22 21:52:17 UTC
Sorry Alex, we won't know why krusader 2.4.0-beta3 is sick; I obliterated all traces of it from my system! Instead of struggling, I compiled 2.6. 
After creating a couple of directories and a symlink to kdesu, I know have a healthy krusader :-)

Any idea why Fedora packages an ancient beta version?
Comment 3 Alex Bikadorov 2017-05-26 18:14:50 UTC
Distributions just need their time. You can be glad youre not using an Ubuntu LTS version:)
There is a package for 2.5 in Fedora Rawhide.