Linux boot VNCserver Debian boot start VNC: www.2cto.com start VNC and set: startjwm & firefox -- display =: 1 Set VNC boot vim/etc/init. d/vncserver Sehll code ### begin init info # Provides: vncserver # Required-Start: $ remote_fs $ syslog # Required-Stop: $ remote_fs $ syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start daemon at boot time # Description: Enable service provided by daemon. ### END INI T info path = "$ PATH:/usr/X11R6/bin/" # The Username: group that will run VNC export USER = "root" # $ {RUNAS} # The display that VNC will use DISPLAY = "1" # Color depth (between 8 and 32) DEPTH = "16" # The Desktop geometry to use. # GEOMETRY = "x" GEOMETRY = "800x600" # You Can Choice GEOMETRY = "1024x768" & GEOMETRY = "1280x1024" # The name that the VNC Desktop will have. NAME = "Vncserver" OPTIONS = "-name $ {NAME }- Depth $ {DEPTH}-geometry $ {GEOMETRY }:: {DISPLAY }". /lib/lsb/init-functions case "$1" in start) su $ {USER}-c "/usr/bin/vncserver $ {OPTIONS}"; stop) su $ {USER}-c "/usr/bin/vncserver-kill: $ {DISPLAY}"; restart) $0 stop $0 start ;; esac exit 0 add permission chmod + x/etc/init. d/vncserver make the configuration take effect update-rc.d vncserver defaults add scheduled tasks, timed restart vnc or system to prevent firefox from false dead out crontab-e CentOS boot start VNC: 1. configure vnc/etc/sysconfig/ Vncservers 2. shift + g move to the end and insert the following code [code = & quot; SHELL & quot;] VNCSERVERS = & quot; 1: root & quot; VNCSERVERARGS [1] = & quot; -geometry 800x600 & quot; 3. set vnc to automatically start chkconfig vncserver on 4. install flash plug-in wget http://blog.firetry.com/soft/libflashplayer.so mkdir-p ~ /. Mozilla/plugins cp libflashplayer. so ~ /. Mozilla/plugins/5. Download vagex plugin, youtube optimized plugin wget http://vagex-debian.googlecode.com/files/youtube_video_quality_manager-1.2-fx.xpi