Wayland failed to create display

me at abimanyu.in me at abimanyu.in
Tue Dec 21 09:26:01 PST 2010

try disabling connection control "xhost +" and run it as root 

Tue, 21 Dec 2010 06:13:32 -0800 (PST), magd0510 magd0510  wrote:  

Compiled the wayland successfully. When run client/flower under X,
always get below error:

failed to create display: Connection
Segment fault 
gdb traced the lt-flower into
362 if (connect(display->fd, (struct sockaddr *) &addr,
size) < 0) {

This line failed to connect to the socket, causing
wl_display_create returning NULL.

This NULL display pointer exception
was not well handled and caused the SEGFAULT later.

What is the reason
it failed to connect to the socket in line 362 of


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20101221/6b0b3d0c/attachment.html>

More information about the wayland-devel mailing list