Re: [opendx-users] Image: Display: Bad parameter: Cannot open X display ':0.0'
Did it really use 10.0 and not 11.0? David So what is the DISPLAY set to when you run it remotely via -script? On the remote computer: ~ echo $DISPLAY s00505:11.0 I thought that OpenDX might have a problem with resolving the s00505 name, so I fully qualified it to DISPLAY=s00505.nersc.gov:11.0 and ran: dx -execonly -verbose, but I got the same error. Because I passed the -verbose option, I was able to see the actual value OpenDX uses: DISPLAY=s00505.nersc.gov:10.0 I really have no idea what the problem might be. Thanks best, Irek -- . David L. Thompson Visualization and Imagery Solutions, Inc. mailto:[EMAIL PROTECTED]5515 Skyway Drive, Missoula, MT 59804 Phone : (406)756-7472
Re: [opendx-users] Image: Display: Bad parameter: Cannot open X display ':0.0'
It was a typo in my e-mail. I was logging in several times to make sure that the problem is reproducible and simply mixed some values in my e-mail. Excuse me this. When I was running OpenDX I was using the corret values for DISPLAY. Irek On Mon, 21 Mar 2005, David Thompson wrote: Date: Mon, 21 Mar 2005 09:45:45 -0700 From: David Thompson [EMAIL PROTECTED] Reply-To: opendx2-users@lists.berlios.de To: opendx2-users@lists.berlios.de Subject: Re: [opendx-users] Image: Display: Bad parameter: Cannot open X display ':0.0' Did it really use 10.0 and not 11.0? David So what is the DISPLAY set to when you run it remotely via -script? On the remote computer: ~ echo $DISPLAY s00505:11.0 I thought that OpenDX might have a problem with resolving the s00505 name, so I fully qualified it to DISPLAY=s00505.nersc.gov:11.0 and ran: dx -execonly -verbose, but I got the same error. Because I passed the -verbose option, I was able to see the actual value OpenDX uses: DISPLAY=s00505.nersc.gov:10.0 I really have no idea what the problem might be. Thanks best, Irek
Re: [opendx-users] Image: Display: Bad parameter: Cannot open X display ':0.0'
So what is the DISPLAY set to when you run it remotely via -script? David David, Thank you for your e-mail. On Fri, 18 Mar 2005, David Thompson wrote: Can you run dx in script mode and get an x window to pop up on your local system? Yes, I can. I can see the image. This is my session: -- . David L. Thompson Visualization and Imagery Solutions, Inc. mailto:[EMAIL PROTECTED]5515 Skyway Drive, Missoula, MT 59804 Phone : (406)756-7472
Re: [opendx-users] Image: Display: Bad parameter: Cannot open X display ':0.0'
So what is the DISPLAY set to when you run it remotely via -script? On the remote computer: ~ echo $DISPLAY s00505:11.0 I thought that OpenDX might have a problem with resolving the s00505 name, so I fully qualified it to DISPLAY=s00505.nersc.gov:11.0 and ran: dx -execonly -verbose, but I got the same error. Because I passed the -verbose option, I was able to see the actual value OpenDX uses: DISPLAY=s00505.nersc.gov:10.0 I really have no idea what the problem might be. Thanks best, Irek
Re: [opendx-users] Image: Display: Bad parameter: Cannot open X display ':0.0'
No, it does work such that the OpenDX server creates an X11 window and then the GUI attaches itself to it. The server and the GUI talk to the same X window by setting up callbacks on the one X window. Can you run dx in script mode and get an x window to pop up on your local system? David Hi Marilyn, Brent others, Thanks you for your responses. Do you need to ssh -X to enable X data through from the server, or an xhosts + to let the workstation display X data from a remote server? Yes, I made sure X11 forwarding is enabled. I ran xterm to check it. So this is not the problem. I am not sure that OpenDX works that way: that the OpenDX server opens a regular X11 window. I suspect that the server communicates with the GUI, and GUI is responsible for displaying the image. I think that way, because when I ran my program the GUI opened a black window for an image. The window remained open after I killed the server. Best, Irek -- . David L. Thompson Visualization and Imagery Solutions, Inc. mailto:[EMAIL PROTECTED]5515 Skyway Drive, Missoula, MT 59804 Phone : (406)756-7472
Re: [opendx-users] Image: Display: Bad parameter: Cannot open X display ':0.0'
David, Thank you for your e-mail. On Fri, 18 Mar 2005, David Thompson wrote: Can you run dx in script mode and get an x window to pop up on your local system? Yes, I can. I can see the image. This is my session: ~/local/dxsamples/dx/samples/programs dx -script Starting DX executive Open Visualization Data Explorer More Info at www.research.ibm.com/dx and www.opendx.org Version - 4.3.2 Memory cache will use 384 MB (24 for small items, 360 for large) 0: worker here [6171] dx include Slab.net 0: WARNING: Reference to undefined variable: main_Image_2_in_24 0: opening file '/home/ijs/local/dxsamples/dx/samples/data//cloudwater.dx' dx 0: Image_2: recenable=0; aaenabled=0; recmode=0; buappx=none; bdappx=none; buden=1; bdden=1; Best, Irek On Fri, 18 Mar 2005, David Thompson wrote: Date: Fri, 18 Mar 2005 11:03:43 -0700 From: David Thompson [EMAIL PROTECTED] Reply-To: opendx2-users@lists.berlios.de To: opendx2-users@lists.berlios.de Subject: Re: [opendx-users] Image: Display: Bad parameter: Cannot open X display ':0.0' No, it does work such that the OpenDX server creates an X11 window and then the GUI attaches itself to it. The server and the GUI talk to the same X window by setting up callbacks on the one X window. Can you run dx in script mode and get an x window to pop up on your local system? David Hi Marilyn, Brent others, Thanks you for your responses. Do you need to ssh -X to enable X data through from the server, or an xhosts + to let the workstation display X data from a remote server? Yes, I made sure X11 forwarding is enabled. I ran xterm to check it. So this is not the problem. I am not sure that OpenDX works that way: that the OpenDX server opens a regular X11 window. I suspect that the server communicates with the GUI, and GUI is responsible for displaying the image. I think that way, because when I ran my program the GUI opened a black window for an image. The window remained open after I killed the server. Best, Irek
Re: [opendx-users] Image: Display: Bad parameter: Cannot open X display ':0.0'
Irek, Make sure that ssh is configured to pass X - look in the ssh.config file and confirm that X forwarding is on. Try running ssh with the parameter -X in addition to the ones you have. Marilyn NYU
Re: [opendx-users] Image: Display: Bad parameter: Cannot open X display ':0.0'
On Thu, 17 Mar 2005, Irek Szczesniak wrote: Hi, IN A NUTSHELL, I am having trouble displaying results from a remote OpenDX server. When I try to display an image (with the Image module) I get this message: ERROR: Image: Display: Bad parameter: Cannot open X display ':0.0' Do you need to ssh -X to enable X data through from the server, or an xhosts + to let the workstation display X data from a remote server? Brent Wood
Re: [opendx-users] Image: Display: Bad parameter: Cannot open X display ':0.0'
Hi Marilyn, Brent others, Thanks you for your responses. Do you need to ssh -X to enable X data through from the server, or an xhosts + to let the workstation display X data from a remote server? Yes, I made sure X11 forwarding is enabled. I ran xterm to check it. So this is not the problem. I am not sure that OpenDX works that way: that the OpenDX server opens a regular X11 window. I suspect that the server communicates with the GUI, and GUI is responsible for displaying the image. I think that way, because when I ran my program the GUI opened a black window for an image. The window remained open after I killed the server. Best, Irek