[maemo-developers] Multiple instances of Maemo

From: Eero Tamminen eero.tamminen at nokia.com
Date: Fri Jun 5 10:46:10 EEST 2009
Hi,

ext Graham Cobb wrote:
> On Thursday 04 June 2009 20:11:41 Qole wrote:
>> I've asked a similar question before. It seems that maemo-launcher can only
>> have one instance running at a time, so that effectively limits the number
>> of Hildon desktops that can be running to one as well.
> 
> The answer is to run each one in a separate virtual machine environment.  This 
> is also useful for keeping scratchbox instances separate for doing things 
> like compilations against different SDK versions at the same time (scratchbox 
> insists that only one target is running on a single machine at a time).
> 
> This can be done using full virtualisation environments like VMware or Qemu.  
> Or it can be done using user-mode-linux to run a separate linux instance.  
> What I don't know is if it can be done just using chroot's to separate the 
> environments -- if so, that would be much faster (although there are other 
> disadvantages like having to run as root).
> 
> Of course, setting up multiple virtual machines might be overkill for what you 
> are trying to achieve. And it may be too slow.

Scratchbox1 used by the current SDK shares the /tmp with the host so
that apps run in it can  e.g. access Xephyr display running on host.
If process has a fixed socket location in /tmp, you cannot run multiple
instances of it.

SB2 doesn't have this limitation (it can redirect /tmp).
SB2 is used by SDK+, maybe it helps:
	http://maemo-sdk.garage.maemo.org/index.html
?

	- Eero

More information about the maemo-developers mailing list