[maemo-developers] [maemo-developers] Can we launch Xephyr from different clients connected to a server

From: Sampath Goud sampath.baddam at gmail.com
Date: Wed Jan 31 12:16:39 EET 2007
Hi,

I am working for Nokia, Bangalore.

I have made a linux PC as server and connected to this server using
different logins from different PCs (running windows through Cygwin).

I need clarifications for below two problems:

1:
---
I tried to launch the Xephyr using "# ./start-xephyr.sh &" command. I am
able to launch for the first login. Keeping this Xephyr active, When I try
to launch it from a different login from a different PC I am getting the
below error:

"
Fatal server error:
Server is already active for display 2
        If this server is no longer running, remove /tmp/.X2-lock
        and start again.
"
If I close the first instance of xephyr and try again, I am able to launch
it from the second login.

Is there any way to launch xephyr from different clients at same time?

2:
---
I tried to launch the Xephyr using "# ./start-xephyr.sh &" command. I am
able to launch for the first login. Then I tried to start the Maemo UI in
the Xephyr window using the command "[sbox-SDK_PC: ~] >
af-sb-init.shstart". The Maemo window started without any problems.
I stopped the Maemo UI "[sbox-SDK_PC: ~] > af-sb-init.sh stop" and closed
the Xephyr window.
>From a different client I launched Xephyr and tried to start the Maemo UI
using the command "[sbox-SDK_PC: ~] > af-sb-init.sh start". Maemo Ui is not
started and I am getting the below messages:

"
[sbox-SDK_PC: ~] > af-sb-init.sh start
/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
Note: For remote X connections DISPLAY should contain hostname!
Sample files present.
DBUS system bus is already running, doing nothing
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 va lid identifier
Starting Maemo Launcher: maemo-launchermaemo-launcher: died binding to
invoker s ocket
 start failed.
Starting Sapwood image server
Starting Matchbox window manager
Starting clipboard-manager
Starting Keyboard
Starting MAEMO AF Desktop
[sbox-SDK_PC: ~] > sapwood-server[24879]: GLIB INFO default - server started
"

After this I am not able to start maemo UI from the first login also. I have
to restart the Server to start Maemo UI.

Can somebody help me in solving this.

Thanks and Regards,
Sampath
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070131/2e4443d9/attachment.htm 
More information about the maemo-developers mailing list