[daip] AIPS TV question

Patrick P. Murphy pmurphy at NRAO.EDU
Fri Apr 28 16:07:25 EDT 2000


On Fri, 28 Apr 2000 08:31:24 -0600 (MDT), "[Leonia Kogan]"
<lkogan at aoc.nrao.edu> said: 

<snip>

> ----- Begin Included Message -----

> Date: Fri, 28 Apr 2000 09:36:41 +0200 (CEST)
> From: Andrew Baker <ajb at mpe.mpg.de>
> To: lkogan at cv3.cv.nrao.edu, ajb at mpe.mpg.de
> Subject: AIPS TV question

> I successfully installed the 31DEC99 version of AIPS on my Linux PC two
> weeks ago and had everything running fine.  However, yesterday I
> inadvertantly logged out of my machine while the XAS server was still
> running.  When I logged back in, the TV window would no longer appear
> when I started AIPS, and commands like TVINIT produced these errors:

> ZSSSO2 connect (INET): Connection refused

The startup XAS message is more important.

> XASERVERS: Start XAS on pcbaker, DISPLAY :0.0
> XAS: ***********************************
> XAS: **  No TrueColor found
> XAS: **  Resorting to PseudoColor
> XAS: ***********************************
> XAS: No pseudocolor visual - No suitable visual: No such file or directory

You must have restarted it in 16-bit X color mode.  If you look at the
output of "xdpyinfo" you will likely see this:

screen #0:
  dimensions:    1280x1024 pixels (433x347 millimeters)
  resolution:    75x75 dots per inch
  depths (1):    24
  root window id:    0x26
  depth of root window:    24 planes

somewhere.  If it says "16 planes" then I'm right.  

You can set the default depth in the /etc/X11/XF86Config file (on most
Linux systems).  Near the end of the file you will see several "Screen"
sections, one of which corresponds to what you're using (the resolution as
in the modes line may provide a clue).  Mine looks like this:

Section "Screen"
    Driver      "svga"
    Device      "My Video Card"
    Monitor     "My Monitor"
    Subsection "Display"
        Depth       32
        Modes       "1280x1024"
        ViewPort    0 0
    EndSubsection
EndSection

Note the "Depth" keyword.  Most servers treat 24 and 32 as equivalent.
This is the number of bits of color allowed per pixel on the screen.  XAS
can handle 8 or 32 (or 24, same as 32).  It cannot use 15 or 16.

Once you change this (or have a systems person change it for you), you
need to restart your X server for it to take effect.

Hope this helps.

				- Pat
-- 
  Patrick P. Murphy, Ph.D.            Division Head, Charlottesville Computing
  (804) 296-0372, 296-0236                National Radio Astronomy Observatory
  Home: http://www.goof.com/~pmurphy/   Work: http://www.cv.nrao.edu/~pmurphy/
   "Linux is Inevitable."  "Why?"  "Because it's alive!" - John MadDog Hall



More information about the Daip mailing list