首页 > 服务器 > ubuntu server 11.10安装vnc4server

作者:ghostry 发布时间:2012-01-12 浏览: 5207

转载注明出处: https://blog.ghostry.cn/server/ubuntu-server-11-10%E5%AE%89%E8%A3%85vnc4server.html

更新文章<ubuntu 14.04下使用vnc4server>

sudo apt-get install vnc4server openssh-server

第一次运行vnc4server会提示修改密码
提几点需要注意的地方:

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 &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
gnome-session-fallback &
  1. 注掉x-window-manager
  2. ubuntu 11.10默认采用gnome3特效,如果用gnome-session会看不到标题栏,因此需要采用gnome-session-fallback(如果没有就安装)

解决按D出现桌面的问题
打开一个终端,在里面输入:gconf-editor,这样会弹出一个对话框,到“Apps->Metacity->Global keybingdings"中找“show desktop”,修改默认值。注销之后重新登录生效。

解决putty乱码的问题.
选择配置窗口左边的 Translation,在右边的 Received data assumed to be in which character set 下拉列表中选择“UTF-8”

标签: desktop server gconf session manager ubuntu vnc

上一篇: SAE Python 开发者手册 — SAE Python Developer's Guide 1.0testing documentation
下一篇: 最新版本的701内核源码.

添加新评论 »

*
*

欢迎评论!歡迎評論!Comments welcome!komentoj bonvenaj!댓글 오신 것을 환영합니다!
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: :cold: :cryy: :cute: :shy: :sleep: :struggle: :tea: :yahou: