> -----Original Message-----
> From: Larkman, David [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 23, 2002 11:35 AM
> To: '[EMAIL PROTECTED]'
> Subject: Running IDL on a VNC session
> 
> 
> I've just set up VNC to provide me with an x-session from a 
> UNIX 4.0D box on
> my PC (windows 98). One of the programs I'd like to be able 
> to run is IDL
> but when I try to open a graphics window from within IDL I get :
>  
> % Unsupported X Windows visual (class: StaticGray, depth: 0).
>   Substituting default (class: <UndefinedVisual>, Depth: 0).
> % Execution halted at: $MAIN$          
>  
> The only change to the standard installation I have made is 
> from twm to mwm
> which is my default window manager.
>  
> Any help as to how to get around this would be most appreciated.

I don't know IDL.

Can you start any other applications with a display to the vnc-server? Like
`xterm -display machine:1`?

Once you can do that, try starting the application from the xterm. this
xterm has already proper display settings and will propagate them. If
needed, exchange calls to `your_app -with -options` with `xterm -display
machine:1 -e your_app -with -options`.

If the xterm does not work properly, remove all X11 security from the
vnc-server with the option -ac: `vncserver -ac` or `Xvnc -ac`.  (see `Xvnc
--help` for more options).

If the xterm works properly and your applicaiton does not, try different
variants of the display variable (examples to vncserver :1):

localhost:1
localhost:1.0
127.0.0.1:1
127.0.0.1:1.0
<machinename>:1
<machinename>:1.0
<machinename><domainname>:1
<machinename><domainname>:1.0
<ipaddress>:1
<ipaddress>:1.0

If the xterm works properly and your application still does not work as
expected, it is most likely a bug in the application that it is hardcoded to
display :0.0. I've seen too many of these apps. Then you might be helped
with one of the variants to access the console with vnc: 
http://xf4vnc.sourceforge.net/ or
http://www.hexonet.de/software/x0rfbserver/ .


CBee
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to