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 <[email protected]>
> Subject: Re: trouble running wayland clients
> To: Ustun ERGENOGLU <[email protected]>
> Cc: [email protected]
> Message-ID:
>        
> <[email protected]<y-trmqvrhr9wvlfxmargvwk5%[email protected]>
> >
> Content-Type: text/plain; charset=UTF-8
>
> On Wed, Dec 22, 2010 at 5:06 AM, Ustun ERGENOGLU
> <[email protected]> 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
>
>
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to