Bug 461946

Summary: plasmashell won't start
Product: [Plasma] plasmashell Reporter: Ban Alexandru <alexban011>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: nicolas.fella
Priority: NOR    
Version: 5.26.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: journalctl error
journalctl 1
journalctl 2
journalctl 3
error from "kstart5 plasmashell"

Description Ban Alexandru 2022-11-17 12:07:26 UTC
SUMMARY
Plasmashell refuses to start. The computer gets stuck at starting systemd-edev, and when trying to launch plasmashell through the tty it says that it found xcb but cannot use it.
I've attached a journalctl -b below

OBSERVED RESULT
Tty1 freezes

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: latest arch, latest plasma
(available in About System)
KDE Plasma Version: 5.26.3
KDE Frameworks Version: not sure
Qt Version: not sure (i think 6)
Comment 1 Nicolas Fella 2022-11-17 13:11:18 UTC
There is no attachment?
Comment 2 Ban Alexandru 2022-11-17 13:44:29 UTC
(In reply to Nicolas Fella from comment #1)
> There is no attachment?

Sorry, I'll upload it now
Comment 3 Ban Alexandru 2022-11-17 13:45:27 UTC
Created attachment 153834 [details]
journalctl error
Comment 4 Ban Alexandru 2022-11-17 13:48:47 UTC
I should also mention I saw that Powerdevil also failed to start, not sure if this is related.

Yesterday I updated my system with `sudo pacman -Syyu` and today it just freezes the screen .

If I try to launch plasmashell through tty2 it says this:
```
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: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Aborted (core dumped)
```
Comment 5 Ban Alexandru 2022-11-17 13:51:06 UTC
I tried reinstalling libxcb, plasma-workspace and a few other things but no luck
Comment 6 Ban Alexandru 2022-11-17 14:56:07 UTC
Created attachment 153836 [details]
journalctl 1
Comment 7 Ban Alexandru 2022-11-17 14:56:19 UTC
Created attachment 153837 [details]
journalctl 2
Comment 8 Ban Alexandru 2022-11-17 14:56:33 UTC
Created attachment 153838 [details]
journalctl 3
Comment 9 Ban Alexandru 2022-11-17 15:00:51 UTC
I've attached more pictures.

I've tried reinstalling plasma-workspace, plasma-desktop, plasma-framework and qt5-base, but it still doesnt work (I have QT5 not 6, but I don't know how to edit my first comment)

I've also tried: https://forum.manjaro.org/t/how-to-fix-broken-kde-desktop-qt/70459

'env|grep DISPLAY' doesn't display anything
Comment 10 Ban Alexandru 2022-11-17 15:12:17 UTC
Created attachment 153839 [details]
error from "kstart5 plasmashell"
Comment 11 Antonio Rojas 2022-11-17 16:16:22 UTC
All those errors you posted are happening because you are trying to run "plasmashell" from a tty, which is not possible. You need to run it on an already existing X instance. What you need to do is debug your errors on boot, which are unlikely to be related to KDE at all. I suggest you ask on the Arch forums (if you're actually using Arch and not some random derivative)
Comment 12 Nicolas Fella 2022-11-17 23:04:27 UTC
What Antonio said
Comment 13 Ban Alexandru 2022-11-17 23:07:50 UTC
Oh, alright. Thank you guys, I'll either ask there or just reinstall Arch