If the launcher is told to use a non-default seat (not seat0), there will not be a VT or tty to set up. VT/tty setup requires privileges. This patch allows a non-root user to use launcher-direct, provided that the seat is not the default. There is still the problem of opening DRM and input devices, which is left for the user to solve. This mode of operation is useful for developers who can set up a secondary seat on their machine. You can run Weston/DRM from a terminal window by pointing it to a non-default seat. You have to arrange a DRM device by having an extra unused graphics card in the machine. You also need dedicated input devices. Both the DRM device and the input devices must be assigned to the secondary seat and device file permissions adjusted so that they can be opened. Doing so is an obvious security risk, as input could easily be eavesdropped. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>dev
parent
6aa46844a6
commit
4e9f4d0474
Loading…
Reference in new issue