FS#46855 - [konsole][kdesu] konsole[22130]: QXcbConnection: Could not connect to display :0

Attached to Project: Arch Linux
Opened by Tomasz Przybył (FadeMind) - Saturday, 24 October 2015, 12:39 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 12 December 2015, 23:54 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Issue
=====

Konsole window not showing anywhere after launch command

kdesu konsole
In Journal I see an error msg:

konsole[22130]: QXcbConnection: Could not connect to display :0

BUT

After launching via

sudo konsole

konsole window showing but without honor KDE GUI settings: http://i.imgur.com/RrFo0i2.png
and in konsole window I see:

[tomasz@arch ~]$ export LANG=C
[tomasz@arch ~]$ export $(dbus-launch)
[tomasz@arch ~]$ sudo konsole
QCoreApplication::arguments: Please instantiate the QApplication object first
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
[tomasz@arch ~]$ QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

Other apps like kate dolphin etc working fine with kdesu command.

I have many similar errors:

kwin_x11[2383]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25280, resource id: 30043036, major code: 3 (GetWindowAttributes), minor code: 0

in journal too.

Full journal available here: https://pastebin.com/raw.php?i=2YCwjCbe




This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 12 December 2015, 23:54 GMT
Reason for closing:  Fixed
Comment by Tomasz Przybył (FadeMind) - Saturday, 24 October 2015, 12:45 GMT Comment by Antonio Rojas (arojas) - Saturday, 24 October 2015, 13:56 GMT
The BadWindow errors are harmless, the problem is here:

paź 24 14:27:47 arch konsole[22130]: QXcbConnection: Could not connect to display :0
paź 24 14:27:47 arch systemd-coredump[22132]: Process 22130 (konsole) of user 0 dumped core.

Would be good if you could get the coredump and add it to the upstream report
Comment by Tomasz Przybył (FadeMind) - Saturday, 24 October 2015, 14:03 GMT Comment by Tomasz Przybył (FadeMind) - Monday, 26 October 2015, 14:04 GMT
NOTE: konsole-kde4 from AUR is NOT affected this issue and kdesu konsole open window fine.
Other previous konsole releases based on KF5 are affected, IMO this is something with kf5 packages directly instead of konsole itself.
Comment by Tomasz Przybył (FadeMind) - Saturday, 12 December 2015, 18:33 GMT
FIXED in kdesu 5.17.0-1

Loading...