Ubuntu 14.04 LTS 安装 VNC Viewer

1.修改镜像源:

/etc/apt/sources.list
将"http://archive.ubuntu.com/ubuntu/"替换为:

http://cn.archive.ubuntu.com/ubuntu/
http://mirrors.aliyun.com/ubuntu/
http://mirrors.163.com/ubuntu/
http://mirrors.sohu.com/ubuntu/

2.更新系统

sudo apt-get update
sudo apt-get upgrade -y

3.安装VNC Viewer

sudo apt-get install vnc4server -y

4.启动VNC Viewer服务器端,第一次启动需要输入用户密码:

vncserver :1

5.使用VNC Viewer连接

6.安装Ubuntu的桌面

sudo apt-get install ubuntu-desktop -y

7.安装gnome

sudo apt-get install gnome-panel -y
sudo apt-get install gnome-settings-daemon -y
sudo apt-get install metacity -y
sudo apt-get install nautilus -y
sudo apt-get install gnome-terminal -y

8.修改xstartup文件

# x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
# x-window-manager &

gnome-session &
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus -n &
# gnome-terminal &

9.重启VNC Viewer进程:

vncserver -kill :1
vncserver -geometry 1280x800 :1

posted @ 2016-02-15 13:31  784040932  阅读(274)  评论(0编辑  收藏  举报