ERROR: qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""

Hello,

I tried running Paraview, but got the error message:

qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.


paraview:7897 terminated with signal 6 at PC=72d553a969fc SP=7ffe31ae2230.  Backtrace:
/usr/bin/../lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x72d553a969fc]
/usr/bin/../lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x72d553a42476]
/usr/bin/../lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x72d553a287f3]
/usr/bin/../lib/x86_64-linux-gnu/libQt6Core.so.6(_Z13qErrnoWarningPKcz+0x0)[0x72d5582a3203]
/usr/bin/../lib/x86_64-linux-gnu/libQt6Gui.so.6(+0x11936a)[0x72d55df1936a]
/usr/bin/../lib/x86_64-linux-gnu/libQt6Gui.so.6(_ZN22QGuiApplicationPrivate21createEventDispatcherEv+0x38)[0x72d55dfc76d8]
/usr/bin/../lib/x86_64-linux-gnu/libQt6Core.so.6(_ZN23QCoreApplicationPrivate4initEv+0x1067)[0x72d55835a067]
/usr/bin/../lib/x86_64-linux-gnu/libQt6Gui.so.6(_ZN22QGuiApplicationPrivate4initEv+0x34)[0x72d55dfc91d4]
/usr/bin/../lib/x86_64-linux-gnu/libQt6Widgets.so.6(_ZN19QApplicationPrivate4initEv+0xd)[0x72d55f3858fd]
paraview(+0x13e66)[0x640f2ad29e66]
/usr/bin/../lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x72d553a29d90]
/usr/bin/../lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x72d553a29e40]
paraview(+0xae25)[0x640f2ad20e25]

IĀ“m running Ubuntu 22.04 LTS and installed Paraview via Ubuntu Software.

apt install libxcb-xinerama0
apt install libxcb-xinput0

FAQ: Iā€™m using Ubuntu 22 and ParaView reports ā€œCould not load the Qt platform plugin ā€˜xcbā€™ā€

did not work to fix the error. Files are already updated to the newest version.

Any suggestions?

Thanks!

Please download binary release from https://www.paraview.org/download/

Sorry, IĀ“am an unexperienced Linux user. I downloaded version 5.13.2.

  1. Is it compatible with Ubuntu 22.04?
  2. Do I have to remove the old ParaView installation?
  3. Do I have to just double click the ā€œparaviewā€ file from the bin folder to install the new ParaView version?
  • Is it compatible with Ubuntu 22.04?

yes

  • Do I have to remove the old ParaView installation?

Iā€™d recommend to do so

  • Do I have to just double click the ā€œparaviewā€ file from the bin folder to install the new ParaView version?

Yes

Thanks! ParaView is running again without errors.

IĀ“ve read your suggestion to download the binary release at another thread, but didnā€™t know what to do with it. Perhaps you could add a spoiler for Linux beginners, like

Please download latest binary release from https://www.paraview.org/download/

Guide for beginners
  1. Remove old ParaView installation.
  2. Run ParaView by double clicking the ā€œparaviewā€ file from the bin folder.

Here you go:

1 Like