Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Some lxqt functions don't work - logout functions (Read 1150 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Some lxqt functions don't work - logout functions

Hi.
When I try to select any of the lxqt app menu's logout functions (log out, reboot, shutdown, hibernate, ...),
it asks for confirm, and when I give it, does nothing.
In /var/log/everything.log something like this appears:
Nov 23 09:24:42 laca-pici dbus-daemon[1358]: [system] Activating service name='org.freedesktop.PolicyKit1' requested by ':1.0' (uid=0 pid=1388 comm="elogind-daemon ") (using servicehelper)
Nov 23 09:24:42 laca-pici dbus-daemon[1358]: [system] Activated service 'org.freedesktop.PolicyKit1' failed: Launch helper exited with unknown return code 1

Thanks


Re: Some lxqt functions don't work - logout functions

Reply #2
If he is a member of wheel does he also need dbus group?
Are you a member of wheel?

Re: Some lxqt functions don't work - logout functions

Reply #3
Hi.
I have been member of wheel since the beginning (or almost).
Now I'm member of dbus, too.
It didn't help.
Thanks

Re: Some lxqt functions don't work - logout functions

Reply #4
Wild guess: dbus or elogind not running? Can you post your rc-status --all here?

Re: Some lxqt functions don't work - logout functions

Reply #5
Looks like both dbus and elogind is running.
Code: [Select]
[laca-pici ~]# rc-status --all
Runlevel: default
 dbus                                                                                                                   [  started  ]
 NetworkManager                                                                                                         [  started  ]
 netmount                                                                                                               [  started  ]
 bluetooth                                                                                                              [  started  ]
 syslog-ng                                                                                                              [  started  ]
 acpid                                                                                                                  [  started  ]
 cronie                                                                                                                 [  started  ]
 docker                                                                                                                 [  started  ]
 sshd                                                                                                                   [  started  ]
 xdm                                                                                                                    [  started  ]
 local                                                                                                                  [  started  ]
 agetty.tty3                                                                                       [  started 1 day(s) 09:15:20 (0) ]
 agetty.tty4                                                                                       [  started 1 day(s) 09:15:20 (0) ]
 agetty.tty5                                                                                       [  started 1 day(s) 09:15:20 (0) ]
 agetty.tty2                                                                                       [  started 1 day(s) 09:15:20 (0) ]
 agetty.tty1                                                                                       [  started 1 day(s) 09:15:20 (0) ]
 agetty.tty6                                                                                       [  started 1 day(s) 09:15:20 (0) ]
Runlevel: sysinit
 devfs                                                                                                                  [  started  ]
 kmod-static-nodes                                                                                                      [  started  ]
 sysfs                                                                                                                  [  started  ]
 cgroups                                                                                                                [  started  ]
 udev                                                                                                                   [  started  ]
 dmesg                                                                                                                  [  started  ]
 opentmpfiles-dev                                                                                                       [  started  ]
 udev-trigger                                                                                                           [  started  ]
Runlevel: nonetwork
 local                                                                                                                  [  started  ]
Runlevel: boot
 modules                                                                                                                [  started  ]
 hwclock                                                                                                                [  started  ]
 fsck                                                                                                                   [  started  ]
 root                                                                                                                   [  started  ]
 mtab                                                                                                                   [  started  ]
 swap                                                                                                                   [  started  ]
 localmount                                                                                                             [  started  ]
 sysctl                                                                                                                 [  started  ]
 bootmisc                                                                                                               [  started  ]
 termencoding                                                                                                           [  started  ]
 opentmpfiles-setup                                                                                                     [  started  ]
 elogind                                                                                                                [  started  ]
 urandom                                                                                                                [  started  ]
 opensysusers                                                                                                           [  started  ]
 net.lo                                                                                                                 [  started  ]
 procfs                                                                                                                 [  started  ]
 loopback                                                                                                               [  started  ]
 keymaps                                                                                                                [  started  ]
 binfmt                                                                                                                 [  started  ]
 hostname                                                                                                               [  started  ]
Runlevel: shutdown
 killprocs                                                                                                              [  stopped  ]
 savecache                                                                                                              [  stopped  ]
 mount-ro                                                                                                               [  stopped  ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
 xdm-setup                                                                                                              [  started  ]
Dynamic Runlevel: manual
 openrc-settingsd                                                                                                       [  started  ]

Re: Some lxqt functions don't work - logout functions

Reply #6
BUMP
Not only lxqt functions (I changed to xfce since then), but anything requiring polkit, e.g. pamac.
polkitd doesn't run at all.
When I try to start polkitd manually
Code: [Select]
[pici ~]# /usr/lib/polkit-1/polkitd
, then I see
Code: [Select]
Error switching to user polkitd: Error changing to home directory /var/lib/colord: No such file or directory
What the heck is colord?

I have two other artix installations since then. Polkit works OK in both. And no /var/lib/colord in any of them.



Re: Some lxqt functions don't work - logout functions

Reply #7
Now I see something suspicious in /etc/passwd:

Code: [Select]
polkitd:x:102:102:PolicyKit daemon:/var/lib/colord:/sbin/nologin

and in the other system where it works:

Code: [Select]
polkitd:x:102:102:PolicyKit daemon:/:/usr/bin/nologin

Should I dare to just modify the user with
Code: [Select]
usermod -d / polkitd
?

Re: Some lxqt functions don't work - logout functions

Reply #8
Code: [Select]
polkitd:x:102:102:PolicyKit daemon:/:/sbin/nologin
is in my system..... just change it in wrong passwd

Re: Some lxqt functions don't work - logout functions

Reply #9
That was it. Thank you.
SOLVED