comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Unsupported X Windows visual???
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Unsupported X Windows visual??? [message #16856] Mon, 23 August 1999 00:00 Go to next message
Todd David Halter is currently offline  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 Go to previous messageGo to next message
dirk is currently offline  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
Re: Unsupported X Windows visual??? [message #16972 is a reply to message #16856] Thu, 26 August 1999 00:00 Go to previous message
Todd David Halter is currently offline  Todd David Halter
Messages: 3
Registered: August 1999
Junior Member
Dirk Fabian <dirk@uwast.astro.wisc.edu> wrote:
[snip]
: Xwrapper :1 -bpp 8 -query localhost
[snip]

Thanks. That works great. I had been trying to do it with Xnest, but could not get it to do the depth 8. Xwrapper was the solution.

Todd Halter
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Rebin fails for UInt image on PowerMac
Next Topic: Re: IDL FAQ server running again

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:16:42 PDT 2025

Total time taken to generate the page: 0.00604 seconds