Ubuntu安装VNC(火狐、Office等)
apt-get update
apt-get install vnc4server
vncserver
# 生成~/.vnc/xstartup文件
sudo apt-get install x-window-system-core
sudo apt-get install gdm #失败无所谓
sudo apt-get install ubuntu-desktop
sudo apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal.
vi ~/.vnc/xstartup
#!/bin/sh # Uncomment the following two lines for normal desktop: export XKL_XMODMAP_DISABLE=1 unset SESSION_MANAGER # exec /etc/X11/xinit/xinitrc unset DBUS_SESSION_BUS_ADDRESS gnome-panel & gnome-settings-daemon & metacity & nautilus & gnome-terminal &
vncserver -kill :1
vncserver :1
端口:5901