You are not logged in.

#1 2022-01-20 11:28:20

xezo360hye
Member
Registered: 2022-01-20
Posts: 5

Qt5, could not load plugin "xcb" from "" althoug it was found

When I log in to my Arch Linux, Firefox is opening and I can open Konsole for first seconds (Alt Ctrl T), after that I can't open anything. Starting app from terminal (e.g. dolphin command) displays error in topic, also it show "Authorization required, but no authorization protocol specified". The interesting part is that when I log in from root (manually from another tty) everything is okey, so problem is in user I guess. Using KDE Plasma, xorg

Of course I can just "delete myself" and create a new user, but It's not the first time with this error and I want to get rid of this for ever and understand what's going wrong here. Any tips or something?

Last edited by xezo360hye (2022-01-20 11:29:09)

Offline

#2 2022-01-20 13:11:05

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: Qt5, could not load plugin "xcb" from "" althoug it was found

Output of

hostnamectl

If there's no static hostname, see https://wiki.archlinux.org/title/Networ … e_hostname

Offline

#3 2022-01-20 14:07:30

xezo360hye
Member
Registered: 2022-01-20
Posts: 5

Re: Qt5, could not load plugin "xcb" from "" althoug it was found

Actually, I broke something else now so it loads TWM only. But I can now open everything. And it’s not at user only. I’m scared. What’s wrong with it

P.S. I set up my static hostname now but as I said before there’s some another problem

Offline

#4 2022-01-20 14:08:20

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Qt5, could not load plugin "xcb" from "" althoug it was found

Moving to Newbie Corner.

Offline

#5 2022-01-20 14:22:51

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: Qt5, could not load plugin "xcb" from "" althoug it was found

broke something else now so it loads TWM only

How do you start the session? startx/xinit?

Offline

#6 2022-01-20 14:27:12

xezo360hye
Member
Registered: 2022-01-20
Posts: 5

Re: Qt5, could not load plugin "xcb" from "" althoug it was found

startx, in ~/.xinitrc (both user and root) last lines are:

export DESKTOP_SESSION=plasma
startplasma-x11

Offline

#7 2022-01-20 14:31:45

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: Qt5, could not load plugin "xcb" from "" althoug it was found

Please post the entire xinitrc.

Offline

#8 2022-01-20 18:33:29

xezo360hye
Member
Registered: 2022-01-20
Posts: 5

Re: Qt5, could not load plugin "xcb" from "" althoug it was found

It’s a copy of original one located somewhere in /etc/ (I don’t remember). I can’t copy it now but if you need I’ll do that later

Offline

#9 2022-01-20 18:48:27

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: Qt5, could not load plugin "xcb" from "" althoug it was found

/etc/xinitrc will not contain the segment you claimed in #6 but at some point "exec twm" and it will not do anything after that line.

Offline

#10 2022-01-22 09:53:51

xezo360hye
Member
Registered: 2022-01-20
Posts: 5

Re: Qt5, could not load plugin "xcb" from "" althoug it was found

In .xinirc there’s twm &, after it some other commands, including exec startplasma-x11

Offline

#11 2022-01-22 10:10:24

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: Qt5, could not load plugin "xcb" from "" althoug it was found

seth wrote:

Please post the entire xinitrc.

ffwi, if you start twm, you won't be starting a second wm

Last edited by seth (2022-01-22 10:10:44)

Offline

Board footer

Powered by FluxBB