sudo needed to run paraview


#1

I downloaded OpenFOAM-v6 and with it came ParaView 5.4.1 64-bit. When using paraFoam or paraview, it immediately crashes with the only message at the terminal:
Segmentation fault (core dumped)

However, if I enter: sudo paraview it comes up as:
ParaView 5.4.1 64-bit (Legacy Rendering Backend)
and appears to work as expected.

This is on a fresh install of Kubuntu 18.04 on a desktop. I assume it is a permissions problem somewhere, somehow. Any ideas for a fix?

From the Paraview About:
Version 5.4.1 64-bit
Qt Version 4.8.7
Architecture 64
vtkidType size G4bits
Embedded Python On
Python Library Path /usr/lib/python2.7
Python Library Version
2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0]
Python Numpy Support On
Python Numpy Path /usr/lib/python2.7/dist-packages/numpy
Python Numpy Version 1.13.3
Python Matplotlib Support On
Python Matplotlib Path /usr/lib/python2.7/dist-packages/matplotlib
Python Matplotlib Version 2.1.1
Python Testing off
MPI Enabled On
Disable Registry off
Test Directory
Data Directory
OpenGL Vendor NVIDIA Corporation
OpenGL Version 4.6.0 NVIDIA 390.77
OpenGL Renderer GeForce GTX 650/PCIe/SSE2


(Mathieu Westphal) #2

We do not release nor manage the version of ParaView provided by Openfoam.

Can you try to download our release from our download page : https://www.paraview.org/download/


#3

Hi Mathieu. Thanks for responding so fast. Downloaded your release. Same story. Needs sudo to run. According to paraview/About:
Version 5.6.0 64-bit. OpenGL Version 3.2.0 (instead of 4.6.0).
Any ideas? Any info that would help?