<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - weston-launch fails, due to using the incorrect tty by default with systemd-logind"
href="https://bugs.freedesktop.org/show_bug.cgi?id=62804">62804</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>weston-launch fails, due to using the incorrect tty by default with systemd-logind
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>zachcook1991@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>1.0.x
</td>
</tr>
<tr>
<th>Component</th>
<td>weston
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr></table>
<p>
<div>
<pre>weston-lauch fails with the following ouput:
Date: 2013-03-27 EDT
[06:26:39.134] weston 1.0.6
<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.0.6">https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.0.6</a>
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.</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>