ERROR: Unsupported X Windows visual [message #8411] |
Fri, 07 March 1997 00:00  |
Juergen Reiss
Messages: 1 Registered: March 1997
|
Junior Member |
|
|
Hi,
I use idl on a remote machine running DEC OSF 4.0. My local machine is
a PC running Linux. When I try to open _any_ idl windows (e.g. plot,
?), the following error message occurs:
IDL. Version 4.0.1 (OSF alpha).
Copyright 1989-1995, Research Systems, Inc.
All rights reserved. Unauthorized reproduction prohibited.
Installation number: 13352-0.
Licensed for use by: Rechenzentrum Uni Wuerzburg
IDL> ?
Warning: Cannot convert string "-*-Menu-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
% Unsupported X Windows visual (class: StaticGray, depth: 0).
Substituting default (class: <UndefinedVisual>, Depth: 0).
% Execution halted at: $MAIN$
Since any other X program I tested so far works properly (netscape,
avs, spss and many pd programs), I assume the problem is very
specific for the Linux/idl combination. There are no such problems,
when the local host is either a dec alpha running OSF 4.0 or a PC
running windows (3.11 or 95) with an X window emulator.
Did anyone else encounter the problem?
Did anyone solve it, too?
Thanks for any hints
Juergen
|
|
|
Re: ERROR: Unsupported X Windows visual [message #8454 is a reply to message #8411] |
Mon, 17 March 1997 00:00  |
Dr. Scott Smyth
Messages: 3 Registered: February 1997
|
Junior Member |
|
|
mallozzi@ssl.msfc.nasa.gov wrote:
>
>> I use idl on a remote machine running DEC OSF 4.0. My local machine is
>> a PC running Linux. When I try to open _any_ idl windows (e.g. plot,
>> ?), the following error message occurs:
>> Unsupported X Windows visual (class: StaticGray, depth: 0).
>
> I ran into a similar problem on my linux machine running at 16 bits
> per pixel. What screen depth are you using (try xdpyinfo)? I put
> something like the following in the .Xdefaults file:
>
> idlvisual: truecolor
>
> Can't check it exactly right now, as I am at work. Anyway, this allows
> me to open windows, although SHADE_SURF crashes IDL with a seg fault,
> with the message "Array has a corrupted discriptor" I have talked to
> RSI several times about this, but....well it still occurs in the 5.0b5.
> Everything seems to work under 8bpp, but I don't think shutting down
> my x-server and restarting in 8bpp whenever I want to use IDL is an
> acceptable solution...sigh
>
> -bob
Yes. In the documentation, the only support 16bpp for Windows. Only
8 bpp and 32 bpp are supported for X windows. Thus all the confusion
when you do truecolor with 16bpp (I have the same problems!). The
Xloadct crashes among other things.
Scott
--
=================================================
| Dr. Scott Smyth: smyth@apex.eas.gatech.edu |
| Earth & Atmospheric Science |
| Georgia Institute of Technology |
| Atlanta, GA 30332 |
| ph: (404) 894-1512 fax: 4-1779 |
=================================================
|
|
|
RE: ERROR: Unsupported X Windows visual [message #8483 is a reply to message #8411] |
Tue, 11 March 1997 00:00  |
mallozzi
Messages: 60 Registered: August 1994
|
Member |
|
|
> I use idl on a remote machine running DEC OSF 4.0. My local machine is
> a PC running Linux. When I try to open _any_ idl windows (e.g. plot,
> ?), the following error message occurs:
> Unsupported X Windows visual (class: StaticGray, depth: 0).
I ran into a similar problem on my linux machine running at 16 bits
per pixel. What screen depth are you using (try xdpyinfo)? I put
something like the following in the .Xdefaults file:
idlvisual: truecolor
Can't check it exactly right now, as I am at work. Anyway, this allows
me to open windows, although SHADE_SURF crashes IDL with a seg fault,
with the message "Array has a corrupted discriptor" I have talked to
RSI several times about this, but....well it still occurs in the 5.0b5.
Everything seems to work under 8bpp, but I don't think shutting down
my x-server and restarting in 8bpp whenever I want to use IDL is an
acceptable solution...sigh
-bob
|
|
|