Ubuntu Server 14.04 配置VNC

# apt-get install gnome-panel

# vncserver

输入两次密码

# vi .vnc/xstartup  (改为如下内容)

#!/bin/sh

export XKL_XMODMAP_DISABLE=a

unset SESSION_MANAGER

unset DBUS_SESSION_BUS_ADDRESS

gnome-panel &

gnome-settings-daemon &

metacity &

naultius &

gnome-terminal &

:wq

# vncserver -kill :1

# vncserver