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

2017-10-31 Thread Christian Stroetmann
On the 30th of October 2017 16:02, Pekka Paalanen wrote: On Mon, 30 Oct 2017 15:20:42 +0100 Emre Ucan wrote: weston does not need to be root. It requires adjusting ownership on the given tty device. If weston does not have proper rights, it will get an error at startup

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

2017-10-31 Thread Emil Velikov
On 31 October 2017 at 16:42, Michal Suchanek wrote: >>> Ever heard of rootless X? >> >> Yes. I believe it uses logind now. > > The documentation says otherwise. > See xserver commit e7b84ca46944895971a8f048c7e34869b7de01c0 and the other work by Hans in the area. I'm

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

2017-10-31 Thread Michal Suchanek
On 31 October 2017 at 08:49, Pekka Paalanen wrote: > On Mon, 30 Oct 2017 18:56:02 +0100 > Michal Suchanek wrote: > >> On 30 October 2017 at 16:02, Pekka Paalanen wrote: >> > On Mon, 30 Oct 2017 15:20:42 +0100 >> > Emre Ucan

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

2017-10-31 Thread Pekka Paalanen
On Tue, 31 Oct 2017 09:29:11 +0200 Pekka Paalanen wrote: > On Mon, 30 Oct 2017 15:29:58 + > "Ucan, Emre (ADITG/ESB)" wrote: > > > IMO, it is much explanatory to get an error like "Cannot open drm > > device" than "weston cannot run as non-root

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

2017-10-31 Thread Pekka Paalanen
On Mon, 30 Oct 2017 18:56:02 +0100 Michal Suchanek wrote: > On 30 October 2017 at 16:02, Pekka Paalanen wrote: > > On Mon, 30 Oct 2017 15:20:42 +0100 > > Emre Ucan wrote: > > > >> weston does not need to be root. > >> It requires

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

2017-10-31 Thread Pekka Paalanen
om] > > Sent: Montag, 30. Oktober 2017 16:02 > > To: Ucan, Emre (ADITG/ESB) > > Cc: wayland-devel@lists.freedesktop.org > > Subject: Re: [PATCH weston] launcher: don't exit when user is not > > root > > > > On Mon, 30 Oct 2017 15:20:42 +0100 > > Emre Uca

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

2017-10-30 Thread Michal Suchanek
On 30 October 2017 at 16:02, Pekka Paalanen wrote: > On Mon, 30 Oct 2017 15:20:42 +0100 > Emre Ucan wrote: > >> weston does not need to be root. >> It requires adjusting ownership on the given tty device. >> >> If weston does not have proper rights, it

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

2017-10-30 Thread Matt Hoosier
On Mon, Oct 30, 2017 at 10:02 AM, Pekka Paalanen wrote: > On Mon, 30 Oct 2017 15:20:42 +0100 > Emre Ucan wrote: > > > weston does not need to be root. > > It requires adjusting ownership on the given tty device. > > > > If weston does not have proper

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

2017-10-30 Thread Ucan, Emre (ADITG/ESB)
mre Ucan Engineering Software Base (ADITG/ESB) Tel. +49 5121 49 6937 > -Original Message- > From: Pekka Paalanen [mailto:ppaala...@gmail.com] > Sent: Montag, 30. Oktober 2017 16:02 > To: Ucan, Emre (ADITG/ESB) > Cc: wayland-devel@lists.freedesktop.org > Subject: Re: [P

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

2017-10-30 Thread Pekka Paalanen
On Mon, 30 Oct 2017 15:20:42 +0100 Emre Ucan wrote: > weston does not need to be root. > It requires adjusting ownership on the given tty device. > > If weston does not have proper rights, it will get > an error at startup anyway. > > Signed-off-by: Emre Ucan