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: Jeremy Huddleston <email@hidden>
- Date: Sat, 9 May 2009 18:32:49 -0700
As someone others have already mentioned, this is most likely NOT what
you "need to work when logging in remotely." That command DOES work,
but it is most likely not doing what you expect it to. It will cause
glxgears to be run on the X11 server using display 0 on the machine
you are running it on, and it will use tcp/ip to connect to that server.
So let's back this up one level. Tell us what it is you need and why
you think that command is going to give you what you expect.
Since you say "remotely" in there, I am guessing you want this to
appear on your system (remote from the system you are running it on).
In that case, you should use ssh for X11 forwarding (make sure that /
etc/sshd_config is configured to allow X11 forwarding on the remote
system):
ssh -X -Y email@hidden
On May 8, 2009, at 21:59, Keith D. Matthews 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)
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!
[phaneria:33413] *** Process received signal ***
[phaneria:33413] Signal: Bus error (10)
[phaneria:33413] Signal code: (2)
[phaneria:33413] Failing at address: 0x0
[ 1] [0xbffff098, 0x00000000] (-P-)
[ 2] (_ZN17vtkOpenGLRenderer11ClearLightsEv + 0x4d) [0xbffff0d8,
0x021ccc8d]
[ 3] (_ZN15vtkIceTRenderer12DeviceRenderEv + 0x36) [0xbffff188,
0x00996516]
[ 4] (_ZN11vtkRenderer6RenderEv + 0x16f) [0xbffff238, 0x0213846f]
[ 5] (_ZN21vtkRendererCollection6RenderEv + 0x20a) [0xbffff288,
0x0213346a]
[ 6] (_ZN15vtkRenderWindow14DoStereoRenderEv + 0x96) [0xbffff2b8,
0x021450d6]
[ 7] (_ZN15vtkRenderWindow10DoFDRenderEv + 0x99) [0xbffff368,
0x02145229]
[ 8] (_ZN15vtkRenderWindow10DoAARenderEv + 0x62) [0xbffff438,
0x021456b2]
[ 9] (_ZN15vtkRenderWindow6RenderEv + 0x284) [0xbffff4b8, 0x02143ad4]
[10] (_ZN25vtkMultiProcessController10ProcessRMIEiPvii + 0x78)
[0xbffff508, 0x0198d2b8]
[11] (_ZN25vtkMultiProcessController11ProcessRMIsEii + 0xc7)
[0xbffff578, 0x0198d4f7]
[12] (_ZN19vtkRemoteConnection20ProcessCommunicationEv + 0x25)
[0xbffff598, 0x00b565f5]
[13] (_ZN33vtkProcessModuleConnectionManager18MonitorConnectionsEm +
0x23c) [0xbffff608, 0x00b0e46c]
[14] (_ZN16vtkProcessModule11StartServerEm + 0xad) [0xbffff648,
0x00b14e4d]
[15] (_ZN16vtkProcessModule5StartEiPPc + 0x29b) [0xbffff6b8,
0x00b154eb]
[16] (_ZN9vtkPVMain3RunEP12vtkPVOptions + 0x5f) [0xbffff718,
0x0090da2f]
[17] (main + 0xa3) [0xbffff768, 0x00015943]
[18] (start + 0x36) [0xbffff780, 0x00015866]
[19] [0x00000000, 0x00000003] (FP-)
[phaneria:33413] *** End of error message ***
Bus error
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden