# Error message: qt.qpa.xcb: X server does not support XInput 2

**URL:** https://discourse.paraview.org/t/error-message-qt-qpa-xcb-x-server-does-not-support-xinput-2/6487
**Category:** ParaView Support
**Tags:** opengl, vtk
**Created:** [February 17, 2021, 4:21pm UTC](https://discourse.paraview.org/t/error-message-qt-qpa-xcb-x-server-does-not-support-xinput-2/6487 "2021-02-17T16:21:54Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![fab\_str](https://discourse.paraview.org/user_avatar/discourse.paraview.org/fab_str/32/5928_2.png) [@fab\_str](https://discourse.paraview.org/u/fab_str)
#### Post date: [February 17, 2021, 4:21pm UTC](https://discourse.paraview.org/t/error-message-qt-qpa-xcb-x-server-does-not-support-xinput-2/6487/1 "2021-02-17T16:21:54Z")

</div>

I have installed paraview version 5.7.0 on my WSL1 Ubuntu 20.04.2, but when I try to run the program by typing paraview, I get the following error message:

> qt.qpa.xcb: X server does not support XInput 2  
> failed to get the current screen resources  
> ( 0.971s) [paraview]vtkXOpenGLRenderWindow.:296 ERR| vtkXOpenGLRenderWindow (0x7fffce7360c0): Could not find a decent config

> ( 0.976s) [paraview]vtkXOpenGLRenderWindow.:516 ERR| vtkXOpenGLRenderWindow (0x7fffce7360c0): Could not find a decent visual

> Loguru caught a signal: SIGABRT  
> Stack trace:  
> 32 0x7fe1e958fdae paraview(+0x8dae) [0x7fe1e958fdae]  
> 31 0x7fe1e93770b3 \_\_libc\_start\_main + 243  
> 30 0x7fe1e958fb5f paraview(+0x8b5f) [0x7fe1e958fb5f]  
> 29 0x7fe1e9594d8a paraview(+0xdd8a) [0x7fe1e9594d8a]  
> 28 0x7fe1e9590bfc paraview(+0x9bfc) [0x7fe1e9590bfc]  
> 27 0x7fe1e91f8e70 pqParaViewBehaviors::pqParaViewBehaviors(QMainWindow\*, QObject\*) + 2480  
> 26 0x7fe1e9173242 pqAlwaysConnectedBehavior::pqAlwaysConnectedBehavior(QObject\*) + 258  
> 25 0x7fe1e9173114 pqAlwaysConnectedBehavior::serverCheck() + 180  
> 24 0x7fe1e79523fa pqObjectBuilder::createServer(pqServerResource const&, int) + 474  
> 23 0x7fe1e7671c43 vtkSMSession::ConnectToSelf(int) + 131  
> 22 0x7fe1e752198d vtkProcessModule::RegisterSession(vtkSession\*) + 141  
> 21 0x7fe1e4e2f4b2 /usr/bin/…/lib/x86\_64-linux-gnu/libvtkCommonCore-pv5.7.so.1(+0x37f4b2) [0x7fe1e4e2f4b2]  
> 20 0x7fe1e4d0dd3d vtkCallbackCommand::Execute(vtkObject\*, unsigned long, void\*) + 29  
> 19 0x7fe1e77c2058 /usr/bin/…/lib/x86\_64-linux-gnu/libvtkGUISupportQt-pv5.7.so.1(+0x42058) [0x7fe1e77c2058]  
> 18 0x7fe1e77ad8c1 /usr/bin/…/lib/x86\_64-linux-gnu/libvtkGUISupportQt-pv5.7.so.1(+0x2d8c1) [0x7fe1e77ad8c1]  
> 17 0x7fe1e8182300 QMetaObject::activate(QObject\*, int, int, void\*\*) + 2000  
> 16 0x7fe1e78ef3e7 /usr/bin/…/lib/x86\_64-linux-gnu/libpqCore-pv5.7.so.1(+0x7f3e7) [0x7fe1e78ef3e7]  
> 15 0x7fe1e78ea2d6 pqServerManagerObserver::connectionCreated(long long) + 70  
> 14 0x7fe1e8182300 QMetaObject::activate(QObject\*, int, int, void\*\*) + 2000  
> 13 0x7fe1e79a1626 pqServerManagerModel::onConnectionCreated(long long) + 774  
> 12 0x7fe1e78e8cf6 pqServerManagerModel::serverAdded(pqServer\*) + 70  
> 11 0x7fe1e8182300 QMetaObject::activate(QObject\*, int, int, void\*\*) + 2000  
> 10 0x7fe1e91c1476 pqDefaultViewBehavior::onServerCreation(pqServer\*) + 86  
> 9 0x7fe1e57faf05 vtkPVSessionCore::GatherInformation(unsigned int, vtkPVInformation\*, unsigned int) + 53  
> 8 0x7fe1e57fad2a vtkPVSessionCore::GatherInformationInternal(vtkPVInformation\*, unsigned int) + 58  
> 7 0x7fe1e5710cfd vtkPVRenderingCapabilitiesInformation::CopyFromObject(vtkObject\*) + 13  
> 6 0x7fe1e5710cbe vtkPVRenderingCapabilitiesInformation::GetLocalCapabilities() + 430  
> 5 0x7fe1e39715e5 vtkOpenGLRenderWindow::SupportsOpenGL() + 949  
> 4 0x7fe1e3a05f97 vtkXOpenGLRenderWindow::WindowInitialize() + 23  
> 3 0x7fe1e3a09903 vtkXOpenGLRenderWindow::CreateAWindow() + 2515  
> 2 0x7fe1e9375859 abort + 299  
> 1 0x7fe1e939618b gsignal + 203  
> 0 0x7fe1e9396210 /usr/bin/…/lib/x86\_64-linux-gnu/libc.so.6(+0x46210) [0x7fe1e9396210]  
> ( 0.980s) [paraview] :0 FATL| Signal: SIGABRT  
> Aborted (core dumped)

I have installed Ubuntu on my windows 10 laptop computer (Graphic card: NVIDIA GeForce MX130 and Intel(R) UHD Graphics) and I also have Xming installed. What is causing the problem and how to fix it?

---

<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: [February 17, 2021, 4:23pm UTC](https://discourse.paraview.org/t/error-message-qt-qpa-xcb-x-server-does-not-support-xinput-2/6487/2 "2021-02-17T16:23:45Z")

</div>

ParaView is not compatible with WSL yet. Install the correct version of ParaView for Microsoft Windows 10:  
[https://www.paraview.org/download/](https://www.paraview.org/download/)

---

<div class="post-metadata">

### Author: ![fab\_str](https://discourse.paraview.org/user_avatar/discourse.paraview.org/fab_str/32/5928_2.png) [@fab\_str](https://discourse.paraview.org/u/fab_str)
#### Post date: [February 18, 2021, 8:05am UTC](https://discourse.paraview.org/t/error-message-qt-qpa-xcb-x-server-does-not-support-xinput-2/6487/3 "2021-02-18T08:05:54Z")

</div>

Ok. It’s possible to use ParaView for Microsoft Windows on Ubuntu WSL1 ?

---

<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: [February 18, 2021, 8:32am UTC](https://discourse.paraview.org/t/error-message-qt-qpa-xcb-x-server-does-not-support-xinput-2/6487/4 "2021-02-18T08:32:17Z")

</div>

You can use ParaView for Microsoft Windows with Microsoft Windows. Why do you want to run it within Ubuntu WSL1 ?

---

<div class="post-metadata">

### Author: ![fab\_str](https://discourse.paraview.org/user_avatar/discourse.paraview.org/fab_str/32/5928_2.png) [@fab\_str](https://discourse.paraview.org/u/fab_str)
#### Post date: [February 18, 2021, 8:45am UTC](https://discourse.paraview.org/t/error-message-qt-qpa-xcb-x-server-does-not-support-xinput-2/6487/5 "2021-02-18T08:45:31Z")

</div>

Because I run my simulations on WSL1 and the simulation package is not available Microsoft Windows. So VTK is also working on WSL1? I also have error messanges when I run it.

---

<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: [February 18, 2021, 8:48am UTC](https://discourse.paraview.org/t/error-message-qt-qpa-xcb-x-server-does-not-support-xinput-2/6487/6 "2021-02-18T08:48:29Z")

</div>

Just share a folder between Microsoft Windows and WSL and use ParaView with Microsoft Windows:

> <https://stackoverflow.com/questions/46413149/share-folder-between-windows-and-wsl>

Of course, another alternative is to use a proper linux distribution.

@cory.quammen: We ought to write a Tips and Tricks about the WSL situation.

---

<div class="post-metadata">

### Author: ![Nithin\_Mukundakumar](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nithin_mukundakumar/32/6013_2.png) [@Nithin\_Mukundakumar](https://discourse.paraview.org/u/Nithin_Mukundakumar)
#### Post date: [March 1, 2021, 1:08pm UTC](https://discourse.paraview.org/t/error-message-qt-qpa-xcb-x-server-does-not-support-xinput-2/6487/7 "2021-03-01T13:08:08Z")

</div>

Hi,

I am trying to run paraview gui using Xming on a cluster. I use putty to access the cluster. X-Forwarding is working as I tested it with xlock. When i enter the command “paraview”, the same error pops up.

---

<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: [May 15, 2021, 6:39pm UTC](https://discourse.paraview.org/t/error-message-qt-qpa-xcb-x-server-does-not-support-xinput-2/6487/8 "2021-05-15T18:39:03Z")

</div>

My guess is that the OpenGL setup available through that X setup is not suitable. Can you get more information about the GL setup? Perhaps `glxinfo`?

---

<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: [May 15, 2021, 6:46pm UTC](https://discourse.paraview.org/t/error-message-qt-qpa-xcb-x-server-does-not-support-xinput-2/6487/9 "2021-05-15T18:46:01Z")

</div>

[This thread](https://discourse.paraview.org/t/build-paraview-inside-windows-subsystem-for-linux-wsl/6439/15) seem to have a better solution.
