Hi,
I was trying to install OpenFOAM for CFD simulation.
As mentioned on installation instruction they have recommended install on docker.
To see the graphical result of the simulation, I facing this error regarding display connection error.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
Is there anything related to docker setting on OpenSUSE or any specific package that I need be aware of it?
I did not have that issue on Ubuntu.
Any help is really appreciated.
tsu2
January 16, 2021, 4:25am
2
You’re going to have to describe everything.
Verify how you installed openFOAM, from what repository or source.
What method you’re using to access a graphical display in a container. There is no single standard way, and many described by various blogs.
If you are following a published guide, provide a reference.
And,
You should of course describe what DE, WM you’re running and in particular if you’re running Wayland, XWayland or Xorg to generate your graphics.
You should also describe what is the action that throws the error you posted.
TSU
Thank you for the message.
I will reply all on your email:
tsu2:
You’re going to have to describe everything.
Verify how you installed openFOAM, from what repository or source.
I installed from the OpenFOAM ver.8 guideline to install the latest version via docker on OpenSUSE
What method you’re using to access a graphical display in a container. There is no single standard way, and many described by various blogs.
I did not set up or used any specific method to access graphic display on the container. The error shows ( I think) there is a problem on this part. However, I could not really find anything related in documentatiuon :(
If you are following a published guide, provide a reference.
yes
And,
You should of course describe what DE, WM you’re running and in particular if you’re running Wayland, XWayland or Xorg to generate your graphics.
I’m using Gnome , Xorg direct installed on the machine.
You should also describe what is the action that throws the error you posted.
the main part of the program for mesh works fine with no error , but when it comes to
paraFoam
which is the main graphical interface to see the result it gives me the above mentioned error.
Many thanks
TSU