:: Re: [devuan-dev] [DNG] Libseat supp…
Forside
Slet denne besked
Besvar denne besked
Skribent: Ralph Ronnquist
Dato:  
Til: dng, devuan-dev
Emne: Re: [devuan-dev] [DNG] Libseat support for xorg
Let me add some slight correction and some notes:

The package to install is named xserver-xorg-core and it also updates
xserver-common (which contains the Xserver man page and some other
doc)

To run in vtN, the user must have "rw" access to /dev/ttyN. For
example with a traditional sysvinit setup, the log in on vtN makes the
user owner of /dev/ttyN and they get "rw" access by that.

In addition, the user must be in group "video", or more specifically,
they need "rw" access to /dev/dri/card0 and /dev/vga_arbiter (which
might need to be set up with "rw" for group video as well).

The "seatd" backend needs "seatd" installed as well as that the user
has "rw" access to the seatd socket /run/seatd.sock (as Mark noted
below).

The "logind" backend needs "libpam-elogind", "elogind" and
"policykit-1" (or similar setup) for working out applicable
permissions.

Only one of the backends is needed. It is the facility that provides
transient access to the input devices.

Ralph.

On Tue, Dec 13, 2022 at 07:06:14PM +0000, Mark Hindley wrote:
> I should have added
>
> On Tue, Dec 13, 2022 at 06:49:46PM +0000, Mark Hindley wrote:
> > - Ensure you are in the video group
> >
> >  - Login to a VT and test basic functionality. Does startx give you a graphical
> >    session? Can you switch VTs? You can change backend with the LIBSEAT_BACKEND
> >    environment variable. Does both LIBSEAT_BACKEND=seatd and LIBSEAT_BACKEND=logind
> >    work?

>
> If you wnat to test the seatd backend also run
>
> echo 'DAEMON_ARGS="-g video"' | sudo tee -a /etc/default/seatd
>
> and restart seatd.
>
> Sorry.
>
> Mark
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng