Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1185893
Summary: | KDE root apps fail to render using X w/o root rights | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Andrew Travneff <travneff> |
Component: | xorg-x11-server | Assignee: | Hans de Goede <hdegoede> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 21 | CC: | awilliam, gerard, hdegoede, mgraesslin, rdieter, robatino, travneff, xgl-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-04-20 14:49:13 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1236528 | ||
Bug Blocks: | 1043130 |
Description
Andrew Travneff
2015-01-26 15:01:13 UTC
I've send a mail about this to the xorg-devel list to discuss this further, as said already I believe this ultimately is a Qt/KDe bug, but lets see where the discussion goes first. Please try to run the kde application with --graphicssystem native e.g: kcalc --graphicssystem native The native graphicssystem might bypass the shm extension. It works, thanks! This is affecting some non-KDE apps that are fairly significant, I think (thanks Andrew): https://bugzilla.redhat.com/show_bug.cgi?id=1212180 - liveusb-creator https://bugzilla.redhat.com/show_bug.cgi?id=1196237 - hplip (HP printer utilities) *** Bug 1212180 has been marked as a duplicate of this bug. *** Hi Adam, (In reply to awilliam from comment #4) > This is affecting some non-KDE apps that are fairly significant, I think > (thanks Andrew): > > https://bugzilla.redhat.com/show_bug.cgi?id=1212180 - liveusb-creator > https://bugzilla.redhat.com/show_bug.cgi?id=1196237 - hplip (HP printer > utilities) I'm afraid that there is nothing which we can do about this from the Xorg side, this is really an apllication side bug, specifically the application / toolkit is not doing proper error checking of the MIT SHM extension related X calls. And more in general people should really not be running gui apps as root (I realize this is sometimes easiest, but at least we should not ship anything setup this way ootb). Since this really is an application bug I'll add a comment to the bugs in question and re-open them where necessary. Note I've also discussed this with the some qt people and it is fixed in qt5, and currently there are no plans to fix this for qt4, there answer to this problem is: Do not run gui apps as root. Regards, Hans As this affects multiple Qt apps - at least, liveusb-creator and hp-plugin - should we figure it's a Qt bug? oh, never mind, just saw the end of c6. |