[Wayland-bugs] [Bug 90562] failed to create display when use "weston --backend=wayland-backend.so"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 21 06:32:38 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90562

            Bug ID: 90562
           Summary: failed to create display when use "weston
                    --backend=wayland-backend.so"
           Product: Wayland
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: wayland
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: mark.yao at rock-chips.com

run command at opensuse 13.2:
   weston --backend=wayland-backend.so


[21:00:54.070] weston 1.6.0
               http://wayland.freedesktop.org/
               Bug reports to:
https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.6.0
               Build: 1.5.93-5-g2858cc2 configure.ac: bump version to 1.6.0
(2014-09-19 13:40:14 +0300)
[21:00:54.071] OS: Linux, 3.16.6-2-desktop, #1 SMP PREEMPT Mon Oct 20 13:47:22
UTC 2014 (feb42ea), x86_64
[21:00:54.085] Starting with no config file.
[21:00:54.105] Loading module '/usr/lib64/weston/wayland-backend.so'
[21:00:54.401] failed to create display: No such file or directory
[21:00:54.401] fatal: failed to create compositor

$env | grep -E "XDG|WAYLAND"

XDG_VTNR=7
XDG_SESSION_ID=1
XDG_MENU_PREFIX=gnome-
XDG_CONFIG_DIRS=/etc/xdg
XDG_SEAT=seat0
XDG_SESSION_DESKTOP=gnome
XDG_DATA_DIRS=/usr/share
XDG_RUNTIME_DIR=/run/user/1000
XDG_CURRENT_DESKTOP=GNOME

strace weston --backend=wayland-backend.so:
...
connect(10, {sa_family=AF_LOCAL, sun_path="/run/user/1000/wayland-0"}, 27) = -1
ENOENT (No such file or directory)

who can create the "/run/user/1000/wayland-0" ?

I read the weston source code:
  this socket can create by src/compositor.c: weston_create_listening_socket()
  but actually things:
---->    main
---->    backend_init
---->    wl_display_connect (check the socket and report no display) BREAK
----> **NO** PATH get here to call weston_create_listening_socket()

Is that a bug or I do something wrong?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150521/92d6f2c8/attachment.html>


More information about the wayland-bugs mailing list