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

On
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
refused
Segment fault 
gdb traced the lt-flower into
wayland-client.c
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
wayland-client.c?

Mag

 
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to