2011年10月27日 星期四

Install GUI on Ubuntu Server 11.10 and Remote Control from Windows

Solution 1: Install GNOME desktop

                 sudo apt-get install ubuntu-desktop

Solution 2: install GNOME desktop without recommend software

                 sudo apt-get install --no-install-recommends ubuntu-desktop

                 [這個怪怪的.. 會開不了機, 卡在 PulseAudio configured for per-user sessions]

Solution 3: install light weight desktop xfce

                 sudo apt-get install xubuntu-desktop

Solution 4: install KDE desktop

                 sudo apt-get install kubuntu-desktop

最後再安裝 xrdp, 就大功告成啦~

install xrdp

補: 透過 xrdp , 按 d 的時候, 會把所有的視窗小

Now in order to get the proper keyboard map and theme in GNOME, you need to make a modification:
Open gconf-editor either by typing that in a console, or in the Alt+F2 window.
Inside gconf-editor, navigate to /apps/gnome_settings_daemon/plugins/keyboard and set “active” to false.
or do the following steps
gconf-editor ->app->metacity->global_keybindings
Change the assigned keystroke for show_desktop from "d" to "d" or "d" or "disabled"
But this changes are only for the active user.
To set this option for all Users do the following:
Right click on "show_desktop" and choose  set Mandatory or set it as default. You can check this option if you choose File --> New Mandatory Window. See also this page for more informations.
補: 透過 xrdp, 有些 icon 會不見, 也無法 logout 我後來改用 gnome-shell 就沒問題

sudo apt-get install gnome-shell
sudo nano /etc/lightdm/lightdm.conf             # 把 user-session=ubuntu-2d