On Sat, Aug 24, 2019 at 09:00:36PM -0500, Bruce Dubbs via blfs-dev wrote:
> On 8/24/19 8:14 PM, Ken Moffat via blfs-dev wrote:
> 
> It's installed right at the end of my log after installing the header files.
> 
>   -- Bruce
Yeah, I managed to boot a system from a couple of weeks ago, which
had elogind but where I'd accidentally installed Xorg suid and
thought all was working.

I was going to step away from the machine, but I thought I'd look up
about admin users on rootless X, and I came across:

https://wiki.gentoo.org/wiki/Non_root_Xorg which notes:
 As of Nov. 6, 2018, the information in this section is probably
outdated. You can help the Gentoo community by verifying and
updating this section

But then goes on to say:

Now you can run X as user, however because none of login managers are
currently capable of doing necessary permission handling it needs
some workarounds. In particular, X run by user needs to be able to
access /dev/input files and it needs to be started directly as the
user. Additionally, as with using direct rendering, the unprivileged
user also needs access to the video hardware, typically achieved by
adding them to the video group (though certain login managers, such
as ConsoleKit or systemd-logind may handle this for you).

To access /dev/input files it's easiest to add them to group and
allow user to access them.
[end quote]

I'll note that all the input event and mice|mouse chardevs are
currently owned by  root:input.

So, I guess this gives two options for using rootles X:

1. Be an admin user, i.e. in the wheel group.

2. Be a member of the input group.

In the (for me, unlikely) situations of either logging in to a
desktop via ssh (when I've left a desktop running), or having TWO
human users with individually assigned graphics cards, might give
problems in either event.

But for me, I'm starting to think that membership of the input group
might be the better approach.

And I still think that a minimum of one machine per desktop user
(with integrated graphics if low-power is a requirement) is a better
approach than trying to squeeze multiple people onto one big machine
(after all, how many modern graphics cards can you actually fit into
one machine ?).  But for people who want to have multiple desktop
users per machine, there are guides (or variants of hte same guide)
at e.g. Arch, debian.

Not sure how any of this fits with Pierre's earlier observation
about multiple users on the same machine, and frankly that part is
not my problem.  Now I really WILL step away from the machine.

Goodnight, thanks for the assistance.

ĸen
-- 
Adopted by dwarfs, brought up by dwarfs.  To dwarfs I'm a dwarf, sir.
I can do the rite of k'zakra, I know the secrets of h'ragna, I can
ha'lk my g'rakha correctly ... I am a dwarf
           Captain Carrot Ironfoundersson (in The Fifth Elephant)
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to