Build problems on Ubuntu Natty (11.04)

Bill Spitzak spitzak at gmail.com
Wed Mar 14 08:23:45 PDT 2012


On 03/14/2012 12:56 AM, Pekka Paalanen wrote:

>> The display is still black with a tiny icon in the corner. Clicking the
>> icon produces:
>>
>> failed to create display: Permission denied
>> failed to create display: Permission denied
>> child 8578 exited
>
> Did you install weston as setuid? Are the socket file permissions
> preventing connections?

That certainly is what I suspect.

~/install/bin/weston is setuid and owner and group are set to root.

Also ~/install/libexec/ and ~/install/libexec/weston-desktop-shell and 
~/install/libexec/weston-tablet-shell have owner and group set to root, 
which is a bit annoying but probably a side-effect of doing "sudo make 
install" in weston.

When weston is running, I guess these are the sockets, they are set as 
follows:

ls -l /tmp
srwxr-xr-x 1 root    spitzak       0 2012-03-14 08:17 wayland-0
-rw-r----- 1 root    spitzak       0 2012-03-14 08:17 wayland-0.lock

There is also a file with the same timestamp in there:

-rw-r--r-- 1 spitzak spitzak    1670 2012-03-14 08:17 fileIFXN7F

I also tried running wayland outside X, although X was running. It 
messed up the screen and produced the following output and then exited:

compositor: using new vt /dev/tty8
nvfx_screen_get_param:103 -  Warning: unknown PIPE_CAP 57
Mesa 8.1-devel implementation error: Incomplete OpenGL ES 2.0 support.
Please report at bugs.freedesktop.org
failed to get plane resources: Invalid argument
weston: nvfx_miptree.c:72: nvfx_miptree_layout: Assertion `pt->target == 
PIPE_TEXTURE_RECT || (util_is_power_of_two(pt->width0) && 
util_is_power_of_two(pt->height0))' failed.
./wayland-run.sh: line 36: 14165 Aborted                 $WLD/bin/weston
failed to create display: No such file or directory
failed to create display: No such file or directory

The system was locked until I typed Alt+F7 to get X display back, then 
Alt+F1 which put me back into the terminal with this output and I could 
type again.


More information about the wayland-devel mailing list