# rpm -aq |grep vnc
vnc-server-4.0-8.1
vnc-4.0-8.1
vncserver
vncserver: couldn't find "xauth" on your PATH.
#ln -s /usr/X11R6/bin/xauth /bin/xauth
#vncserver
#vncpasswd
# ~/.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" & twm &
#/sbin/service vncserver restart
阅读(2189) | 评论(0) | 转发(0) |