VNC Server的配置很简单:
# vncpasswd Password:****** Verify:******
# cat .vnc/xstartup #!/bin/sh # 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 vncconfig -iconic & xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & gnome-session &
# vncserver & [3] 8079 [root@master ~]# New ‘master.liucc.com:1 (root)‘ desktop is master.liucc.com:1 Creating default startup script /root/.vnc/xstartup Starting applications specified in /root/.vnc/xstartup Log file is /root/.vnc/master.liucc.com:1.log [3] Done vncserver
本文出自 “天道酬勤” 博客,请务必保留此出处http://lavenliu.blog.51cto.com/5060944/1622269
原文地址:http://lavenliu.blog.51cto.com/5060944/1622269