Gentoo Archives: gentoo-user

From: Marc Joliet <marcec@×××.de>
To: Gentoo-User ML <gentoo-user@l.g.o>
Subject: [gentoo-user] Rant/Warning: fun with awesome and lightdm
Date: Tue, 09 Apr 2013 01:49:04
1 Hi list
3 [ Writing this to a) vent frustration and (spoiler alert ;-) ) b) warn about a
4 strange change in x11-wm/awesome (from upstream or Gentoo, I don't know). ]
6 Well, I just finished debugging an issue that cropped up around mid-march that
7 I didn't have time to track down properly, mostly because the logs just didn't
8 reveal anything other than that lightdm-gtk-greeter stopped (well, syslog
9 correctly says "segfault", but the lightdm log says "quit" (why "quit"?!),
10 fantastic).
12 Anyway, the problem was that after some upgrade lightdm-gtk-greeter would
13 SEGFAULT when starting, so I couldn't log in using lightdm. I could still use
14 startx though, so it wasn't of immediate importance.
16 First I thought:
18 "Well, it can't be lightdm or lightdm-gtk-greeter, because I upgraded
19 those before the last kernel update, so they definitely worked fine before,
20 and the upgrade to awesome can't influence lightdm-gtk-greeter, because that's
21 started afterwards."
23 So I went through the packages I upgraded and tried selectively downgrading the
24 recent upgrades that were also dependencies of lightdm or lightdm-gtk-greeter
25 (e.g., gettext), but no luck. Google also didn't help, the most interesting
26 results were things like when the user of the last saved session is deleted
27 from the system, then lightdm-gtk-greeter would SEGFAULT (unless you pressed
28 the arrow keys to go down the user list). Fun stuff like that. ( I tried that,
29 BTW, and it didn't work.)
31 Several weeks pass, then today I decided to rebuild various things in the hope
32 that it was a hidden ABI issue or something, but really I was just unthinkingly
33 flailing around hoping to catch something.
35 Well, after that I finally tracked it down. I finally tried downgrading to
36 lightdm-gtk-greeter-1.1.6 (again, it was running fine before so I didn't expect
37 it to be the problem) and noticed that the "awesome" session was missing from
38 the dropdown list. So I think "Well, let's find the file responsible for
39 that.", and the problem was... *drumroll* the awesome upgrade, after all. WTF!?
41 Well, said upgrade apparently brought a change to the xsession desktop file
42 located at /usr/share/xsessions/awesome.desktop, namely:
44 [Desktop Entry]
45 Encoding=UTF-8
46 Name=awesome
47 Comment=Highly configurable framework window manager
48 NoDisplay=true
49 ^^^^ this should be false!!!!!
50 TryExec=awesome
51 Exec=awesome
52 Type=Application
54 So because of that, lightdm-gtk-greeter ignored the awesome.desktop xsession
55 file, resulting in it trying to load the last session which referenced the now
56 invalid "awesome" session. Then, instead of displaying the next available item,
57 lightdm-gtk-greeter decided to SEGFAULT instead. Hooray! SEGFAULTs for
58 EVERYONE! (Of course, why lightdm-gtk-greeter-1.1.6 worked is beyond me, a
59 regression in 1.3.1 maybe?)
61 Ahem.
63 Anyway, changing that line to "NoDisplay=false" fixed things for me and I was
64 able to upgrade back to lightdm-gtk-greeter-1.3.1-r1.
66 And instead of going to bed I'm venting in this email. I'll probably sleep
67 better for it, though (I hope).
69 But I can't help noticing that of course for *me* the udev-200 update goes just
70 fine and dandy, the new names I chose (wan0 and lan0) make more sense anyway,
71 but then a *window manager* upgrade manages to fsck things up in a hard to
72 track down way!? Just my luck.
74 So now I get to file a bug and ask why the hell that change was made and by
75 whom (oh, and I couldn't find related bugs for either lightdm or awesome on
76 b.g.o). Maybe somebody here knows. But first I'm going to bed (much too late,
77 BTW).
79 Weary of travelling rough terrain and in need of rest,
80 --
81 Marc Joliet
82 --
83 "People who think they know everything really annoy those of us who know we
84 don't" - Bjarne Stroustrup


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


Subject Author
Re: [gentoo-user] Rant/Warning: fun with awesome and lightdm Marc Joliet <marcec@×××.de>