Re: Need X window for OpenGL context on graphics hardware.
Re: Need X window for OpenGL context on graphics hardware.
- Subject: Re: Need X window for OpenGL context on graphics hardware.
- From: "Stephen J. Butler" <email@hidden>
- Date: Sat, 9 May 2009 10:23:34 -0500
On Fri, May 8, 2009 at 11:59 PM, Keith D. Matthews
<email@hidden> wrote:
>
> Summary:
> I need the following to work when logging in remotely.
>
>> env DISPLAY=localhost:0 /usr/X11R6/bin/glxgears
>
> Error: couldn't open display (null)
This is most certainly not correct. The format of the OS X DISPLAY
variable is different. At the very least, it needs to be created for
you. Which leads to the other problem...
> Details:
> I'm trying to use my MacPro as a ParaView server, i.e. running pvserver. I
> believe the problem I'm having is the same as the one above. pvserver needs
> to open an X window on the server to get access to the graphics hardware,
> but since I'm logging in remotely, X11 isn't running.
>
> Below is the pvserver error message.
>
> Thanks,
> Keith
>
> #################
> bin> ./pvserver -rc --client-host=<actual client IP>
> Connected to client
> _RegisterApplication(), FAILED TO establish the default connection to the
> WindowServer, _CGSDefaultConnection() is NULL.
> ERROR: In
> /Users/berk/Work/ReleaseBuilds/ParaView3/VTK/Rendering/vtkCarbonRenderWindow.cxx,
> line 674
> vtkCarbonRenderWindow (0x5057c00): Could not create window, serious error!
You can't just ssh into an OS X machine and try to run graphical
applications. You need the console user (the one with the currently
displayed desktop) to be the same as the one trying to launch the app
remotely. Otherwise your connection to the Window Server will fail,
which is exactly what the error message is telling you.
This might work if you're root, but in that case you're opening up all
sorts of security holes (but if it's a restricted server machine,
maybe that's an acceptable risk).
In any event, this isn't an X11 question.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden