trouble running wayland clients (Kristian H?gsberg)

rui kou mink365 at gmail.com
Mon Dec 27 18:24:28 PST 2010


I think we have the same problem. I used Darxus's script in
http://www.chaosreigns.com/wayland/ubuntu.html, and I fixed this problem
just change *--with-xkb-rootdir* to *--with-xkb-config-root.*
*
*
*XDG_RUNTIME_DIR is not needed, it just falling back to . and create a
./wayland-0 file, so if we just run the compositor and clients in the same
directory, it should work.*
*
*
I think what make the client disconnect is this: *Failed to compile keymap*

My Pc: ubuntu 10.10, nouveau, GeForce 8400

Message: 4
> Date: Mon, 27 Dec 2010 12:37:10 -0500
> From: Kristian H?gsberg <krh at bitplanet.net>
> Subject: Re: trouble running wayland clients
> To: Ustun ERGENOGLU <ustun.ergenoglu at gmail.com>
> Cc: wayland-devel at lists.freedesktop.org
> Message-ID:
>        <AANLkTi=-y-trMqvrHR9WVLfxmargVWk5+jaxPNWxjrXT at mail.gmail.com<y-trMqvrHR9WVLfxmargVWk5%2BjaxPNWxjrXT at mail.gmail.com>
> >
> Content-Type: text/plain; charset=UTF-8
>
> On Wed, Dec 22, 2010 at 5:06 AM, Ustun ERGENOGLU
> <ustun.ergenoglu at gmail.com> wrote:
> > Hi all,
> >
> > after a bit of struggling I finally managed to get the wayland
> > compositor running under x(with open source ati drivers). The
> > compositor seems to run fine, I can see the mouse cursor moving, but
> > when I try to run the example client applications I get an error like:
> > XDG_RUNTIME_DIR not set, falling back to .
> > Failed to compile keymap
> > disconnect from client 0x97985e8
>
> The compositor and clients will look for the Wayland socket in
> $XDG_RUNTIME_DIR but if that env var is not set, it will fall back to
> '.'. XDG_RUNTIME_DIR is normally set to /var/run/user/$USER.  If it's
> not set and you run the compositor from compositor/ and then cd into
> clients/ to run the clients, the clients won't be able to find the
> socket.  You can set XDG_RUNTIME_DIR to /tmp if your system doesn't
> set it or just run the compositor and clients from the same directory.
>
> Kristian
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20101228/ad0997ac/attachment.html>


More information about the wayland-devel mailing list