vnc

http://www.tightvnc.com/

http://www.realvnc.com/

 

1. Download VNC View
http://www.realvnc.com/

2. Install VNC Server
sudo apt-get install vnc4server
修改VNC Password
# vncpasswd
启动VNC server
# vncserver

通过客户端连接
地址后面加:1

如果启动了多个vnc显示,可以通过以下命令关闭指定显示号的vnc服务
# vncserver -kill :1  
(":1"为指定的显示号)


vncserver -geometry 1920x1080


配置VNC图形桌面环境为KDE或GNOME桌面环境
可以在VNC的配置文件xstartup中对其进行修改
这个是gnome
#!/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 &

这个是kde
#!/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
startkde &



Ubuntu 11.04配合VNC Server无法输入字母键”d”的问题及其解决
http://www.csspot.org/wordpress/?p=153
http://zhangjunli177.blog.163.com/blog/static/138607308201142123731655/
http://blog.sina.com.cn/s/blog_645f8e970100oil5.html
ubuntu 10.10下有对Windows键的定义,在里面被定义为Super键,当用户在vnc下按下字母”d”时,会被错误的当做返回桌面的快捷方式导致”d”无法输入,此时可修改快捷键方式来避免此bug,新打开一个终端,在里面输入:
gconf-editor
弹出对话框,到“Apps->Metacity->Global keybingdings”中找“show desktop”,将其默认值<Super>D改为<Ctl>D即可。



ubuntu添加右键菜单
sudo apt-get install nautilus-open-terminal




在Unity Launcher上添加自定义应用程序的方法
到/usr/share/applications/找,然后拖到Launcher中。



安装gitk
#sudo apt-get install gitk




方案一:使用vnc (Virtual Network Computing)虚拟网络计算机,由著名的AT&T欧洲研究实验室开发的基于UNIX和Linux操作系统的免费的开放源码软件,他能将完整的窗口界面通过网络,传输到另一台计算机的屏幕上,vnc基本上由两部分组成:一部分是客户端的应用程序(vncviewer),另外一部分是服务器端的应用程序(vncserver).
方案二:使用Xmanager ,一个运行于MS Windows平台上的高性能的X window服务器。可以在你的本地PC上同时运行Unix/Linux和Windows图形应用程序。
我使用的是Xmanager Enterprise 3,Xmanager 3.0支持安全XDMCP允许用户访问远程主机更加轻松,安全地,即使电脑是位于防火墙或网关之后。这是NetSarang公司为Xmanager设计的基于SSH隧道技术的一个独特的特点。旨在帮助用户访问远程主机,而不需要重新配置现有的防火墙或网关。




Ubuntu通过VNC访问窗口没有标题栏
使用下面的xstartup
http://kb.realvnc.com/questions/196/__print

posted on 2012-11-28 18:51  androidme  阅读(342)  评论(0编辑  收藏  举报

导航