1 |
On Friday, 20 December 2019 11:35:45 GMT Dr Rainer Woitok wrote: |
2 |
> Mick, |
3 |
> |
4 |
> On Thursday, 2019-12-19 18:30:47 +0000, you wrote: |
5 |
> > ... |
6 |
> > consolekit will work for this purpose - is it running? It should be in |
7 |
> > your default runlevel. |
8 |
> |
9 |
> $ rc-update show|grep consolekit |
10 |
> $ |
11 |
> |
12 |
> Gosh! It's missing! Maybe I just started it to see whether or not it |
13 |
> works and then forgot to add it to default. So add and start it now: |
14 |
> |
15 |
> $ sudo rc-update add consolekit default |
16 |
> Password: |
17 |
> * service consolekit added to runlevel default |
18 |
> $ sudo rc-service consolekit start |
19 |
> * Caching service dependencies ... |
20 |
> [ ok ] * Starting consolekit ... |
21 |
> * start-stop-daemon: /usr/sbin/console-kit-daemon is already running |
22 |
> * Failed to start consolekit |
23 |
> [ !! ] * ERROR: consolekit failed to start |
24 |
> $ ps -ef|grep console |
25 |
> rainer 3928 12250 0 19:53 pts/0 00:00:00 grep console |
26 |
> root 11675 1 0 Dec18 ? 00:00:00 |
27 |
> /usr/sbin/console-kit-daemon --no-daemon $ |
28 |
> |
29 |
> So it's not in the default run-level, but it's running anyway? Whazzat? |
30 |
|
31 |
It was not started as a default service on your current runlevel, but was |
32 |
started as a dependency anyway - when e.g. you logged into your desktop. |
33 |
|
34 |
|
35 |
> So I decided to reboot and see what happens. But this helped neither |
36 |
> with automounting nor with hibernating. The only thing that changed was |
37 |
> the command line of the console-kit command: |
38 |
> |
39 |
> $ ps -ef|grep console |
40 |
> root 7320 1 0 Dec19 ? 00:00:00 |
41 |
> /usr/sbin/console-kit-daemon rainer 32639 10242 0 12:21 pts/0 |
42 |
> 00:00:00 grep console |
43 |
> $ |
44 |
> |
45 |
> By the way, these are its USE flags for consolekit, in case it matters: |
46 |
> |
47 |
> $ eix -l consolekit|grep Installed |
48 |
> Installed versions: 1.2.1(15:11:46 22/10/19)(acl pam pm-utils |
49 |
> policykit udev -cgroups -debug -doc -evdev -selinux -test KERNEL="linux") $ |
50 |
> |
51 |
> Sincerely, |
52 |
> Rainer |
53 |
|
54 |
If consolekit does not fix your ability to suspend/hibernate as a plain user, |
55 |
then it could well be a bug (or setting) related to your desktop (xface). I |
56 |
don't use this desktop to be able to advise further, but generally I would try |
57 |
to run the command as a plain user while keeping an eye on the terminal, |
58 |
syslog, and xorg.0.log, for any messages pointing to the underlying problem. |
59 |
|
60 |
-- |
61 |
Regards, |
62 |
|
63 |
Mick |