Use a remote linux bloated graphical application from OS X

1

I need to use remotely some graphical application in a linux machine. For very basic applications, I just connect remotely from my OS X Lion using

ssh -X machine:

and then

./gedit &

and it works. But for more complex graphical applications, they hang up constantly and I get the error:

Xlib:  extension "NV-GLX" missing on display "localhost:11.0".

I wonder how could I circumvent this. Somebody recommended vncserver and vncclient, while others X -query

Open the way

Posted 2012-03-07T15:22:16.607

Reputation: 6 061

Hello. NV-GLX is a part of NVidia's binary driver package. There have been some problems with the latest version of Nvidia's driver (295.10). It causes hangs and segfaults in some applications. Could you switch to Nouveau driver and see if the error persists? P.S. Did you try running the same apps on the Linux box? Do you get the same errors? – Kaurin – 2012-03-07T17:00:18.877

in a linux ubuntu box i got the same problem (well, it was in the same machine under a virtual machine) – Open the way – 2012-03-07T17:47:32.223

how could I switch to Nouveau driver? Would I kill OSX Lion? – Open the way – 2012-03-07T18:08:46.003

Let me see if I understand you correctly: You have Physical machine (MAC) with MAC OS X Lion and a Physical machine with Ubuntu. Is this correct? – Kaurin – 2012-03-07T18:17:11.480

No. I have a macbook pro running os x lion. Underneath a virtualmachine running ubuntu. So it us the same problem since in this case the VM accesses the graphics with the same problematic – Open the way – 2012-03-07T22:12:36.713

Answers

2

I would say that the capability detection of your X application breaks down somewhere - it wants to use GL rendering, but the X server will have none of it. Can you please try setting LIBGL_ALWAYS_SOFTWARE=1 in the environment? That should force your application to not use hardware rendering for OpenGL.

Have a look at this one here: Force software based opengl rendering

Florenz Kley

Posted 2012-03-07T15:22:16.607

Reputation: 1 453

I tried setting the flag, but get the same error, will have a look at the link – Open the way – 2012-03-08T10:30:46.823

not all apps honor the env. Does it maybe have command line switches to disable OpenGL acceleration? – Florenz Kley – 2012-03-08T10:37:52.433

unfortunately not, as far as I can see. I also tried from a linux machine, installing the GL software driver but same error, seems to be application scpefici error – Open the way – 2012-03-08T10:40:31.353