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

From: Levi Bard taktaktaktaktaktaktaktaktaktak at gmail.com
Date: Wed Jan 31 17:18:30 EET 2007
> 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?

I would suggest creating another xephyr script that launches xephyr on
a different display ( exec ${prefix}/bin/Xephyr :3 -host-cursor
-screen 800x480x16 0dpi 96 -ac ), or alternatively write a script that
takes the display as a parameter.

> 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.sh
> start". 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:

After starting xephyr, did you set DISPLAY to :2 in your shell?

-- 
Just stop and take your secret journey, you will be a new box. --Leeta
http://www.gnu.org/philosophy/shouldbefree.html

More information about the maemo-developers mailing list