[Server Side]
First of all, you need to set up vncserver on linux.1. installation of vncserver
# apt-get install tightvncserver
After installing vncserver, you need to configure several options.
# tightvncserver :1
# tightvncserver -kill :11
( This command will initialize the default options and kill the vncserver process)
By editing the following file, set up options.
# vi ~/.vnc/xstartup
xsetroot -solid grey
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
gnome-session &
"gnome-session &" option supports the desktop based on GNOME.
Finally, you can start vncserver like this.
# vncserver :1 -geometry 1920x1200 -depth 24 -dpi 95
":1" is the display number, "-geometry 1920x1200" is the display resolution, "-depth 24" is the color depth, and "-dpi 95" is the font size. Usually the desktop accessed by vncviewer has the small font size. So, you need to reset the font size on the server by "-dpi" option.
[Client Side]
To access the vnc server, you can use TightVNC client which is a free remote control software package.
Input a remote host in the edit box "Remote Host:" like "xxx.xxx.xxx:1".
After an IP information, you should attach a display number which has already been configured when starting vncserver.
[Share the desktop]
Here is another tip.
If you want to share the same desktop view between the linux server and the client,you have to use "x11vnc" command.
On the server side, type the following command.
$ x11vnc -display :0
After that, type a remote host in TightVNC client.
Only enter IP or host name.