安装桌面系统
1. sudo apt-get install x-window-system-core #安装x-windows的基础
2. sudo apt-get install gdm #安装登录管理器 还可以为kdm/xdm
3. sudo apt-get install ubuntu-desktop #安装Ubuntu的桌面 还可以为Kubunut-desktop/ Xubuntu-desktop
4. sudo apt-get install gnome-core #安装GNOME的一些基础
安装远程登录
1. 安装VNCServer
sudo apt-get install vnc4server
2. 设置当前用户VNC密码
vncpasswd
3. 修改VNC配置,使默认启动GNOME环境
修改~/.vnc/xstartup文件,在尾部添加gnome-session &
4. 启动vnc server
vncserver :1