|
|
|
|
Using VNC to
Connect to Solaris Computers from PC
By David
Delene: Update Februray 7, 2003
Below
are the step-by-step instructions for how to setup and use VNC to
connect to Solaris computers in the Department of Atmospheric Science
at the University of North Dakota. This includes the Cumulus,
Thunder and Lightning servers. Please send questions to David Delene
(delene@aero.und.edu).
Make sure your using the zsh SHELL
Edit the file .dtprofile in your
Home directory.
Add the following at the end of
the file: SHELL=/bin/zsh
Save file.
VNC setup on Solaris computer (i.e.
thunder.atmos.und.edu)
Connect to solaris computer using
ssh client (i.e. ssh thunder.atmos.und.edu)
cd ~ (change to your home
directory)
mkdir .vnc (create directory where
vnc files are keeped)
cd .vnc (change to the vnc
directory)
ln -s /usr/dt/bin/Xsession_vnc
xstartup (create a symbolic link to the typical X window startup
script. This defines the X window session vnc will use.)
vncpasswd (Sets the vnc login
password.)
Start your VNC Server on Solaris
Computer (i.e. thunder.atmos.und.edu)
Connect to Solaris computer from
PC using ssh client (i.e. ssh thunder.atmos.und.edu)
type “vncserver -nolisten
local” to start server.
Note the number of your vnc
session, i.e. Thunder:1
Start VNC Client on PC (i.e. Window
XP computer)
If
necessary, get SSHVNC (SSHVnc-0.1.3-windows-withVM) from
http://3sp.com/download/download.php
and install.
Start VNC
client on your PC and connect to thudner.atmos.und.edu. Select File
– New Connection. Under the “VNC Settings” tab
select “Linux/Unix Variant) Set the Display number to the
number of your vnc session, i.e. 1
End VNC Client Session
Kill the VNC
client program (i.e. File->End).
End VNC Server Session
SSH to
thunder.atmos.und.edu
Type
“vncserver -kill :? Where ? Is the number of your vnc
session, i.e. vncserver -kill :1
|
|
|
|
|
| |
|
|
|
|
Department of Atmospheric Sciences University of North Dakota Box 9006 | Grand Forks, ND 58202-9006 Phone: 701.777.2184 | Fax: 701.777.5032
|
all rights reserved 2004 site designed by ASN
|
|
|