# Issue with PV5.11 RC2 installer on Ubuntu

**URL:** https://discourse.paraview.org/t/issue-with-pv5-11-rc2-installer-on-ubuntu/10597
**Category:** ParaView Support
**Created:** [October 25, 2022, 2:20pm UTC](https://discourse.paraview.org/t/issue-with-pv5-11-rc2-installer-on-ubuntu/10597 "2022-10-25T14:20:00Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Andy\_Bauer](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andy_bauer/32/5442_2.png) [@Andy\_Bauer](https://discourse.paraview.org/u/Andy_Bauer)
#### Post date: [October 25, 2022, 2:20pm UTC](https://discourse.paraview.org/t/issue-with-pv5-11-rc2-installer-on-ubuntu/10597/1 "2022-10-25T14:20:00Z")

</div>

I’m getting the following error with the 5.11 RC2 candidate that I downloaded from the PV download site:

```auto
acbauer@hoth:~/Code/ParaView/ParaView-5.11.0-RC2-MPI-Linux-Python3.9-x86_64$ bin/paraview
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
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: xcb.

error: exception occurred: Subprocess aborted

```

I’ve set the environment variable for `export QT_QPA_PLATFORM=wayland` and checked the other typical environment variables (LD\_LIBRARY\_PATH, PYTHONPATH). This is on an Ubuntu machine. The ParaView-5.10.1-MPI-Linux-Python3.9-x86\_64 installed version works. Any idea what the issue is? Anything I should try out?

Thanks,  
Andy

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [October 25, 2022, 11:29pm UTC](https://discourse.paraview.org/t/issue-with-pv5-11-rc2-installer-on-ubuntu/10597/2 "2022-10-25T23:29:00Z")

</div>

Which ubuntu version are you using ?

I wonder if this is caused by wayland.

---

<div class="post-metadata">

### Author: ![Andy\_Bauer](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andy_bauer/32/5442_2.png) [@Andy\_Bauer](https://discourse.paraview.org/u/Andy_Bauer)
#### Post date: [October 26, 2022, 11:59am UTC](https://discourse.paraview.org/t/issue-with-pv5-11-rc2-installer-on-ubuntu/10597/3 "2022-10-26T11:59:33Z")

</div>

I’m on Ubuntu 22.04.1 LTS.

Note that when I run the PV GUI from master on my machine (which runs successfully) I get the following similar message:

```auto
acbauer@hoth:~/Code/ParaView/debug$ bin/paraview
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

```

Also, `pvpython` from the RC2 installer works fine. I tested that with just rendering the Wavelet source. I suppose that makes sense though since this appears to be a Qt issue.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [October 27, 2022, 1:47am UTC](https://discourse.paraview.org/t/issue-with-pv5-11-rc2-installer-on-ubuntu/10597/4 "2022-10-27T01:47:59Z")

</div>

I’m unable to reproduce on my ubuntu 22.04 running wayland, with either rc1 or rc2.

Is your QT\_PLUGIN\_PATH env var set ?

---

<div class="post-metadata">

### Author: ![Andy\_Bauer](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andy_bauer/32/5442_2.png) [@Andy\_Bauer](https://discourse.paraview.org/u/Andy_Bauer)
#### Post date: [October 27, 2022, 12:08pm UTC](https://discourse.paraview.org/t/issue-with-pv5-11-rc2-installer-on-ubuntu/10597/5 "2022-10-27T12:08:23Z")

</div>

Doesn’t look like it. I have:

```auto
acbauer@hoth:~$ env |grep QT
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus

```

I tried `paraview --dr` to see if it was anything in my registry either and I get the same issue. So I tried this which was interesting in that it failed before showing the command line options:

```auto
acbauer@hoth:~/Code/ParaView/ParaView-5.11.0-RC2-MPI-Linux-Python3.9-x86_64$ bin/paraview --help
Launcher options:
  --print Print modified environment.
  --system-mpi Use MPI implementation available on the system.
  --mesa Use Mesa GL for rendering.
  --backend <backend> Specify mesa backend.

Available backends:
    llvmpipe
    swr

paraview options:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
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: xcb.

error: exception occurred: Subprocess aborted

```

Here are my environment variables (some I have unset while testing but nothing helped that either):acbauer@hoth:~/Code/ParaView/ParaView-5.11.0-RC2-MPI-Linux-Python3.9-x86\_64$ env  
SHELL=/bin/bash  
SESSION\_MANAGER=local/hoth:@/tmp/.ICE-unix/9662,unix/hoth:/tmp/.ICE-unix/9662  
QT\_ACCESSIBILITY=1  
COLORTERM=truecolor  
XDG\_CONFIG\_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg  
SSH\_AGENT\_LAUNCHER=gnome-keyring  
XDG\_MENU\_PREFIX=gnome-  
GNOME\_DESKTOP\_SESSION\_ID=this-is-deprecated  
CONDA\_EXE=/home/acbauer/miniconda3/bin/conda  
\_CE\_M=  
GNOME\_SHELL\_SESSION\_MODE=ubuntu  
SSH\_AUTH\_SOCK=/run/user/1001/keyring/ssh  
XMODIFIERS=@im=ibus  
DESKTOP\_SESSION=ubuntu  
GTK\_MODULES=gail:atk-bridge  
PWD=/home/acbauer/Code/ParaView/ParaView-5.11.0-RC2-MPI-Linux-Python3.9-x86\_64  
LOGNAME=acbauer  
XDG\_SESSION\_DESKTOP=ubuntu  
XDG\_SESSION\_TYPE=wayland  
SYSTEMD\_EXEC\_PID=9719  
XAUTHORITY=/run/user/1001/.mutter-Xwaylandauth.Y1MRU1  
HOME=/home/acbauer  
USERNAME=acbauer  
IM\_CONFIG\_PHASE=1  
LANG=en\_US.UTF-8  
LS\_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:_.tar=01;31:_.tgz=01;31:_.arc=01;31:_.arj=01;31:_.taz=01;31:_.lha=01;31:_.lz4=01;31:_.lzh=01;31:_.lzma=01;31:_.tlz=01;31:_.txz=01;31:_.tzo=01;31:_.t7z=01;31:_.zip=01;31:_.z=01;31:_.dz=01;31:_.gz=01;31:_.lrz=01;31:_.lz=01;31:_.lzo=01;31:_.xz=01;31:_.zst=01;31:_.tzst=01;31:_.bz2=01;31:_.bz=01;31:_.tbz=01;31:_.tbz2=01;31:_.tz=01;31:_.deb=01;31:_.rpm=01;31:_.jar=01;31:_.war=01;31:_.ear=01;31:_.sar=01;31:_.rar=01;31:_.alz=01;31:_.ace=01;31:_.zoo=01;31:_.cpio=01;31:_.7z=01;31:_.rz=01;31:_.cab=01;31:_.wim=01;31:_.swm=01;31:_.dwm=01;31:_.esd=01;31:_.jpg=01;35:_.jpeg=01;35:_.mjpg=01;35:_.mjpeg=01;35:_.gif=01;35:_.bmp=01;35:_.pbm=01;35:_.pgm=01;35:_.ppm=01;35:_.tga=01;35:_.xbm=01;35:_.xpm=01;35:_.tif=01;35:_.tiff=01;35:_.png=01;35:_.svg=01;35:_.svgz=01;35:_.mng=01;35:_.pcx=01;35:_.mov=01;35:_.mpg=01;35:_.mpeg=01;35:_.m2v=01;35:_.mkv=01;35:_.webm=01;35:_.webp=01;35:_.ogm=01;35:_.mp4=01;35:_.m4v=01;35:_.mp4v=01;35:_.vob=01;35:_.qt=01;35:_.nuv=01;35:_.wmv=01;35:_.asf=01;35:_.rm=01;35:_.rmvb=01;35:_.flc=01;35:_.avi=01;35:_.fli=01;35:_.flv=01;35:_.gl=01;35:_.dl=01;35:_.xcf=01;35:_.xwd=01;35:_.yuv=01;35:_.cgm=01;35:_.emf=01;35:_.ogv=01;35:_.ogx=01;35:_.aac=00;36:_.au=00;36:_.flac=00;36:_.m4a=00;36:_.mid=00;36:_.midi=00;36:_.mka=00;36:_.mp3=00;36:_.mpc=00;36:_.ogg=00;36:_.ra=00;36:_.wav=00;36:_.oga=00;36:_.opus=00;36:_.spx=00;36:_.xspf=00;36:  
XDG\_CURRENT\_DESKTOP=ubuntu:GNOME  
VTE\_VERSION=6800  
WAYLAND\_DISPLAY=wayland-0  
CMAKE\_PREFIX\_PATH=/home/acbauer/Code/ParaView/qt5superbuild/install/lib/cmake/Qt5  
GNOME\_TERMINAL\_SCREEN=/org/gnome/Terminal/screen/cc403dbf\_56b6\_4cf1\_93bc\_f2e767b0cfed  
GNOME\_SETUP\_DISPLAY=:3  
LESSCLOSE=/usr/bin/lesspipe %s %s  
XDG\_SESSION\_CLASS=user  
TERM=xterm-256color  
\_CE\_CONDA=  
LESSOPEN=| /usr/bin/lesspipe %s  
USER=acbauer  
GNOME\_TERMINAL\_SERVICE=:1.327  
CONDA\_SHLVL=0  
DISPLAY=:2  
SHLVL=1  
QT\_IM\_MODULE=ibus  
CONDA\_PYTHON\_EXE=/home/acbauer/miniconda3/bin/python  
LD\_LIBRARY\_PATH=/home/acbauer/krb5/lib:  
XDG\_RUNTIME\_DIR=/run/user/1001  
XDG\_DATA\_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop  
PATH=/home/acbauer/miniconda3/condabin:/home/acbauer/Util/CMake/cmake-3.19.8-Linux-x86\_64/bin:/home/acbauer/ossh/bin:/home/acbauer/krb5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin  
GDMSESSION=ubuntu  
KRB\_CONFIG=/home/acbauer/krb5/etc/krb5.conf  
DBUS\_SESSION\_BUS\_ADDRESS=unix:path=/run/user/1001/bus  
OLDPWD=/home/acbauer  
\_=/usr/bin/env

```auto

```

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [October 27, 2022, 12:29pm UTC](https://discourse.paraview.org/t/issue-with-pv5-11-rc2-installer-on-ubuntu/10597/6 "2022-10-27T12:29:03Z")

</div>

At this point I have no idea. You should try on another computer.

Maybe @ben.boeckel or @cory.quammen have an idea.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [October 28, 2022, 1:13am UTC](https://discourse.paraview.org/t/issue-with-pv5-11-rc2-installer-on-ubuntu/10597/7 "2022-10-28T01:13:20Z")

</div>

The `xcb` plugin now requires way more libraries that might not be on minimal installations. I would recommend running with `LD_DEBUG=libs` to see what fails to load and installing the packages for those. The Fedora list includes:

- /usr/bin/glxinfo
- git
- mesa-dri-drivers
- mesa-libGL\*
- libXcursor-devel
- libxcrypt-compat
- libxkbcommon
- libxkbcommon-x11
- xcb-util-image
- xcb-util-wm
- xcb-util
- xcb-util-image
- xcb-util-keysyms
- xcb-util-renderutil

The `xcb` packages are likely of most interest here.

---

<div class="post-metadata">

### Author: ![Andy\_Bauer](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andy_bauer/32/5442_2.png) [@Andy\_Bauer](https://discourse.paraview.org/u/Andy_Bauer)
#### Post date: [October 28, 2022, 1:01pm UTC](https://discourse.paraview.org/t/issue-with-pv5-11-rc2-installer-on-ubuntu/10597/8 "2022-10-28T13:01:45Z")

</div>

That was the fix. For me I had to install the following packages for Ubuntu:

- libxcb-xinerama0
- libxcb-xinput0

Thanks for the help!

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [October 31, 2022, 5:09am UTC](https://discourse.paraview.org/t/issue-with-pv5-11-rc2-installer-on-ubuntu/10597/9 "2022-10-31T05:09:24Z")

</div>

Do we have a package list somewhere for the binary release ? This would be usefull.

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [October 31, 2022, 3:20pm UTC](https://discourse.paraview.org/t/issue-with-pv5-11-rc2-installer-on-ubuntu/10597/10 "2022-10-31T15:20:30Z")

</div>

Not to my knowledge. Is there a standard way to do this on linux? Maybe a ubuntu-setup.sh script that we package calls `apt install libxcb-*` and anything else required and describes these in a README?

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [October 31, 2022, 3:21pm UTC](https://discourse.paraview.org/t/issue-with-pv5-11-rc2-installer-on-ubuntu/10597/11 "2022-10-31T15:21:59Z")

</div>

Might be better to add it to the FAQ here on Discourse.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [November 1, 2022, 1:26am UTC](https://discourse.paraview.org/t/issue-with-pv5-11-rc2-installer-on-ubuntu/10597/12 "2022-11-01T01:26:23Z")

</div>

I would say no to a script, maintaining it will be a pain and it will be specific to each version of each distro.

Just a list of debian packages is fine, fancier distro user will be able to figure it out themselves.

This list should be were ParaView binary release user will find it, so discourse may be a good choice, but docs could be too.
