< Back

Linux Remote Display Issues


Problem:

I receive a GLX error when remotely displaying Tecplot 360 on my Linux machine.

Solution:

First be sure your graphics drivers are up to date from your graphics provider (i.e. NVIDIA, AMD, etc.). If that doesn’t solve your problem, it is likely an issue with Indirect OpenGL Rendering being disabled.

On newer Linux systems, NVIDIA and others are no longer starting X11 servers with indirect OpenGL enabled. Indirect rendering is what is used when you use GLX from a remote machine. As a result a simple OpenGL application like glxinfo isn’t even able to connect and create an OpenGL drawing area.

Currently this issue is on Fedora 31. Running glxinfo from the remote machine after ssh’ing with -X or -Y reports that it cannot create an OpenGL context.

In order to enable indirect rendering (aka rendering over GLX) you have to add the following instructions to your /etc/X11/xorg.conf file (if it exists). If /etc/X11/xorg.conf doesn’t exist, add the instructions into the file into /etc/X11/xorg.conf.d/99-allow-indirect-glx.conf:

Section "ServerFlags"
Option "AllowIndirectGLX" "on"
Option "IndirectGLX" "on"
EndSection

After adding the instructions, log out (possibly reboot) and log back in.

Now ssh -X to the remote machine and try running glxinfo. If glxinfo is able to connect then Tecplot should be able to as well.