Howto Install Debian/lenny in an chroot environment to be used from vncviewer VNCviewer can be found at http://maemo.org/downloads/product/OS2008/vncviewer/ You will need a quite big sdcard (>1GB, 4GB to install complete gnome) and you have to format it as ext3 partition on a linux computer. Ext3 partitions are mounted by maemo 4.x, therefore you can use it in the N8x0 as a usual sdcard. We assume you put it into the external slot on N800. Otherwize /media/mmc1 has to be changed to what you need! We need the following packages (installed with dpkg -i if you are root in an terminal on the N8x0): (All packages are build from original debian sources without modification on chinook sdk, but tested to work on diablo as well) http://physik.de/770 debootstrap_1.0.9_all.deb (the following are availible from http://repository.maemo.org/ chinook as well) wget_1.11.3-1_armel.deb binutils_2.18.1~cvs20080103-4_armel.deb and the program md5sum compiled for maemo. I did not find any problems with this packages and programs, but of can not take warranty! md5sum has to be copied to /usr/bin now we are ready to bootstrap Debian/lenny debootstrap --arch armel lenny /media/mmc1/lenny http://ftp.de.debian.org/debian this takes some time, now we can chroot to lenny chroot /media/mmc1/lenny /bin/bash We are ready to install the rest of the system run apt-get update apt-get dist-upgrade apt-get install locales dpkg-reconfigure locales tasksel and choose desktop environment apt-get install tightvncserver (at the time of this writing there were uninstallable packages and before executing the last command apt-get remove gnome gnome-spell aspell had to be executed, leaving a lot of packages which might be uninstalled with apt-get autoremove, but you will not want to have them uninstalled!!!!) This will use about 2GByte to install a fairly complete gnome desktop. Now we need a init.sh script located in /root (in the chroot environment of lenny) Nokia-N800-23-14:/media/mmc1/lenny/root# cat init.sh #!/bin/sh mount proc /proc -t proc mount devpts /dev/pts -t devpts /etc/init.d/dbus start Xvnc -depth 16 -geometry 800x600 :8& export DISPLAY=:8 #icewm& #gdm& sleep 5 xsetroot -solid "rgb:00/00/30" gnome-session& /bin/bash which can be started by a very simple script e.g.: Nokia-N800-23-14:~# cat init.sh #!/bin/sh /usr/sbin/chroot /media/mmc1/etch /root/init.sh Now you can connect to Debian/lenny by vncviewer with localhost:8 as adress. Be carefull, the vncserver in lenny is configured without password, you should modify the init script, if you use your in a not trusted environment, as it is possible connect to the vncserver from a different computer without password! To avoid this you can use -localhost for Xvnc! BUG workaround gnome-settings-daemon run gconftool-2 --set --type boolean /apps/gnome_settings_daemon/plugins/mouse/active false gconftool-2 --set --type boolean /apps/gnome_settings_daemon/plugins/keyboard/active false from the user in Lenny, which starts the vncserver! To get sound working: Install apt-get install alsa-base alsa-utils libasound2-plugins alsa-oss and add in lenny /etc/asound.conf , which must contain Nokia-N800-23-14:/# cat /etc/asound.conf # PCM pcm.!default { type alsa_dsp playback_device_file ["/dev/dsptask/pcm3"] recording_device_file ["/dev/dsptask/pcm_rec1"] } # Mixer ctl.!master { type hw card 0 } ctl.!default { type dsp_ctl playback_devices ["/dev/dsptask/pcm3"] recording_devices ["/dev/dsptask/pcm_rec1"] } # OSS emulation #pcm.dsp0 pcm.default #ctl.mixer0 mixer.default originally /dev/dsptask muss in lenny /dev/dsptask (mit cp -R) kopiert werden! (maybe the group rights can be changed)