User Tools

Site Tools


uva_msc_radioastronomy_2013_vnc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
uva_msc_radioastronomy_2013_vnc [2013/04/04 12:56] – [How Do I Start a VNC Viewer on My Local Machine?] leeuwenuva_msc_radioastronomy_2013_vnc [2013/04/16 15:54] – [2. Start the VNC session at the LOFAR cluster] leeuwen
Line 58: Line 58:
 As this session will continue to "live" after you log out, you probably only have to do this once. As this session will continue to "live" after you log out, you probably only have to do this once.
  
-At the prompt on portal type:+First set up the "window manager" for your virtual machine: 
 + 
 +edit (with pico, vi, etc) the file  
 +''~/.vnc/xstartup'' 
 +to be: 
 + 
 +''#!/bin/sh 
 + 
 +icewm-session '' 
 + 
 + 
 +Then, at the prompt on portal type:
    
 vncserver vncserver
  
 You can also run vncserver with color depth or window size options. For example: You can also run vncserver with color depth or window size options. For example:
- 
            
 vncserver [ -geometry 2048x1024 ] [ -depth 8 ] [-pixelformat BGR233] vncserver [ -geometry 2048x1024 ] [ -depth 8 ] [-pixelformat BGR233]
  
 +The first time you run vncserver it will ask you to set up a vnc password. Just use the one that came with your account.
  
 Once you have typed vncserver, the system will reply (e.g.) "New 'X' desktop is portal:2". In this example the VNC session number is 2. Remember this number since you will need it later. In the instructions below, the VNC session number is designated as n. If n is smaller than 10, use 0n (e.g., 02). Once you have typed vncserver, the system will reply (e.g.) "New 'X' desktop is portal:2". In this example the VNC session number is 2. Remember this number since you will need it later. In the instructions below, the VNC session number is designated as n. If n is smaller than 10, use 0n (e.g., 02).
Line 110: Line 121:
 To establish an SSH tunnel AND start a VNC viewer, open a terminal on your local computer and type: To establish an SSH tunnel AND start a VNC viewer, open a terminal on your local computer and type:
            
-vncviewer -Shared -via YOURLOGIN@portal.lofar.eu localhost:n+vncviewer -shared -via YOURLOGIN@portal.lofar.eu localhost:n
  
 Replace n with the desktop number from the previous step and YOURLOGIN with the name of your account. Replace n with the desktop number from the previous step and YOURLOGIN with the name of your account.
  
-The -Shared option allows support staff to "snoop" on your session when assisting you.+The -shared option allows support staff to "snoop" on your session when assisting you.
  
 If you are not using an SSH agent, you will be prompted for your lodsXX account password. If you are not using an SSH agent, you will be prompted for your lodsXX account password.
uva_msc_radioastronomy_2013_vnc.txt · Last modified: 2013/04/16 15:54 by leeuwen