This application failed to start because it could not find or load the Qt platform plugin "xcb" in "".

Bug #1772900 reported by Wojciech Borkowski
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
grub-installer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After grub crash during Ubuntu 18.04 LTS (Release: 18.04) installation I had probably partially installed system.
I have fix problem with grub using boot-repair, but I'm still not able to run any Qt application.
I have been trying to deinstall and reinstall Qt libs, and finally stacked on this:

borkowsk@wojciech-CELSIUS-7:~$ konsole
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Available platform plugins are: dxcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Reinstalling the application may fix this problem.
Aborted (core dumped)
borkowsk@wojciech-CELSIUS-7:~$ krusader
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Available platform plugins are: dxcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Reinstalling the application may fix this problem.
Aborted (core dumped)

borkowsk@wojciech-CELSIUS-7:~$ xcb &
[1] 2884

borkowsk@wojciech-CELSIUS-7:~$ krusader
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Available platform plugins are: dxcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Reinstalling the application may fix this problem.
Aborted (core dumped)

Tags: qt5 xcb
Revision history for this message
Wojciech Borkowski (wborkowsk) wrote :

Reinstallation did not help anymore:

sudo apt --reinstall install krusader

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 3 434 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://pl.archive.ubuntu.com/ubuntu bionic/universe amd64 krusader amd64 2:2.6.0-1 [3 434 kB]
Fetched 3 434 kB in 0s (8 174 kB/s)
(Reading database ... 250895 files and directories currently installed.)
Preparing to unpack .../krusader_2%3a2.6.0-1_amd64.deb ...
Unpacking krusader (2:2.6.0-1) over (2:2.6.0-1) ...
Setting up krusader (2:2.6.0-1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3) ...
Processing triggers for man-db (2.8.3-2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
[1]+ Done xcb
borkowsk@wojciech-CELSIUS-7:~$ krusader
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Available platform plugins are: dxcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Reinstalling the application may fix this problem.
Aborted (core dumped)

tags: added: xcb
tags: added: qt5
Revision history for this message
Wojciech Borkowski (wborkowsk) wrote :

Looking at any solution I find similar error for VirtualBox:
https://www.virtualbox.org/ticket/17425?cversion=0&cnum_hist=3

and I use similar solution with success!

borkowsk@wojciech-CELSIUS-7:~$ ldd /usr/lib/virtualbox/*.so | grep "not found"
borkowsk@wojciech-CELSIUS-7:~$ ldd /usr/lib/virtualbox/components/*.so | grep "not found"
borkowsk@wojciech-CELSIUS-7:~$ ldd /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so | grep "not found"
 libxcb-xinerama.so.0 => not found
borkowsk@wojciech-CELSIUS-7:~$ ldd /usr/lib/virtualbox/*.so | grep "not"
borkowsk@wojciech-CELSIUS-7:~$ sudo apt --reinstall install libxcb
...

borkowsk@wojciech-CELSIUS-7:~$ konsole &
borkowsk@wojciech-CELSIUS-7:~$ krusader
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/16/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/22/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/24/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/32/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/48/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/64/"
Invalid Context= "stock" line for icon theme: "/usr/share/icons/ubuntu-mono-dark/stock/128/"
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find "mtp"
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find "mtp"
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find "mtp"
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find "mtp"
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find "mtp"
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find "mtp"

Still krusader have some warnings but now it can start!

Revision history for this message
Wojciech Borkowski (wborkowsk) wrote : Re: [Bug 1772900] Re: This application failed to start because it could not find or load the Qt platform plugin "xcb" in "".

Yes, looks like that

On 15.06.2018 16:38, Phillip Susi wrote:
> *** This bug is a duplicate of bug 1607687 ***
> https://bugs.launchpad.net/bugs/1607687
>
> ** This bug has been marked a duplicate of bug 1607687
> various packages show as installed, but files are not present
>

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in grub-installer (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.