# Want to use GUI with Xming on CentOS

**URL:** https://discourse.paraview.org/t/want-to-use-gui-with-xming-on-centos/7269
**Category:** ParaView Support
**Created:** [May 21, 2021, 7:41am UTC](https://discourse.paraview.org/t/want-to-use-gui-with-xming-on-centos/7269 "2021-05-21T07:41:50Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Suzuki](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/9d8465/32.png) [@Suzuki](https://discourse.paraview.org/u/Suzuki)
#### Post date: [May 21, 2021, 7:41am UTC](https://discourse.paraview.org/t/want-to-use-gui-with-xming-on-centos/7269/1 "2021-05-21T07:41:50Z")

</div>

I will ask you a question for the first time.

I’m sorry, I’m not good at both ParaView and English.  
If I say something strange, please let me know.

I want to use ParaView with GUI on Linux (CentOS).  
I want everyone in my group to be able to launch it by simply typing [paraview] from the command line.

So, I started Xming on the Windows side and executed the [paraview] command of the Linux version of ParaView. This ParaView is ‘ParaView-5.9.1-MPI-Linux-Python3.8-64bit.tar.gz’ that can be downloaded from the official website.

However, I get the following error:

> qt.qpa.xcb: X server does not support XInput 2  
> failed to get the current screen resources  
> libGL error: unable to load driver: swrast\_dri.so  
> libGL error: failed to load driver: swrast  
> …

  
There have been a similar question about Ubuntu. Is there a way to make this possible on CentOS? Scripts created in the Windows version can be executed with [pvbatch]. However, if possible, I would like to operate the GUI directly on the Linux side. The error message says 'libGL', is GPU required? Our calculator doesn't have a GPU.

I would appreciate it if you could answer. Thank you.

---

<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: [May 21, 2021, 7:57am UTC](https://discourse.paraview.org/t/want-to-use-gui-with-xming-on-centos/7269/2 "2021-05-21T07:57:37Z")

</div>

Why are you using Xming ?

---

<div class="post-metadata">

### Author: ![Suzuki](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/9d8465/32.png) [@Suzuki](https://discourse.paraview.org/u/Suzuki)
#### Post date: [May 21, 2021, 8:15am UTC](https://discourse.paraview.org/t/want-to-use-gui-with-xming-on-centos/7269/3 "2021-05-21T08:15:15Z")

</div>

There is no big reason. The ready-to-use X Window System was Xming. Is there something more appropriate?

---

<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: [May 21, 2021, 8:33am UTC](https://discourse.paraview.org/t/want-to-use-gui-with-xming-on-centos/7269/4 "2021-05-21T08:33:33Z")

</div>

Centos already already use Xorg, no reason to use Xming. Just download paraview from here and run it:  
[https://www.paraview.org/download/](https://www.paraview.org/download/)

---

<div class="post-metadata">

### Author: ![Suzuki](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/9d8465/32.png) [@Suzuki](https://discourse.paraview.org/u/Suzuki)
#### Post date: [May 21, 2021, 9:35am UTC](https://discourse.paraview.org/t/want-to-use-gui-with-xming-on-centos/7269/5 "2021-05-21T09:35:33Z")

</div>

Thank you for your answer. I have confirmed that paraview can be simply executed on the CentOS side.

But if possible I would like to use a remote logon client,(We use software called “TeraTerm”) and connect to a Linux server from Windows and use ParaView.  
I want to share ParaView installed on CentOS.  
I want to eliminate the hassle of downloading ParaView for Windows in each person.

Is it possible to do that?

---

<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: [May 21, 2021, 9:38am UTC](https://discourse.paraview.org/t/want-to-use-gui-with-xming-on-centos/7269/6 "2021-05-21T09:38:02Z")

</div>

You will need to use mesa for that, see here:

> [@Building ParaView with GPU accelerated MESA](https://discourse.paraview.org/t/building-paraview-with-gpu-accelerated-mesa/1317/3):
>
> Use ```bash to start the script portion. That seems to fix the formatting for me.

Keep in mind this is not the optimal way to use ParaView. You can just install ParaView on windows as well, from [https://www.paraview.org/download/](https://www.paraview.org/download/)

---

<div class="post-metadata">

### Author: ![Suzuki](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/9d8465/32.png) [@Suzuki](https://discourse.paraview.org/u/Suzuki)
#### Post date: [May 21, 2021, 1:58pm UTC](https://discourse.paraview.org/t/want-to-use-gui-with-xming-on-centos/7269/7 "2021-05-21T13:58:37Z")

</div>

Thank you for your polite reply!  
I will consider using the Windows version again.
