Startlxqt gives error about xcb on Arch ARM
I'm on an RPi2, and I'm trying to get lxqt working. I've got it installed, along with the suggested package libxkcbcommon. When I try "startlxqt" it gives me the error "This application failed to start because it could not find or load the qt platform 'xcb'". I have all of the packages that come up with the pacman search for xcb. Any help or tips you could give would be great.
Thanks in advance for the help! If this is the wrong place to ask, please let me know.
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Text
- ID
- 31kunm
12 comments
I had similar issues when trying to get lxqt running on my Pi 2. I'm still not sure what exactly was the thing that got it working. I just started over. Redid the arch sd card, intalled all the packages again and it worked the second time. I believe these are the packages I have installed. When I get home this evening and can look at my setup and try to help you out.
pacman -S lxqt qt5 xf86-video-fbdev xf86-input-synaptics xorg-server xorg-server-utils xorg-xinit mesa xf86-input-keyboard xf86-input-mouse xterm
Thank you! Installing those helped! It's not running yet, unfortunately. Now it gives me "QXcbconnection: could not connect to display". Did you run into that?
I don't remember getting that exact message. Sorry, I didn't get a chance yesterday to check my setup. I should have more time tonight.
I doubt it makes a difference but you also need to install openbox.
Do you have another wm installed or are you just stuck at the command line trying to start x?
Started with a fresh ALARM image.
Followed this setup guide for RPi.
Rebooted.
Did sudo pacman -S lxqt openbox obconf xf86-video-fbdev xorg-server xorg-server-utils xorg-xinit mesa xf86-input-keyboard xf86-input-mouse xterm ttf-dejavu libxkbcommon libxkbcommon-x11
Then nano .xinitrc and type "exec startlxqt" save
startx and it's working.
It's working now, thanks! For some reason starting it with startx rather than startlxqt worked...
Glad you got it working!
install:
It was installed already. Reinstalling did not solve the problem.
Deleted before we saved it.