This page was last updated on Friday, 17-Jun-2022 11:55:46 CDT
Remote Desktop Access to Linux server - Index
- Open a command prompt. Type "cmd" in the search bar and open "Command Prompt"
- At the prompt type for example
ssh -p 7262 yourname@daucus.vcru.wisc.edu
- The first time only, type "yes" at the "Are you sure you want to continue connecting"
- Download TightVNC Windows installer
local copy, version 2.0.2: tightvnc-2.0.2-setup.exe
from tightvnc web site: http://www.tightvnc.com/download/2.0.2/tightvnc-2.0.2-setup.exe
Or check for a newer version at http://www.tightvnc.com/download.php
- Run this installer
- Download putty.exe
local copy, version 0.60: putty.exe
from PuTTY web site: http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
Or check for a newer version at http://www.chiark.greenend.org.uk/~sgtatham/putty/
There is no installer, that single file is the entire program!
You can just save the downloaded file on the desktop, or you can save it to the TightVNC folder in \Program Files\TightVNC\
and make a shortcut to it.
- Start putty by double clicking on it, you should see a screen something like this:
Enter the indicated values shown here:
Enter the indicated values shown here, except 5983 is just an example,
use the value Doug gave you when setting up your Linux account:
Enter the indicated values shown here:
- Login with your name and password. The first time only, you will see a warning similar to the one shown here,
it is safe to click "Yes"
- Start TightVNC
Unless you installed it somewhere else, you will find it in the Start menu under "Programs" "TightVNC" "TightVNC Viewer"
- Enter the indicated value shown here, except 83 is just an example,
use the value Doug gave you when setting up your Linux account:
- IF you have problems, this command typed into your PuTTY windown will reset the vnc desktop:
vnc --restart
- Make sure you have vncviewer installed, e.g.:
For Fedora: sudo yum install vnc
Package tigervnc-1.0.1-1.fc12.i686 already installed and latest version
For Ubuntu: sudo apt-get install vncviewer
- Create this shell script (let's call it cranberry):
#!/bin/sh
export VNC_VIA_CMD='/usr/bin/ssh -2 -c aes128-cbc -x -p 7262 -l XXXX -f -L %L:%H:%R %G sleep 20'
vncviewer -via cranberry.vcru.wisc.edu localhost:59YY
where XXXX is your linux account login name,
YY is the port number you were assigned,
and cranberry.vcru.wisc.edu is the server name
- Make it executable with:
chmod 700 cranberry
- Move it to a folder in your PATH, e.g.
sudo mv cranberry /usr/local/bin/
- Make a desktop shortcut with:
ln -s /usr/local/bin/cranberry ~/Desktop/cranberry