ubuntu vncserver

1. ubuntu-server(14.04) 安装界面:

apt-get update
apt-get install ubuntu-desktop

 

2.安装vnc4server

apt-get install vnc4server
apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal

 

3.配置 ~/.vnc/xstartup

#!/bin/sh

export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &

gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &
posted @ 2016-04-25 18:49  麦田麦芽  阅读(134)  评论(0编辑  收藏  举报