<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - failed to create display when use "weston --backend=wayland-backend.so""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90562">90562</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>failed to create display when use "weston --backend=wayland-backend.so"
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>wayland
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mark.yao@rock-chips.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>run command at opensuse 13.2:
   weston --backend=wayland-backend.so


[21:00:54.070] weston 1.6.0
               <a href="http://wayland.freedesktop.org/">http://wayland.freedesktop.org/</a>
               Bug reports to:
<a href="https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.6.0">https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.6.0</a>
               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?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>