I'm still totally failing to get elogind to allow me to use non-suid
Xorg.  I can see that elogind starts, e.g. after reinstating suid on
Xorg this morning:

Aug 24 07:00:50 plexi dbus-daemon[1224]: [system] Activating service 
name='org.freedesktop.login1' requested by ':1.0' (uid=0 pid=1418 
comm="/bin/login --     ") (using servicehelper)
Aug 24 07:00:50 plexi klogd: <38>[   13.185042] elogind-daemon[1427]: New seat 
seat0.
Aug 24 07:00:50 plexi klogd: <38>[   13.185828] elogind-daemon[1427]: Watching 
system buttons on /dev/input/event1 (Power Button)
Aug 24 07:00:50 plexi klogd: <38>[   13.200267] elogind-daemon[1427]: Watching 
system buttons on /dev/input/event0 (Power Button)
Aug 24 07:00:50 plexi klogd: <38>[   13.248290] elogind-daemon[1427]: Watching 
system buttons on /dev/input/event11 (SEM USB Keyboard)
Aug 24 07:00:50 plexi klogd: <38>[   13.248349] elogind-daemon[1427]: Watching 
system buttons on /dev/input/event12 (SEM USB Keyboard Consumer Control)
Aug 24 07:00:50 plexi klogd: <38>[   13.248402] elogind-daemon[1427]: Watching 
system buttons on /dev/input/event13 (SEM USB Keyboard System Control)
Aug 24 07:00:50 plexi dbus-daemon[1224]: [system] Successfully activated 
service 'org.freedesktop.login1'
Aug 24 07:00:50 plexi klogd: <38>[   13.333089] elogind-daemon[1427]: New 
session c1 of user ken.

But I never get permission to use /dev/input/event* so the Xorg log
in ~/,local has a series of

[   128.874] (**) Option "Device" "/dev/input/event1"
[   128.874] (**) Option "_source" "server/udev"
[   128.879] (EE) xf86OpenSerial: Cannot open device /dev/input/event1
        Permission denied.
[   128.879] (II) event1: opening input device '/dev/input/event1' failed 
(Permission denied).
[   128.879] (II) event1  - failed to create input device '/dev/input/event1'.
[   128.879] (EE) libinput: Power Button: Failed to create a device for 
/dev/input/event1
[   128.879] (EE) PreInit returned 2 for "Power Button"
[   128.879] (II) UnloadModule: "libinput"

[   128.879] (II) event1: opening input device '/dev/input/event1' failed 
(Permission denied).
[   128.879] (II) event1  - failed to create input device '/dev/input/event1'.
[   128.879] (EE) libinput: Power Button: Failed to create a device for 
/dev/input/event1
[   128.879] (EE) PreInit returned 2 for "Power Button"
[   128.879] (II) UnloadModule: "libinput"
[   128.879] (II) config/udev: Adding input device Video Bus (/dev/input/event2)
[   128.879] (**) Video Bus: Applying InputClass "keyboard-all"
[   128.879] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   128.879] (II) Using input driver 'libinput' for 'Video Bus'
[   128.879] (**) Video Bus: always reports core events
[   128.879] (**) Option "Device" "/dev/input/event2"
[   128.879] (**) Option "_source" "server/udev"
[   128.879] (EE) xf86OpenSerial: Cannot open device /dev/input/event2
        Permission denied.
[   128.879] (II) event2: opening input device '/dev/input/event2' failed 
(Permission denied).

and similarly for event0 (keyboard-all), events11..13
(keyboard-catchall), event14 (mouse).

I've been assuming that a normal user should NOT be in the input
group, but there are "fixes" for similar problems by adding the
normal user to the input group.

Is that the right thing to do in BLFS, and if so, where have I
missed noticing it ? (grepping for 'group' or 'input' in the xml
finds far too many matches, e.g. for userinput tags).

ĸ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