[maemo-developers] Can we launch Maemo UI on several Xephyrs from different clients connected to a server?
From: Kwansu Park yans422 at gmail.comDate: Wed May 9 13:24:16 EEST 2007
- Previous message: Gregale SDK on new website?
- Next message: Can we launch Maemo UI on several Xephyrs from different clients connected to a server?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I'm a new comer in this field with maemo.
Actually, I want to launch Maemo UIs onto several Xephyrs.
So I found a thread related to this problem on this mailing list. At that
time, author was Sampath. Maybe the subject of that thread is the same as
mine. :) In the previous thread, there was just one solution about launching
several Xephyrs using a wrapper script(e.g. start-xephyr.sh). There was not
an answer for Maemo UI problems....
Finally, when I try to launch Maeomo UI(af-sb-init.sh start) on each xephyr,
it failed except the first one.
The detail situation of is follows..
1) I made 2 start-xephyr.sh, it works for each user.
For a user "kevin"
#!/bin/sh -e
prefix=/scratchbox/users/kevin/targets/SDK_X86/usr
export LD_LIBRARY_PATH=${prefix}/lib; export LD_LIBRARY_PATH
exec ${prefix}/bin/Xephyr :$1 -host-cursor -screen 800x480x16 -dpi 96
-ac
For a user "dino"
#!/bin/sh -e
prefix=/scratchbox/users/dino/targets/SDK_X86/usr
export LD_LIBRARY_PATH=${prefix}/lib; export LD_LIBRARY_PATH
exec ${prefix}/bin/Xephyr :$1 -host-cursor -screen 800x480x16 -dpi 96
-ac
2) Then, I executed these scripts on the gdm xserver(Ubuntu 6.1 Edgy
distributed)
root$start-xephyr-kevin.sh 2
root$start-xephyr-dino.sh 3
as a result, on the screen, 2 Xephyr launched.
3) On an other PC, executed terminal program(SecureCRT) and then I logged
in server as other users, kevin and dino.
4) Then I logged in scratchbox(Apophis (Current stable version)) as each
user.
5) For the first time, kevin set its DISPLAY, like this
[sbox-SDK_X86: ~] > export DISPLAY=127.0.0.1:2
and then another user, dino did the same work except to number of
DISPLAY
[sbox-SDK_X86: ~] > export DISPLAY=127.0.0.1:3
6) Then, kevin launched Maemo UI firstly
[sbox-SDK_X86: ~] > af-sb-init.sh start
..........as a result, it worked well, I could find that maemo UI
launched on the xephyr displayed on 2
7) Lastly, dino launched Maemo UI, like this
[sbox-SDK_X86: ~] > af-sb-init.sh start
..........as a result, it terminated...with that log.
/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
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-launcher/home/dino/.osso/current-gtk-key-theme:1: Unable to find
include file: "keybindings.rc"
maemo-launcher: died binding to invoker socket
start failed.
Starting Sapwood image server
sapwood-server[12755]: GLIB INFO default - server started
Starting Matchbox window manager
matchbox: WARNING: failed to load /usr/share/matchbox/mbnoapp.xpm .
Disabling icons.
matchbox: failed to load keyboard config
Starting clipboard-manager
Starting Keyboard
Starting MAEMO AF Desktop
[sbox-SDK_X86: ~] >
8) Following End.
Well, I think it might be problem at DBUS sessions and maemo UI
initscript...
I expected that it'd work well if that problems are fixed...
Somebody who knows that issue, please, let me know how to fix it...
Thanks,
BRs.
Kevin, K Park.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070509/8caea802/attachment.htm
- Previous message: Gregale SDK on new website?
- Next message: Can we launch Maemo UI on several Xephyrs from different clients connected to a server?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
