Fedora 9下创建vncserver
#vi /etc/sysconfig/vncserver //编辑vncserver配置文件
VNCSERVERS=”1:root”
VNCSERVERARGS[1]=”-geometry 800×600 -0.0.0.0″
#vncpasswd //创建vnc口令
#vncserver (service vncserver start) //启动vncserver
#service iptables stop //关闭iptables防火墙
#vi .vnc/xstartup //编辑xstartup的脚本
#!/bin/sh
vncconfig -iconic &
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &
twm &
在windowx xp [...]