Unable to launch Qt-based application using pkexec
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
policykit-1 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
qtbase-opensource-src (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
1. Have Ubuntu 20.04 LTS installed
2. Login to Plasma session
3. Try to execute Kubuntu Device Drivers application using
pkexec kubuntu-
Expected results:
* application launched normally with root rights
Actual results:
* application crashed with the following output in the terminal -
```
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: wayland-
Aborted (core dumped)
```
Affected applications: Kate, Krusader, Krita, Konsole
Not affected apps: Pluma, Caja
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: policykit-1 0.105-26ubuntu1
ProcVersionSign
Uname: Linux 5.4.0-39-lowlatency x86_64
ApportVersion: 2.20.11-0ubuntu27.3
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
Date: Mon Jun 29 20:56:49 2020
InstallationDate: Installed on 2020-04-22 (67 days ago)
InstallationMedia: Ubuntu-MATE 20.04 LTS "Focal Fossa" - Release amd64 (20200422)
SourcePackage: policykit-1
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.