Connection Instructions

Note: these instructions assume you are using the new VNC launch script released in 2020. If you are using the older scripts, please follow instructions at your remote site to connect.

Also note that these instructions are intended for observing from official remote sites, if you are connecting from home during the COVID-19 pandemic you will not have a site manager to work with.

Perform Checkout a Few Days Before Your Run

We strongly encourage all observers to do a brief test run of the connection from your chosen remote site a few days before your run. This will test the connection to Keck and all the requisite software and hardware early enough for problems to be detected and solved ahead of your run.

  1. Schedule checkout. Arrange a time with the site manager at your remote site to perform the checkout. If you're not sure who that person is, please contact your Support Astronomer to find out. The test can be completed any time within 7 calendar days of the run, but we strongly recommend doing it at least one business day prior to the run in order to provide adequate time for troubleshooting.

  2. Determine account. Consult the online Keck telescope schedule to determine what your assigned observing account is.

  3. Obtain passwords. Your local site manager can provide you with the required passwords for local hosts, Keck firewall, and Keck observing accounts. If you are observing from home, check that you have submitted an SSH key (via your observer login page), that it is deployed, and that you have put your api key in the local config file of your Remote Observing software.

  4. Test VNC. Follow the instructions below to connect to the VNC sessions for your assigned instrument account.

  5. Report problems. In case any problems crop up, please immediately contact your assigned support astronomer (obtain name of SA from from the online Keck Observing schedule; corresponding telephone numbers should be posted in your observing area).

Connecting to Your Keck VNC Sessions

  1. Log in to your local machine at your site. The login info should have been provided by your local site staff. Bring up a terminal if needed.

  2. In a terminal, type start_keck_viewers <account> where <account> is your numbered account for the instrument you are scheduled to use.

    • If you need to need to determine your account, see the Keck telescope schedule.

    • The program should bring up several (usually 4) VNC sessions.

  3. When you are done observing, type q to quit in the VNC launch application (in the terminal you used to launch the VNCs). This will close connections to Keck and generally cleanup all processes.

Handling Connection Problems

If the test above fails, please work with your local site coordinator to troubleshoot.

If you and your local site coordinator can not solve the problem, please try the following:

  1. Run the software's test suite:

    • In a terminal, in the directory where the software is installed, run the test suite: ./start_keck_viewers --test

    • Try to troubleshoot any problems revealed by the test.

  2. If you still can not connect, try uploading the log files to Keck using the u command in the app and contact us with a description of the problem. If you are unable to upload the logs from the app, manually send them via email. The logs can be found in the logs/ subdirectory.

Application Notes

The application which you used to launch the VNCs is still active and can be used for additional tasks. You should see a prompt and a text listing the commands which are available. It should look something like this:

|-------------------------------------------------- | | Keck Remote Observing (v1.0.0) | | MENU | |-------------------------------------------------- | | l List sessions available | | [session name] Open VNC session by name | | w Position VNC windows | | s Soundplayer restart | | u Upload log to Keck | | t List local ports in use | | c [port] Close ssh tunnel on local port | | q Quit (or Control-C) | |-------------------------------------------------- | >

You can type commands at that prompt to open sessions. For example, if your local control0 VNC screen dies for any reason, you can restart it by simply typing control0 at the prompt. Similarly the soundplay task can be restarted by typing s.

Zoom Connection Instructions

Keck (as of early 2019) uses Zoom as its videoconferencing system (replacing polycom). Keck has two Zoom meetings, one for Keck I and one for Keck II, which are used for night operations. The meeting information for these two rooms are printed to the terminal when you connect to the VNCs if you are using the modern remote observing software (v2.0 or newer). If you are using older software, your local site should have this information printed somewhere.

Polycom Calls

We still support calls to the Zoom meeting from older polycom hardware, so sites who still use polycom hardware are now placing calls to a Zoom meeting rather than to a Keck polycom unit. All supported remote sites should have the addresses saved in their polycom "favorties", but the connection process is described here in case of trouble.

If you are calling from polycom hardware there are two address formats which may work, they are [meeting_number]@[IP] and [IP]##[meeting_number]. Replace [meeting_number] and [IP] with the values for the meeting.

If neither works from your polycom, try dialing the IP address alone then entering the 10 digit meeting ID when prompted. Again, if you are calling from an established remote observing site, you should have "favorites" or "bookmarks" on your videoconferencing system which will connect you.