We may use vncserver through web browser.
only need step 1-2 at first startup
1. set password
$ vncpasswd
2. edit vnc xstartup allows you to change the applications run at startup
$ vi $HOME/.vnc/xstartup
#!/bin/sh# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
#exex startkde
gnome-session &
3.start vnc server
$ vncserver
New redhat-linux:2 (iyacht)' desktop is redhat-linux: 2
Starting applications specified in /home/e12616/.vnc/xstartup
Log file is /home/e12616/.vnc/e2488c-lnx:2.log
Log file is /home/e12616/.vnc/e2488c-lnx:2.log
port is 5800+2 used in IE.
5. other use VNC view port is 5900+2.
5. other use VNC view port is 5900+2.