We will use NX server to do this. It is the easiest/most stable/most secure method.
I would like to be able to use XDMCP since it would require no additional components. Problem is that I don't know how to make Xming start the wm manually.
This will work on XBMC Live and xbmcbuntu installations. Live have fluxbox installed, xbmcbuntu have what ever you installed.
1) install NX server
(check for new versions http://www.nomachine.com/select-package.php?os=linux&id=1)
sudo apt-get install libaudiofile0
sudo dpkg -i nxclient_3.3.0-6_i386.deb nxnode_3.3.0-17_i386.deb nxserver_3.3.0-22_i386.deb
2) Install NX client on laptop/desktop
3) Connect the NX client
Start the client
Type a new session name
Select Desktop Unix-Custom
Run the following command: /usr/bin/fluxbox (or in my case /usr/bin/openbox-session)
Select : New virtual desktop
4) Logged in!
This will bring up a black window with no visible menus and no desktop.
Right-click on background to get menus select "terminal emulator". This works fine in fluxbox.
In openbox xterm does not work correctly in NX when started from the top level menu and we do not have an application/ Debian menu. To fix this we install "menu" and another terminal.
sudo apt-get install menu roxterm
roxterm is not really needed, xterm works fine in NX if started from the the Debian menu.
I want to be able to do some stuff before I install gnome so I add some applications directly:
sudo apt-get install menu roxterm dillo rox-filer leafpad
(dillo = web, rox-filer = browse file system, leafpad text editor)
If you want to use gnome you will not need these.
4) Next step
If you want to keep it very light weight you can use the system like this, just continue to add the none gnome applications that you need.
Otherwise you may want to use a desktop environment like gnome, lxde or rox.
It also works fine to add gnome-support but use gnome applications in openbox. This is what I will do now.
5) Install Gnome
sudo apt-get --no-install-recommends install gnome-core
Now you can change from custom to gnome in NX and connect.
I have listed a number of gnome applications here http://vikjonlinuxhowto.blogspot.com/2009/07/how-to-create-minimal-ubuntu-desktop.html
To start with I want to share a folder, have a bittorrent client, mount usb and browse the web:
sudo apt-get install deluge nautilus-share epiphany-browser epiphany-extensions gnome-mount