Smokey2 Start Up


1. Create & connect to a vnc session on smokey:

   How to create a vnc session on smokey2:
      
      anycomputer> ssh smokey2 -l smokey2

      smokey2>vnc_for_smokey2 
      (vnc session should be: smokey2:1)

   Connect to vnc session:
      
      anycomputer> vncviewer smokey2:1
      
   To kill the vnc session on smokey2:
      
      smokey2> vncserver -kill :1
      
2. From within the VNC session, open 3 xterms to start the IC, XUI and DV.
   
   xterm1>  startic

   xterm2>  startxui
            (see not 2.1)

   xterm3>  dv
   
   To terminate the XUI & IC, type 'die' in the XUI command prompt or hit cntl-C in the IC xterm.


   2.1. Initializing Motor Shared Memory
   
   The motor shared memory is created only if it doesn't exist (allowing
	you to quit and restart the IC, without re-initializing all the motors).

	It you are have motor shared memory issue, you may see
   all with motor icons will be replace with  the words:
      "XUI was unable to access motor information. Motor"
      "control and monitoring is disabled."
   Or if you just wish to delete/create  the shared memory, to this:

      type "die" in the XUI to kill the XUI and IC.
      In the smokey2 xterm, type:
         /home/smokey2/current/mt/mt_sm_init -f

   Then restart the IC and XUI.

3. Normal startup procedures

   1. Make sure the video tab is select, and do a 'go.init' if its status is in error.
   2. telnet guiderpwr, login and turn on #2 video cam

4. Normal shutdown procedures

   1. Set the Gain all the way down.
   2. ND 4.8 filter in.
   3. Exit the vncviewer ( but leave the vncsession and software running).
   4. Telnet guidepwr, login and turn off #2 video cam.