- 论坛徽章:
- 0
|
[root@ceOS ~]# rpm -qa | grep vnc
vnc-4.1.2-14.el5_5.4
vnc-server-4.1.2-14.el5_5.4
gtk-vnc-python-0.3.8-3.el5
gtk-vnc-0.3.8-3.el5
[root@ceOS ~]#vncserver
//设置登录密码
[root@ceOS ~]# vi /root/.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 & //注释掉
gnome-session & //加入gnome-session &
~
~
"~/.vnc/xstartup" 13L, 352C
|
|