如果你已經安裝了 Ubuntu Server,但是又需要用到 GUI,那就可以再另外安裝 ubuntu desktop 的相關套件
完整安裝: (1.5G)
sudo apt-get install ubuntu-desktop
如果只是要有圖形介面方便操作,那就不用裝那麼多東西,執行以下指令即可: (500M)
sudo apt-get install --no-install-recommends ubuntu-desktop
如果希望可以用 VNC 遠端連到圖形介面,那就要安裝 vnc server 了!
sudo apt-get install gnome-core ; 安裝好後要要先重開機 sudo reboot now -h
接下來就是安裝 vns server 了
sudo apt-get install vnc4server
然後執行 vncserver,並設定密碼,這樣你就可以用 vnc viewer 登入了. ex: 192.168.1.1:1
