Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Suspend and Hibernation not working on XFace desktop [SOLVED]
Date: Fri, 17 Jan 2020 14:06:43
Message-Id: 92904974.Tgm6abFWxv@localhost
In Reply to: [gentoo-user] Re: Suspend and Hibernation not working on XFace desktop [SOLVED] by Dr Rainer Woitok
1 On Friday, 17 January 2020 11:18:22 GMT Dr Rainer Woitok wrote:
2 > Mick and All,
3 >
4 > On Saturday, 2019-12-21 12:22:31 +0000, you wrote:
5 > > ...
6 > > A Gentoo user with consolekit and xfce should kindly check their settings
7 > > and compare with yours to see if something is amiss. I'm thinking, any
8 > > xfce regression bugs ought to affect more than one user at a time, so you
9 > > shouldn't be alone in this.
10 >
11 > Well, it's been a while ...
12 >
13 > In my attempt to hunt down this bug I stumbled upon more than one omiss-
14 > ion, glitch, misinterpretation, you name it that had crept into my init-
15 > ial Gentoo installation. And since I had to fix these anyway, progress
16 > on the initial problem was somewhat slow.
17 >
18 > Eventually I found that
19 >
20 > $ ck-list-sessions
21 > $
22 >
23 > just returned nothing. There wasn't any ConsoleKit session running at
24 > all! I was using "x11-misc/sddm" as a desktop manager and something had
25 > made it stop starting a ConsoleKit session before starting Xfce. I nev-
26 > er found out what, but found a workaround. Before it starts Xfce "sddm"
27 > sources "~/.xsession", if it exists. Therefore running
28 >
29 > $ echo 'exec ck-launch-session dbus-launch --exit-with-session $@' >
30 > ~/.xsession
31 >
32 > once and then rebooting solves the problem. Within the script sourcing
33 > "~/.xsession" the arguments "$@" will expand to the command (including
34 > arguments) configured to start your session ("startxfce4" in my case)
35 > and the "exec" prefix will simply prevent this script from running "$@"
36 > twice. However, since I also had other reservations about "sddm" I dec-
37 > ided to replace it with "lightdm" which correcly ran out of the box (ex-
38 > cept for configuring the background image and -- most importantly -- the
39 > keyboard layout for entering the password). And "lightdm" does not need
40 > "~/.xsession".
41 >
42 > So finally a big thank you to all the kind people trying to help ... :-)
43 >
44 > Sincerely,
45 > Rainer
46
47 Glad you got this going and thanks for posting back in case others come across
48 the same problem.
49
50 --
51 Regards,
52
53 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature