Login / Password: jars / jars
Useful links are located in the bookmarks on firefox in the VM.
Networking
You now have Scratchbox 1.0.8 'apophis' release installed.
Scratchbox cannot be run as user root. Instead, use your normal login user account. Add additional scratchbox users and sandboxes with the following command (outside scratchbox with root permissions):
# /scratchbox/sbin/sbox_adduser USER yes
Running this command will create sandbox environment for that user and add user to the 'sbox' scratchbox user group. You will need to start a new login terminal after being added to the 'sbox' group for group membership to be effective.
Login to scratchbox session using the following command (as user):
$ /scratchbox/login
Refer to scratchbox.org documentation for more information re scratchbox: http://scratchbox.org/documentation/user/scratchbox-1.0/
Do you wish to download and install closed Nokia Binaries? Yes.
│ Installation about to begin with following settings: │
│ │
│ Installed component: maemo-sdk-debug │
│ Install free components only: no │
│ X86 target name: CHINOOK_X86 │
│ Armel target name: CHINOOK_ARMEL │
│ Overwrite existing targets: no │
│ Proxy server: │
│ Alternative sources.list:
IMPORTANT! Please read this.
You now have the maemo 4.0 chinook installed on your computer. You can now start your maemo SDK session with /scratchbox/login and then select your target with 'sb-conf select CHINOOK_ARMEL' for the armel target or 'sb-conf select CHINOOK_X86' for the i386 target.
If you have any problems with targets' package databases, you can try running 'fakeroot apt-get -f install' on your scratchbox target. This command will try to fix any problems with the package database.
The package maemo-explicit is a metapackage of Nokia EUSA licensed binaries which can be installed to scratchbox targets. It is highly recommended to install this package on both targets to ensure a fully working system.
If you want to install these, login to scratchbox (see commands above) and run the command 'fakeroot apt-get install maemo-explicit' for both armel (CHINOOK_ARMEL) and i386 (CHINOOK_X86) targets.
(This is done already in the VM image)
Start Xephyr outside Scratchbox with the following parameters:
$ Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -extension Composite
In the Scratchbox environment the DISPLAY variable has to be set so that it matches the display setting given above for the Xephyr server (parameter :2 in the above example).
[sbox-CHINOOK_X86:~] > export DISPLAY=:2
After the Xephyr server is running on the Linux host, you can start the Hildon Application Framework with the following command:
[sbox-CHINOOK_X86:~] > af-sb-init.sh start
This should start the Hildon Application Framework inside the Xephyr window.
Sweet!!