kate editor doesn't work from command line for my user only

> journalctl -xe | grep kate
░░ Subject: Process 7414 (kate) dumped core
░░ Process 7414 (kate) crashed and dumped core.
Feb 14 17:57:54 my-pc kate[7513]: qt.qpa.xcb: could not connect to display
Feb 14 17:57:54 my-pc audit[7513]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=7513 comm="kate" exe="/usr/bin/kate" sig=6 res=1
Feb 14 17:57:54 my-pc kate[7513]: qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
Feb 14 17:57:54 my-pc kate[7513]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Feb 14 17:57:54 my-pc kate[7513]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Feb 14 17:57:54 my-pc systemd-coredump[7516]: Process 7513 (kate) of user 1000 terminated abnormally with signal 6/ABRT, processing...
Feb 14 17:57:54 my-pc systemd-coredump[7519]: Process 7513 (kate) of user 1000 dumped core.
Module libkateprivate.so.24.12.1 from rpm kate-24.12.1-1.fc41.x86_64
Module kate from rpm kate-24.12.1-1.fc41.x86_64
#12 0x00005642d3f994da n/a (kate + 0x24da)
#15 0x00005642d3f9d6b5 n/a (kate + 0x66b5)
> journalctl -xe | grep kate
░░ Subject: Process 7414 (kate) dumped core
░░ Process 7414 (kate) crashed and dumped core.
Feb 14 17:57:54 my-pc kate[7513]: qt.qpa.xcb: could not connect to display
Feb 14 17:57:54 my-pc audit[7513]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=7513 comm="kate" exe="/usr/bin/kate" sig=6 res=1
Feb 14 17:57:54 my-pc kate[7513]: qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
Feb 14 17:57:54 my-pc kate[7513]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Feb 14 17:57:54 my-pc kate[7513]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Feb 14 17:57:54 my-pc systemd-coredump[7516]: Process 7513 (kate) of user 1000 terminated abnormally with signal 6/ABRT, processing...
Feb 14 17:57:54 my-pc systemd-coredump[7519]: Process 7513 (kate) of user 1000 dumped core.
Module libkateprivate.so.24.12.1 from rpm kate-24.12.1-1.fc41.x86_64
Module kate from rpm kate-24.12.1-1.fc41.x86_64
#12 0x00005642d3f994da n/a (kate + 0x24da)
#15 0x00005642d3f9d6b5 n/a (kate + 0x66b5)
Works fine on a new user. Also works on my user from Applications Menu or KRunner, just not command line.
2 Replies
bossfight
bossfightOP3w ago
Tried using a clean shell with env -i bash --noprofile --norc and it did not solve the issue Realized it launched with the Application menu. Saw that the application menu's launch command was kate -b $U and decided to give it a try:
> kate -b %U
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
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: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, wayland-egl, wayland, xcb.

fish: Job 1, 'kate -b %U' terminated by signal SIGABRT (Abort)
> kate -b %U
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
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: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, wayland-egl, wayland, xcb.

fish: Job 1, 'kate -b %U' terminated by signal SIGABRT (Abort)
Progress: This has something to do with my terminal (flatpak'ed Konsole) Doesn't happen in Ptyxis
bossfight
bossfightOP3w ago
Seems to be related to this upstream QT bug: https://github.com/mkiol/dsnote/issues/150 No real fixes other than not using terminals in flatpak (Black Box had the same problem). Not really completed but I'll get over it since it's irrelevant as far as Bazzite goes.
GitHub
flatpak failed to launch · Issue #150 · mkiol/dsnote
Downloaded the flatpak via the software manager. Pressed Launch. Nothing. PRETTY_NAME="LMDE 6 (faye)" NAME="LMDE" VERSION_ID="6" VERSION="6 (faye)" VERSION_C...

Did you find this page helpful?