Linux boot start VNCserverDebian boot start VNC: www.2cto.com start VNC and set: startjwm & amp; firefox -- display: 1 set VNC boot vim/etc/init. d/vncserverSehll code ### BEGININITINFO # Provides: vncs... 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 init 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 = "SHELL"] VNCSERVERS = "1: root" VNCSERVERARGS [1] = "-geometry 800x600" 3. set vnc to automatically start chkconfig vncserver on 4. install the flash plug-in wget http://blog.firetry.com/soft/libflashplayer.so Mkdir-p ~ /. Mozilla/plugins cp libflashplayer. so ~ /. Mozilla/plugins/5. download the vagex plug-in and the youtube Optimization plug-in wget http://vagex-debian.googlecode.com/files/youtube_video_quality_manager-1.2-fx.xpi
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service