VNC

来源:互联网 发布:线性时不变系统 知乎 编辑:程序博客网 时间:2024/05/20 02:29

http://www.realvnc.com/


VNC (Virtual Network Computing)是虚拟网络计算机的缩写。VNC 是一款优秀的远程控制工具软件,由著名的 AT&T 的欧洲研究实验室开发的。VNC 是在基于 UNIX 和 Linux 操作系统的免费的开源软件,远程控制能力强大,高效实用,其性能可以和 Windows 和 MAC 中的任何远程控制软件媲美。在 Linux 中,VNC 包括以下四个命令:vncserver,vncviewer,vncpasswd,和 vncconnect。大多数情况下我只需要其中的两个命令:vncserver 和 vncviewer。

vnc client端除了使用vncviewer之外,还可以使用浏览器。http://VNC_SERVER_IP:5800+port_Number。

VNC软件要由两个部分组成:VNC server 及VNC viewer。用户需先将 VNC server安装在被远程操控的计算算机上后,才能在主控端执行VNC viewer 进行远程操控。 类似的技术为 RDP(Remote Desktop Process),称为“远程桌面连接”,此外,还有一套由Symantec 公司推出的 pcAnywhere 软件也具有类似功能。 VNC、RDP、pcAnywhere 等均为远程登录 Telnet 的图形化界面软件,由 Telnet 软件发展而成。


  • 安装参考

http://nameyjj.blog.51cto.com/788669/582965

  • 使用指导

http://blog.sina.com.cn/s/blog_6cef0cb50100rdbo.html

  • 配置指导

http://linux.chinaunix.net/techdoc/system/2008/09/16/1032425.shtml


为了使VNC和windows之间可以copy、paste,执行如下命令!

vncconfig -nowin&


~/.vnc>cat 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 &

#exec dbus-launch --exit-with-session --sh-syntax gnome-session
startkde&
bl1241{zhenweia}/home/zhenweia/.vnc>  


vncserver –kill :#    注意冒号,如:8
vncserver –geometry 1024x768 –depth 24