running wayland outside X
Feng, Haitao
haitao.feng at intel.com
Wed Dec 29 16:18:02 PST 2010
Hi,
I have met the same problem and here is the solution from Kristian.
> However when I run wayland under terminal, and I start the clients,
> such as gears, they will fail with error message "sent request to invalid
> object". Do I need any special configuration for terminal mode?
No, the problem is that when you vt-switch away from wayland (which I
assume you do to start a client), the wayland compositor has to give up
drm master priviledges and can't authenticate clients at that point.
For now, you'll have to use something like "sleep 2; ./terminal" and
then quickly vt-switch back to wayland.
Thanks
-Haitao
On Thu, Dec 30, 2010 at 01:15:22AM +0800, Üstün Ergenoglu wrote:
> Hi,
>
> 2010/12/28 Zan Dobersek <zandobersek at gmail.com>:
> > Set WAYLAND_DEBUG env variable, it helps a lot. You will probably see which
> > object is non-existent.
> thanks.
>
> before the client aborts, I see these on wayland's output:
> -> display at 1.range(1280)
> -> display at 1.global(new id 1, "display", 1)
> -> display at 1.global(new id 2, "drm", 1)
> -> display at 1.global(new id 3, "compositor", 1)
> -> display at 1.global(new id 4, "visual", 1)
> -> display at 1.global(new id 5, "visual", 1)
> -> display at 1.global(new id 6, "visual", 1)
> -> display at 1.global(new id 7, "shm", 1)
> -> display at 1.global(new id 8, "shell", 1)
> -> display at 1.global(new id 9, "screenshooter", 1)
> -> display at 1.global(new id 10, "output", 1)
> -> display at 1.global(new id 11, "output", 1)
> -> display at 1.global(new id 12, "input_device", 1)
> -> drm at 2.device("/dev/dri/card0")
> -> output at 10.geometry(0, 0, 1600, 1200)
> -> output at 11.geometry(0, 0, 1280, 1024)
> drm at 2.authenticate(113)
> -> display at 1.invalid_object(0)
> disconnect from client 0x8849158
>
>
> anyone with a clue?
>
> -üstün
> _______________________________________________
> 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