Re: Logind: how to access a device when you're not the session controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Di, 26.05.20 16:55, Pekka Paalanen (ppaalanen@xxxxxxxxx) wrote:

> Hi,
>
> I'm looking at letting Weston's 'meson test' run DRM-backend tests
> automatically and without the need of root privileges. I have a spare
> DRM device in my machine that is dedicated for this purpose, so I make
> my normal desktop environment not touch it. My problem is, is there any
> way to set up things so that logind would give Weston access to that
> DRM device while my normal desktop is active?

I am not aware of any.

> Any suggestions on what might work?

Other than patching logind with some new concept, no suggestion. Or
simply bypassing logind and opening the devices directly with root
privs? or test this in virtualization?

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux