So, this is what it’s really about. As well as what I mentioned you need earlier, the full list is:
- Nexus One (or other fast Android device)
- Root
- microSD card of 2GB or bigger with enough space on the ext2 partition for a lot of stuff – as a guide I have a 1.5GB partition with only 350MB free
- Apps2SD or a read/write filesystem and knowledge of mount
If you don’t understand any of the points above, please don’t consider following anything else.
Once you can root shell in via ADB you can get the Ubuntu build and LXDE running with Paolo Sammicheli’s wonderful blog posts. This build worked well on the G1 and I was able to run Fennec at a crawl with it. Getting the Nexus made me want more and I am aiming for Gnome.
Haven’t got there yet, but I’m on the way. After getting Paolo’s build working, you will need to install the following packages:
apt-get update
apt-get install gnome x-window-system-core xserver-xorg gnome-desktop-environment twm
Ref.
I think there is some redundancy in that list. Beware the package ubuntu-desktop, it’s a 500MB behemoth that includes Open Office and scanner software and such. I know I’m pushing the Nexus, but I doubt I’ll be scanning on it any time soon.
To work on the phone, I am using an ADB shell session over the USB and VNC over a wireless link. For this sort of work you need a keyboard and mouse, using the on-board VNC client to talk to localhost is pretty much unthinkable.
Imthiaz Blog posted a Gnome VNC guide, including the sample xstartup settings:
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
gnome-session &
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
# xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
Boot your VNC server and log in in the normal way. I thought I had failed several times, as all I was getting was the X11 blank screen:

Finally, when I left it long enough I started to get elements appear, though it is obvious I still have a problem with a window manager:


I also seem to have a massive problem with keyboard mapping too. Those issues for another day..