since 2 days iam sitting here and installing our new workstation…
Linux 4.4.0-53-generic #74-Ubuntu x64 x86_64 x86_64 GNU/Linux
NVIDIA GTX970 (2x (no SLI) )
Iam remotely logged in to my workstation and want to start some openGL apps like QTcreator or glxgears for testing. It works well until i install the nvidia driver. After the installation of nvidia-367 from the official ubuntu ppa i cant start OPENGL apps via ssh.
Xforwarding is set to yes in ssh*_config file
$ ssh -X user@host $ glxgears ERROR: couldn't get an RGB, Double-buffered visual $ glxinfo name of display: localhost:10.0 ERROR: couldn't find RGB GLX visual or fbconfig $ glewinfo ERROR: glewCreateContext failed $ qtcreator Coult not initialize GLX Aborted (core dumped)
I tried many solutions:
Added iglx to:
[Seat:*] # Dump core xserver-command=X -core +iglx #Section "ServerFlags" #Option "AllowIndirectGLX" "on" #EndSection
$ssh -Y user@HOST
every driver has the same problems.
I want to login via Xming and Putty too (Windows7) and iam restricted to use those apps under windows.
Sometimes qtcreator worked if i started it with:
qtcreator -noload Welcome
qtcreator -noload Welcome -noload QmlProfile -noload QmlDesigner
but this doesnt work anymore…
My understanding of X11forwarding is that when iam logged in via ssh the Xserver(workstation) sends opengl commands to my client. Those commands are rendered with the client opengl libraries. The +iglx commands sets the rendering to my workstation and sends the output to the tunnel?
I dont have another pc with nvidia, so i cant check if it would work under nvidiaenvironment.
Another idea i have is that i create a seat for ssh where i let them use my intelonboard chip?
I hope you can help me :-)
FYI: xclock works