X server settings

From Charm-Tau Detector
(Difference between revisions)
Jump to: navigation, search
m
 
Line 12: Line 12:
 
Another workaround is to use x2go. Run a terminal at remote server using x2goclient. Then, set a variable:
 
Another workaround is to use x2go. Run a terminal at remote server using x2goclient. Then, set a variable:
  
export LIBGL_ALWAYS_INDIRECT=1
+
  export LIBGL_ALWAYS_INDIRECT=1
  
 
Run your GL application from the terminal.
 
Run your GL application from the terminal.

Latest revision as of 13:35, 10 September 2018

To allow GL applications run from a remote server via X protocol, one might need to add the following to the local X server configuration:

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

On the modern Linux systems the appropriate place for these lines would be some file in the /etc/X11/xorg.conf.d/ directory, for instance, /etc/X11/xorg.conf.d/glxsettings.conf.

The receipt seems to help sometimes for proprietary NVidia drivers.


Another workaround is to use x2go. Run a terminal at remote server using x2goclient. Then, set a variable:

export LIBGL_ALWAYS_INDIRECT=1

Run your GL application from the terminal.

Personal tools