Bug 947558
Summary: | Empty desktop after login | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jason Montleon <jmontleo> | ||||||
Component: | lxdm | Assignee: | Christoph Wickert <christoph.wickert> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 19 | CC: | awilliam, christoph.wickert, ed.greshko, iamdexpl, jones.peter.busi, jpokorny, mtasaka | ||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2013-05-06 19:52:13 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 834088 | ||||||||
Attachments: |
|
Description
Jason Montleon
2013-04-02 18:08:03 UTC
What version of lxdm is this? What session are you trying to run? Are ConsoleKit and ConsoleKit-x11 installed? rpm -q ConsoleKit ConsoleKit-x11 lxdm ConsoleKit-0.4.5-5.fc19.x86_64 ConsoleKit-x11-0.4.5-5.fc19.x86_64 lxdm-0.4.1-5.fc19.x86_64 I am trying to run Xfce. I have PREFERRED=startxfce4 in /etc/sysconfig/desktop and lxdm configured as the display manager via systemctl. In the past this was sufficient to get things working, but it is no longer working. I see what may be this trying to boot the F19 Alpha LXDE live image: it boots to a completely blank screen. https://bugzilla.redhat.com/show_bug.cgi?id=922935 happens if I don't pass enforcing=0 , ConsoleKit fails to start up. Passing enforcing=0 makes ConsoleKit start up. But still, system boots to a black screen. I see the "create ConsoleKit session fail" error in lxdm.log. If I boot with enforcing=0 3 and then 'yum install ConsoleKit-x11' before doing 'systemctl isolate graphical.target', the error goes away - but it still results in a black screen. I've tried both qxl/SPICE and cirrus/VNC in my VM, so I don't think that's the problem. At this point I'm somewhat stuck, but hopefully this should be easy to reproduce, at least - just grab https://dl.fedoraproject.org/pub/alt/stage/19-Alpha-RC1/Live/x86_64/Fedora-Live-LXDE-x86_64-19-Alpha-1.iso (or a later build if one is available by the time you read this) and try to boot it. Then you can try the refinements above (enforcing=0 is probably a good one to use at minimum). Nominating as a freeze exception bug on the basis that it's basically a showstopper for LXDE live spin, if what I'm seeing is the same as this bug. Created attachment 735528 [details]
pstree log
I see this issue with my F-19 machine with testing repo enabled (not live) with lxdm (not with lightdm), with selinux fully _dis_abled.
pstree log (for my case) attached.
Created attachment 735529 [details] ps auwwx & gdb ps auwwx result and gdb log for attaching lxdm-binary Looks like lxdm-binary is hanging at: (gdb) up 9 #9 0x0804d612 in switch_user (pw=pw@entry=0x42a8cce0 <resbuf.9405>, run=0x84360b0 "/usr/bin/startlxde", env=env@entry=0x843d510) at lxdm.c:987 987 g_spawn_command_line_sync ("/etc/lxdm/PreLogin",NULL,NULL,NULL,NULL); (gdb) li 982 setenv("USER",pw->pw_name,1); 983 setenv("LOGNAME",pw->pw_name,1); 984 setenv("SHELL",pw->pw_shell,1); 985 setenv("HOME",pw->pw_dir,1); 986 987 g_spawn_command_line_sync ("/etc/lxdm/PreLogin",NULL,NULL,NULL,NULL); <========================= 988 989 if( !pw || initgroups(pw->pw_name, pw->pw_gid) || 990 setgid(pw->pw_gid) || setuid(pw->pw_uid) || setsid() == -1 ) 991 exit(EXIT_FAILURE); i.e. g_spawn_command_line_sync does not return. https://bugs.launchpad.net/ubuntu/+source/pidgin/+bug/1109251 may be similar issue (this also seems to be g_spawn_command_line_sync hanging). Maybe better to ask glib2 maintainer for help. [tasaka1@localhost ~]$ rpm -q lxdm glib2 lxdm-0.4.1-5.fc19.i686 glib2-2.36.0-1.fc19.i686 Same here with F-19 upgraded from F-18 with yum distro-sync. lxdm-0.4.1-5.fc19.x86_64, glib2-2.36.1-1.fc19.x86_64, SELinux disabled. Updating glib2 to 2.36.1-2.fc19 fixed the bug for me. Huh. Really? The commit doesn't look particularly relevant: Changelog * Sat Apr 27 2013 Thorsten Leemhuis <fedora> - 2.36.1-2 - Fix pidgin freezes by applying patch from master (#956872) anyone else seen this magically resolved? Haven't tried yet, but see the from comment 5, "i.e. g_spawn_command_line_sync does not return. https://bugs.launchpad.net/ubuntu/+source/pidgin/+bug/1109251 may be similar issue (this also seems to be g_spawn_command_line_sync hanging)." There was a suspicion the same issue affecting pidgin was at fault here. It may have been the case. aha, I hadn't followed it that closely. makes sense in that case. Yeah, confirmed that this bug still remains with glib2-2.36.1-1.fc19.i686, but is not reproducible with glib2-2.36.1-2.fc19. With glib2-2.36.1-1.fc19.i686 lxdm-binary still hangs at g_spawn_command_line_sync(), glib2-2.36.1-2.fc19 change is actually to fix https://bugzilla.gnome.org/show_bug.cgi?id=698081 (Pidgin hangs in g_spawn_command_line_sync). So I think this is the same issue. glib2-2.36.1-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/FEDORA-2013-7106/glib2-2.36.1-2.fc19 Works for me, too. Proposing this as a Beta freeze exception as we believe it's what's breaking LXDE live images. We can confirm this with TC3 if I ensure that update is pulled in. glib2-2.36.1-2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. Reopening to check if this bug is really fixed with (coming) TC3 live image or so. If we can confirm that this bug is not reproducible with coming TC3, I think this bug can really be closed. Just checked http://dl.fedoraproject.org/pub/alt/stage/19-Beta-TC3/Live/x86_64/Fedora-Live-LXDE-x86_64-19-Beta-TC3-1.iso. LXDE session runs OK, so I think we can close this bug FIXED. Thanks. |