[maemo-developers] Multiple instances of Maemo

From: Joel Raj joel.ratan at gmail.com
Date: Thu Jun 4 15:36:01 EEST 2009
Hi,

Can somebody let me know how we can launch multiple instances of Maemo
simultaneously, with each instance running for a user.

I have created two users A and B on my Ubuntu machine. The two users also
have their *users* created in Scratchbox. I also have Maemo SDK installed
for both the users.

I login as user A, create a Xephyr window with the DISPLAY value set to 2,
login to scratchbox and launch maemo with DISPLAY value 2. Maemo is launched
in the Xephyr window.

As Maemo is running in user A, I switch user and then login as user B. Here
I create a Xephyr window with DISPLAY value set to 3, login to scratchbox
and launch maemo with DISPLAY value 3. Maemo is not launched, nothing is
shown in Xephyr window and an error message as follows is shown.

---------------------------------------------------------------------------------------------------------------------------------------------------------------
[sbox-DIABLO_X86: ~] > af-sb-init.sh start
Sample files present.
Starting DBUS system bus
Starting D-BUS session bus daemon
/usr/bin/af-sb-init.sh: line 1: export: `bus:': not a valid identifier
/usr/bin/af-sb-init.sh: line 1: export: `/tmp/session_bus_socket:': not a
valid identifier
/etc/init.d/maemo-launcher: line 1: export: `bus:': not a valid identifier
/etc/init.d/maemo-launcher: line 1: export: `/tmp/session_bus_socket:': not
a valid identifier
Starting Maemo Launcher: maemo-launchermaemo-launcher: died binding to
invoker socket
 start failed.
Starting Sapwood image server
sapwood-server[4620]: GLIB INFO default - server started
Starting Matchbox window manager
Starting clipboard-manager
Starting Keyboard
Starting Hildon Desktop
---------------------------------------------------------------------------------------------------------------------------------------------------------------

How can I make Maemo run for two different users simultaneously ?

Note: I am doing this so that if I succeed, I can later use this Ubuntu
machine as a server, so that multiple users can simultaneously login to that
server and run Scratchbox/Maemo.

Thanks,
Joel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20090604/d48c8c5c/attachment.htm 
More information about the maemo-developers mailing list