Unsupported X Windows visual??? [message #16856] |
Mon, 23 August 1999 00:00  |
Todd David Halter
Messages: 3 Registered: August 1999
|
Junior Member |
|
|
I am running IDL 5.2.1 on a RedHat Linux 6.0 i86 machine with 24bpp. When I do a device,decompose=0 I get the following error:
Unsupported X Windows visual (class: PseudoColor, depth: 8).
Substituting default (class: TrueColor, Depth: 24).
Any ideas on how I can get it to do depth 8 and not depth 24.
Thanks.
Todd Halter
|
|
|
Re: Unsupported X Windows visual??? [message #16905 is a reply to message #16856] |
Wed, 25 August 1999 00:00   |
dirk
Messages: 15 Registered: March 1998
|
Junior Member |
|
|
In article <37C184E0.F1B00A6F@ssec.wisc.edu>,
Liam Gumley <Liam.Gumley@ssec.wisc.edu> wrote:
> Todd David Halter wrote:
>> I am running IDL 5.2.1 on a RedHat Linux 6.0 i86 machine with 24bpp. When I do a device,decompose=0 I get the following error:
>> Unsupported X Windows visual (class: PseudoColor, depth: 8).
>> Substituting default (class: TrueColor, Depth: 24).
>> Any ideas on how I can get it to do depth 8 and not depth 24.
>
> While most name-brand Unix consoles (SGI, Sun, IBM etc.) support IDL
> 8-bit PseudoColor while running a 24-bit desktop, Linux does not. At
> least most of the common Linux Xserver packages don't support it (e.g.
> XFree86), although AccleratedX might.
>
> If you *really* want to run IDL in 8-bit PseudoColor mode, you'll need
> to restart your Xserver e.g.
>
> startx -- -bpp 8
>
> Cheers,
> Liam.
Not necessarily. RedHat comes with a little program called Xwrapper that
starts a new X session under the old.
You can be running in 24bpp in one session and then run
Xwrapper :1 -bpp 8 -query localhost
to start a new session in 8bpp. Use Cntrl-Alt-F7 and Cntrl-Alt-F8 to
switch between the two sessions. This prevents any mucking around with
config files and a bit more productivity since you don't have to think "am
i going to need IDL today" before you log in.
Cheers, Dirk
|
|
|
|