Ubuntu 14.04设置VNC
1、 安装vncserver
# apt-get install vnc4server
2、安装gnome
# apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal
3、修改xstartup文件
# vi ~/.vnc/xstartup
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&
:wq
本文转自linux博客51CTO博客,原文链接http://blog.51cto.com/yangzhiming/1857323如需转载请自行联系原作者
yangzhimingg