|
|
|
Working on Linux or SUN workstations Follow this guide if you are a Windows user.
Start putty, and login to e.g. 'ant'. Type, vncserver -depth 16 -geometry 900x700 where 900x700 is the size of the screen and 16 is the color depth in this example. Useful color depths are 8 (256 colors), 16 (65,000 colors. Recommended) and 24 (16 million colors). NOTE 1 Watch out for the display number given on the following line (output from command vncserver): New 'X' desktop is hostname.mrc.ks.se : X X is your virtual current display number. This may change everytime you start vncserver NOTE 2 Don't start a new vncserver every time you want to grapically access your linux host. Only if the linux host is rebooted there is need for re-starting your vncserver process. Go to http://www.tightvnc.com/download.html and click on tightvnc-x.x.x_x86_viewer.zip. Unzip the file and start vncviewer.exe Type in the host you started the vncserver on (Step 2) followed by :X (your display number you got in Step 2). E.g.:
![]() You may also want to change the "Options...". Deselecting "Allow JPEG compression" will produce better look of the icons. NOTE The nice thing about VNC, in contrast to conventional X-windows, is that the (virtual) display is run on the server instead of on the client side. This means that you may start e.g. Matlab in a virtual display, close it, and start a new vncviewer on another (or same) computer later without affecting the Matlab program.
|