[Wayland-bugs] [Bug 62804] New: weston-launch fails, due to using the incorrect tty by default with systemd-logind

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 27 03:42:15 PDT 2013


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

          Priority: medium
            Bug ID: 62804
          Assignee: wayland-bugs at lists.freedesktop.org
           Summary: weston-launch fails, due to using the incorrect tty by
                    default with systemd-logind
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: zachcook1991 at gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: 1.0.x
         Component: weston
           Product: Wayland

weston-lauch fails with the following ouput:

Date: 2013-03-27 EDT
[06:26:39.134] weston 1.0.6
               http://wayland.freedesktop.org/
               Bug reports to:
https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.0.6
               Build:  
[06:26:39.134] OS: Linux, 3.8.4-1-overclock, #1 SMP PREEMPT Sun Mar 24 23:45:50
EDT 2013, x86_64
[06:26:39.134] Loading module '/usr/lib/weston/drm-backend.so'
[06:26:39.135] initializing drm backend
[06:26:39.138] couldn't open /dev/dri/card0, skipping
[06:26:39.138] failed to initialize egl
[06:26:39.138] failed to drop master: Permission denied
[06:26:39.146] fatal: failed to create compositor

This is caused by trying to use a tty that the user does not have permissions
for, instead of the current tty for which systemd-logind gives permissions.

Running "weston-launch -t /dev/tty1" on tty1 will run correctly.

This only occurs when the user does not belong to the video or weston-launch
groups, so that pam via systemd-logind is exclusively relied on to give
permissions.

-- 
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/20130327/f88271b4/attachment-0001.html>


More information about the Wayland-bugs mailing list