VNC快速设置

来源:互联网 发布:语音打电话软件 编辑:程序博客网 时间:2024/06/06 05:40

VNC Setting
编辑

-rwxr-xr-x  1 root root  342 2008-01-31 16:03 xstartup
[root@FC7 .vnc]# vi 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 &
startx &


启动
[root@FC7 bin]# vncserver -geometry 1280x1024
 
New 'FC7.32bit:1 (root)' desktop is FC7.32bit:1
 
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/FC7.32bit:1.log
 
[root@FC7 bin]#

连接
Windows上用VNCView输入 10.67.6.157:1 
原创粉丝点击