Using a 3D proxy with VirtualGL and FastX
FastX can work as a proxy to connect and take care of 2D drawing while a separate server does the 3D rendering using VirtualGL (See VirtualGL section 9.2)
This is accomplished with the -d <display> command of vglrun
Setting up the VirtualGL server
VirtualGL requires access to an X Display for rendering. Typically DISPLAY :0 (the physical display) does not listen on TCP connections. In this example we are using GDM as the Display Manager
- Log in as root
- Edit /etc/gdm/custom.conf
- In the [security] section, disable DisallowTCP
[security] DisallowTCP=false
- Edit /etc/X0.hosts
- Add the hosts you will grant access to
a single line + grants access to all
See man xhost for more information - Restart GDM service gdm restart
Display :0 will now listen for TCP connections and be able to render remote VirtualGL traffic
Connecting using FastX
From the FastX Session, run
vglrun -d your.virtualglserver.com:0 -- opengl_application app_options app_arguments
For more information and options see the VirtualGL Documentation