Dear Eric,<br><br>thank you for your prompt reply. I have done all modifications you suggest (and that are on the website!) without effect... I even re-installed the 31DEC11 version of AIPS (binary, network, I had to specify the AIPS host as LOCALHOST, what I did not do previously) but the No TrueColor and the Shared memory failure are still there (and the TV is not...). Below the startup messages:<br>
<br>hso:~ Michele$ <br>hso:~ Michele$ aips tst TV=local<br>START_AIPS: Will use or start first available Unix Socket based TV<br>START_AIPS: Your initial AIPS printer is the <br>START_AIPS:  - system name , AIPS type <br>
 <br>START_AIPS: User data area assignments:<br><a href="http://DADEVS.PL">DADEVS.PL</a>: This program is untested under Perl version 5.010<br>  (Using global default file /Users/Michele/aips/DA00/DADEVS.LIST for <a href="http://DADEVS.PL">DADEVS.PL</a>)<br>
   Disk 1 (1) is /Users/Michele/aips/DATA/AIPSDATA_1<br><br>Tape assignments: <br>   Tape 1 is REMOTE<br>   Tape 2 is REMOTE<br> <br>START_AIPS: Starting TV servers on localhost asynchronously<br>START_AIPS:  - WITH Unix Sockets as requested...<br>
START_AIPS: Starting TPMON daemons on LOCALHOST asynchronously...<br>Starting up 31DEC11 AIPS with normal priority<br>Begin the one true AIPS number 1 (release of 31DEC11) at priority =   0 <br>AIPS 1: You are not on a local TV device, welcome stranger<br>
AIPS 1: You are assigned TV device/server   5<br>AIPS 1: You are assigned graphics device/server   5<br>AIPS 1: Enter user ID number<br>?<a href="http://DADEVS.PL">DADEVS.PL</a>: This program is untested under Perl version 5.010<br>
UNIXSERVERS: TVSRV2 is already running on host localhost, user Michele<br>UNIXSERVERS: Start XAS2 on localhost, DISPLAY :0<br>XAS: ***********************************<br>XAS: **  No TrueColor found<br>XAS: **  Resorting to PseudoColor<br>
XAS: ***********************************<br>XAS: ***  Using shared memory option for speed ***<br>XAS: Using screen width 3190 height 958,<br>     max grey level 196 in 16 grey-scale memories<br>Shared memory id failure: Cannot allocate memory<br>
UNIXSERVERS: TKSRV2 is already running on host localhost, display :0, user (unknown)<br>UNIXSERVERS: Start message server MSSRV2 on localhost, display :0<br><br>AIPS 1: Enter user ID number<br>?2373<br>AIPS 1:                          31DEC11 AIPS:<br>
AIPS 1:      Copyright (C) 1995-2010 Associated Universities, Inc.<br>AIPS 1:            AIPS comes with ABSOLUTELY NO WARRANTY;<br>AIPS 1:                 for details, type HELP GNUGPL<br>AIPS 1: This is free software, and you are welcome to redistribute it<br>
AIPS 1: under certain conditions; type EXPLAIN GNUGPL for details.<br>AIPS 1: Previous session command-line history recovered.<br>AIPS 1: TAB-key completions enabled, type HELP READLINE for details.<br>AIPS 1: Recovered POPS environment from last exit<br>
><br>><br>><br>><br>>tvin<br>AIPS 1: ZSSSO2 connect (UNIX), No such file or directory<br>AIPS 1: ZSSSOP: CHANNEL ASSIGN ERROR FOR LUN    9<br>AIPS 1: YTVOPN: TV OPEN ERROR      6<br>AIPS 1: TV OPEN ERROR      6<br>
><br><br>I cannot find the way to 1) change the display depth, and 2) to make the changes to the sysctl.conf file effetive. Any more idea? <br><br>Than you very much<br><br>Michele<br><br><br><div class="gmail_quote">On Wed, Feb 9, 2011 at 11:42 PM, Eric Greisen <span dir="ltr"><<a href="mailto:egreisen@nrao.edu">egreisen@nrao.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Michele Pestalozzi wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
Dear Eric,<br>
<br>
I have performed a binary installation of AIPS on my MacBook Pro (that is supposed to be the ultimate machine... not seen much of it yet... ;) ), and I seem to have problems with my AIPS TV. I have to say that I already had a working version of AIPS on it, I just tried to re-install the entire thing (going from 31DEC09 to 31DEC11) because strangely since a couple of weeks back the AIPS TV stopped working (it is not there and "tvin" complains, see below). It now complains "No TrueColor found", that to my knowledge should be related to the display depth... but how on earth did this depth change? And, most of it, how do I change it back to  something AIPS likes? I even tried to give the "xdpyinfo | more" command, but I cannot see any "16" in it (I attach the outcome of the command as a txt file).<br>

