[PATCH weston] launcher: don't exit when user is not root

Pekka Paalanen ppaalanen at gmail.com
Tue Oct 31 08:22:37 UTC 2017


On Tue, 31 Oct 2017 09:29:11 +0200
Pekka Paalanen <ppaalanen at gmail.com> wrote:

> On Mon, 30 Oct 2017 15:29:58 +0000
> "Ucan, Emre (ADITG/ESB)" <eucan at de.adit-jv.com> wrote:
> 

> > IMO, it is much explanatory to get an error like "Cannot open drm
> > device" than "weston cannot run as non-root user".  
> 
> That's true. The actual error messages you get when no launcher
> succeeds are:
> 
> "fatal: drm backend should be run using weston-launch binary or as root"
> "fatal: fbdev backend should be run using weston-launch binary or as root"
> 
> I would be quite happy to improve those error messages to be more
> helpful. I believe they were written before logind support existed.

Hi,

I'm actually writing a patch to improve these error messages myself.


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20171031/882c6dde/attachment.sig>


More information about the wayland-devel mailing list