Friday, December 9, 2011

UBUNTU 11.10 login with no effect

apt-get install gnome-panel ควรแก้ปัญหานี้ได้ สำหรับผู้ที่ไม่ชอบ effect ใด ๆ สำหรับการล็อกอินและเรียกใช้งาน terminal ทั่วไป

AIPS no TV but TEKSRV & MSGSRV work (solved troubleshooting)

After I installed UBUNTU 11.10 in Samsung Laptop RC418 core i5 and NVIDIA optimus graphic inside. I tried to install AIPS software and found that TV wouldn't work properly as shown below;
----------------------------------------------------------------------------------------------
START_AIPS: I am GUESSING you are at a workstation called localhost
START_AIPS: Starting TV servers on localhost asynchronously
START_AIPS:  - with Internet Sockets...
START_AIPS: Starting TPMON daemons on LOCALHOST asynchronously...
DADEVS.PL: This program is untested under Perl version 5.012
Starting up 31DEC11 AIPS with normal priority
XASERVERS: Start TV LOCK daemon TVSERV on localhost
XASERVERS: Start XAS on localhost, DISPLAY :0
XASERVERS: Start graphics server TEKSRV on localhost, DISPLAY :0
XASERVERS: Start message server MSGSRV on localhost, DISPLAY :0
TVSERVER: Starting AIPS TV locking, Inet domain
STARTPMON: [LOCALHOST] Starting TPMON1 with output SUPPRESSED
Begin the one true AIPS number 1 (release of 31DEC11) at priority =   0
ZVTPO3 bind (INET): Address family not supported by protocol
XAS: ** TrueColor FOUND!!!
XAS: ***  Using shared memory option for speed ***
XAS: Using screen width 1356 height 668,
     max grey level 8191 in 16 grey-scale memories
MakeLink: bind error (INET): Address family not supported by protocol
TVSERVER told to shut down by XAS
XAS: Quitting NOW.
AIPS 1: You are assigned TV device/server   1
AIPS 1: You are assigned graphics device/server   1
----------------------------------------------------------------------------------------

therefore I have tried to solve the problem by using the command;
aips tv=local
before starting aips software.
It should be work and show the messages somethings like this;
-------------------------------------------------------------------------------------------
START_AIPS: Starting TV servers on localhost asynchronously
START_AIPS:  - WITH Unix Sockets as requested...
START_AIPS: Starting TPMON daemons on LOCALHOST asynchronously...
Starting up 31DEC11 AIPS with normal priority
Begin the one true AIPS number 1 (release of 31DEC11) at priority =   0
AIPS 1: You are not on a local TV device, welcome stranger
AIPS 1: You are assigned TV device/server   2
AIPS 1: You are assigned graphics device/server   2
AIPS 1: Enter user ID number
?AIPS_TEK_HOLD=
do NO
DADEVS.PL: This program is untested under Perl version 5.012
UNIXSERVERS: Start TV LOCK daemon TVSRV1 on localhost
UNIXSERVERS: Start XAS1 on localhost, DISPLAY :0
UNIXSERVERS: Start graphics server TKSRV1 on localhost, display :0
UNIXSERVERS: Start message server MSSRV1 on localhost, display :0
TVSERVER: Starting AIPS TV locking, Unix (local) domain
STARTPMON: [LOCALHOST] Starting TPMON1 with output SUPPRESSED
ZVTPO3 bind (INET): Address family not supported by protocol
XAS: ** TrueColor FOUND!!!
XAS: ***  Using shared memory option for speed ***
XAS: Using screen width 1356 height 668,
     max grey level 8191 in 16 grey-scale memories

AIPS 1: Enter user ID number
?

Wednesday, August 17, 2011

Installation Starlink via UBUNTU Natty (ติดตั้ง Starlink บน Ubuntu 11.04)

You can install Starlink in Ubuntu using the following procedure. Ensure that you have at least 1.3 GB of free space on your root partition.
These instructions have been tested with Natty's version which was work properly.
  1. Download the most recent version of Starlink from the project download page. Most users should download the 32-bit Linux glibc 2.5 package.
  2. Once the download has completed, open a Terminal (Applications -> Accessories -> Terminal).
  3. Change to the root directory by typing the following:
    • cd /
  4. Unpack the archive in the root directory:
    • sudo tar -xvzf ~/Linux-32bit-glibc2_5.tar.gz
    • If you did not download the archive to your Home directory, replace ~/ with the path to the download directory.
    • A new top-level directory should have been created, called /star. This contains all of the Starlink applications and documentation.
  5. Open your .bashrc file for editing:
    • gedit ~/.bashrc
  6. Add the following lines to the end of your .bashrc and then save the file:
    • # source the starlink profile so we get the starlink env vars source /star/etc/profile
  7. Install the following packages (which are required by some of the Starlink software):
    • csh
  8. Log-out and then log back in again, or type source /star/etc/profile to set the environment variables required for the Starlink software to run.
  9. Open a Terminal and start the program you wish to use (for example, type gaia to start the GAIA image analysis application).

Starlink applications
The following is a short list of some of the major applications included with Starlink, and the commands required to run them:
  • GAIA - Graphical Astronomy and Image Analysis Tool: gaia
  • PHOTOM - Photometry package: /star/bin/photom/photom
  • PERIOD - Time-series analysis package: /star/bin/period/period

TEC DATA DOES NOT COVER FULL RANGE OF CL TABLE

Check your listr and if the data are observed more than one day you need to download the IONEX files at least 2 files and put in the same fo...