Below I attach the messages I get at AIPS startup as well as after giving the "tvin" command (to check whether a TV is up at all).<br>
<br>
Do you know how to come around this nuisance...?<br>
<br>
Thank you very much for your support.<br>
<br>
Michele Pestalozzi<br>
<br>
Michele-Pestalozzis-MacBook-Pro:~ Michele$<br>
Michele-Pestalozzis-MacBook-Pro:~ Michele$ aips tst<br>
START_AIPS: Your initial AIPS printer is the<br>
START_AIPS:  - system name , AIPS type<br>
 START_AIPS: User data area assignments:<br>
</div><a href="http://DADEVS.PL" target="_blank">DADEVS.PL</a> <<a href="http://DADEVS.PL" target="_blank">http://DADEVS.PL</a>>: This program is untested under Perl version 5.010<br>
  (Using global default file /Users/Michele/aips/DA00/DADEVS.LIST for <a href="http://DADEVS.PL" target="_blank">DADEVS.PL</a> <<a href="http://DADEVS.PL" target="_blank">http://DADEVS.PL</a>>)<div class="im"><br>
   Disk 1 (1) is /Users/Michele/aips/DATA/AIPSDATA_1<br>
<br>
Tape assignments:<br>
   Tape 1 is REMOTE<br>
   Tape 2 is REMOTE<br>
 START_AIPS: I am GUESSING you are at a workstation called localhost<br>
START_AIPS: Starting TV servers on localhost asynchronously<br>
START_AIPS:  - with Internet Sockets...<br>
START_AIPS: Starting TPMON daemons on LOCALHOST asynchronously...<br>
Starting up 31DEC11 AIPS with normal priority<br>
Begin the one true AIPS number 1 (release of 31DEC11) at priority =   0<br>
AIPS 1: You are assigned TV device/server   1<br>
AIPS 1: You are assigned graphics device/server   1<br>
AIPS 1: Enter user ID number<br></div>
?<a href="http://DADEVS.PL" target="_blank">DADEVS.PL</a> <<a href="http://DADEVS.PL" target="_blank">http://DADEVS.PL</a>>: This program is untested under Perl version 5.010<div><div></div><div class="h5"><br>
XASERVERS: TVSERV is already running on host localhost, user Michele<br>
XASERVERS: Start XAS on localhost, DISPLAY /tmp/launch-AwFc77/:0<br>
XAS: ***********************************<br>
XAS: **  No TrueColor found<br>
XAS: **  Resorting to PseudoColor<br>
XAS: ***********************************<br>
XAS: ***  Using shared memory option for speed ***<br>
XAS: Using screen width 1270 height 678,<br>
     max grey level 196 in 16 grey-scale memories<br>
Shared memory id failure: Cannot allocate memory<br>
XASERVERS: Start graphics server TEKSRV on localhost, DISPLAY /tmp/launch-AwFc77/:0<br>
XASERVERS: Start message server MSGSRV on localhost, DISPLAY /tmp/launch-AwFc77/:0<br>
<br>
AIPS 1: Enter user ID number<br>
?2373<br>
AIPS 1:                          31DEC11 AIPS:<br>
AIPS 1:      Copyright (C) 1995-2010 Associated Universities, Inc.<br>
AIPS 1:            AIPS comes with ABSOLUTELY NO WARRANTY;<br>
AIPS 1:                 for details, type HELP GNUGPL<br>
AIPS 1: This is free software, and you are welcome to redistribute it<br>
AIPS 1: under certain conditions; type EXPLAIN GNUGPL for details.<br>
AIPS 1: Previous session command-line history recovered.<br>
AIPS 1: TAB-key completions enabled, type HELP READLINE for details.<br>
AIPS 1: Recovered POPS environment from last exit<br>
 >tvin<br>
AIPS 1: ZSSSO2 connect (INET) Connection refused<br>
AIPS 1: ZSSSOP: CHANNEL ASSIGN ERROR FOR LUN    9<br>
AIPS 1: YTVOPN: TV OPEN ERROR      6<br>
AIPS 1: TV OPEN ERROR      6<br>
 ><br>
<br>
</div></div></blockquote>
<br>
Did you upgrade your operating system?<br>
<br>
There are instructions on the AIPS Manager FAQ page about the shared memory ID failure.  They are<br>
 On the latest "leopard" systems, /etc/rc is gone and creating it will have no effect. You need to create an /etc/sysctl.conf file and put the values in it,<br>
<br>
            kern.sysv.shmmax=10485760<br>
            kern.sysv.shmmin=1<br>
            kern.sysv.shmmni=32<br>
            kern.sysv.shmseg=8<br>
            kern.sysv.shmall=4096<br>
<br>
The xdpyinfo | more commands should show 24-bit or 32-bit visuals.  AIPS cannot use a 16-bit one but can (sort of) use an 8-bit visual.  That has not been tested much of late!  Perhaps our Mac expert can offer suggestions on this point.<br>
<font color="#888888">
<br>
Eric Greisen<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>=================================<br>Michele Pestalozzi, PhD<br>IFSI / INAF<br>via del  Fosso del Cavaliere 100<br>I - 00173 Roma, Italy<br>Tel: +39 06 49934713<br>
micheleDOTpestalozziATgmailDOTcom<br><a href="http://physics.gu.se/~micpes">http://physics.gu.se/~micpes</a><br>=================================<br>