[maemo-developers] [maemo-developers] Maemo in Suse Linux 9.1.

From: Eero Tamminen eero.tamminen at movial.fi
Date: Thu Dec 29 11:22:20 EET 2005
Hi,

> I was trying to installed Maemo SDK in Suse Linux 9.1.  I followed all
> the instructions inside the tutorial and all work well until the part
> where I have to setup Xephyr.  I created one file as suggested in the
> manual and place it inside the / by using root.

Which file you're referring to?


> I re-login by using the user that I created during the setup process
> and try to execute Xephyr by using this command: ./start-xephyr.sh &.

I think the instructions assume you give as Sbox-user a user already
existing on your machine. (the user running the desktop)

Setting up multi-user Sbox setup is slightly more complicated.


> Unfortunately it give me this error: Xephyr cannot open host display.

If you're running an X program (such as Xephyr) as another user, you
need to tell your X server that this other user should be able to
connect his X clients to your X server.

There are several ways to do this:
- "xhost +localhost" as the normal user, or
- copying the .Xauthority from your normal home directory to
  the home directory of the new user (home directory of course
  depending on whether you're running Xephyr from outside or
  inside Sbox)
(There are some other ways too, but these are easiest)


> Is DISPLAY set?
> I ignored the error and went on to procedd with
> the next section that is:

Maemo programs cannot run if they don't have an X server (in
this case Xephyr) on where to show their UIs.


FYI: Xephyr is a "virtual" X server for the Maemo applications that has
correct screen size and bit-depth.  It uses your desktop X server
window as it's framebuffer.  (Note: Xephyr is a real X server unlike
Xnest which is just an X server proxy i.e. limited to the capabilities
of the X server which it's proxying.  Xephyr can support X extensions
that your desktop XFree86 X server propbably doesn't, such as Xdamage,
Xcomposite etc.)


	- Eero


More information about the maemo-developers mailing list