On 8/21/20 12:38 PM, Ken Moffat via blfs-book wrote:
On Fri, Aug 21, 2020 at 12:42:39PM -0000, pierre--- via blfs-book wrote:
Author: pierre
Date: Fri Aug 21 05:42:39 2020
New Revision: 23592

Log:
Fix polkit detection of elogind (again!)

Modified:
    trunk/BOOK/postlfs/security/polkit.xml

I thought it was working without this patch ?

Aug 20 23:20:16 leshp dbus-daemon[990]: [system] Activating service 
name='org.freedesktop.login1' requested by ':1.0' (uid=0 pid=1154 comm="/bin/login 
--     ") (using servicehelper)
Aug 20 23:20:16 leshp klogd: <38>[   14.225879] elogind-daemon[1163]: New seat 
seat0.
Aug 20 23:20:16 leshp klogd: <38>[   14.226760] elogind-daemon[1163]: Watching 
system buttons on /dev/input/event2 (Power Button)
Aug 20 23:20:16 leshp klogd: <38>[   14.277907] elogind-daemon[1163]: Watching 
system buttons on /dev/input/event1 (Power Button)
Aug 20 23:20:16 leshp klogd: <38>[   14.277952] elogind-daemon[1163]: Watching 
system buttons on /dev/input/event0 (Sleep Button)
Aug 20 23:20:16 leshp klogd: <38>[   14.278024] elogind-daemon[1163]: Watching 
system buttons on /dev/input/event15 (SEM USB Keyboard)
Aug 20 23:20:16 leshp klogd: <38>[   14.278093] elogind-daemon[1163]: Watching 
system buttons on /dev/input/event16 (SEM USB Keyboard Consumer Control)
Aug 20 23:20:16 leshp klogd: <38>[   14.278160] elogind-daemon[1163]: Watching 
system buttons on /dev/input/event17 (SEM USB Keyboard System Control)
Aug 20 23:20:16 leshp dbus-daemon[990]: [system] Successfully activated service 
'org.freedesktop.login1'
Aug 20 23:20:16 leshp klogd: <38>[   14.598931] elogind-daemon[1163]: New 
session c1 of user ken.
Aug 20 23:20:32 leshp klogd: <38>[   29.780068] elogind-daemon[1163]: New 
session c2 of user ken.

and the Xorg log is in .local:

ken@leshp ~$ ls -al .local/share/xorg/Xorg.0.log*
-rw-r--r-- 1 ken users 44305 Aug 21 18:20 .local/share/xorg/Xorg.0.log
-rw-r--r-- 1 ken users 50091 Aug 21 03:40 .local/share/xorg/Xorg.0.log.old



Without this patch, it was discovered that LXDE was failing to run properly (it was trying to register sessions with ConsoleKit), which also meant that lxpolkit didn't work. A similar problem happened with GNOME, although IIRC it was something regarding polkit authorization in there as well. Pierre can probably explain it better than I can since he was the one who discovered it.
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to