[Wayland-bugs] [Bug 60926] Weston should exit when run on KMS without weston-launch

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 15 16:20:30 PST 2013


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

--- Comment #3 from Kristian Høgsberg <krh at bitplanet.net> ---
(In reply to comment #1)
> (In reply to comment #0)
> > Currently, when someone runs weston on KMS/DRM without weston-launch, they
> > usually have no keyboard / mouse permissions, which generally ends up
> > requiring a reboot.  
> > 
> > So weston should detect being run on KMS/DRM without weston-launch, and exit.
> 
> I don't use weston-launch in the realm of my testing activities and prefer
> not to.  And I've never had the issue that you've described.
> 
> It seems you're trying to solve the issue from the wrong direction...
> shouldn't weston just detect the permission problems instead of forcing a
> hard multi-directional relationship on weston-launch?  Having weston check
> if weston-launch was used to run it doesn't seem to make sense to me (i.e.
> why not just have weston take on the responsibilities of weston-launch in
> that case?).

weston-launch is the only supported way to run weston on KMS.  weston-launch
isolates the few things requiring root-priviledges in a tiny process with no
unsafe dependencies for easy auditing, letting weston run as a regular user. 
Running weston on kms can only work if it is run as root, which is not a
scenario we support.

-- 
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/20130216/afde30bc/attachment-0001.html>


More information about the Wayland-bugs mailing list