trouble running wayland clients (Kristian H?gsberg)

Ustun ERGENOGLU ustun.ergenoglu at gmail.com
Tue Dec 28 06:30:24 PST 2010


Thanks Kristian and Rui for the support,

now I get the compositor and terminal running.

-Üstün

On 28 December 2010 04:24, rui kou <mink365 at gmail.com> wrote:
> 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>
>> 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
>>
>
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
>


More information about the wayland-devel mailing list