failed to create display: no such file or directory

Kristian Høgsberg krh at bitplanet.net
Wed Jan 19 11:14:28 PST 2011


2011/1/19 李晓鹭 <linyuzong at 163.com>:
> Compiled the wayland successfully,use --prefix=/usr/X11R7 --sysconfdir=/etc.
>  When run ./compositor -b my-image.jpg,successfully,can move mouse ,don't
> other.
> When run ./compositor && terminal
> always get below error:
> failed to create display: no such file or directory

That's probably just a race condition - the client starts up and tries
to conncet to the socket before the compositor has created it.  Try
./compositor && (sleep 2; terminal) instead.

Kristian


More information about the wayland-devel mailing list