Bug 434976 - gnome-session crashes upon gdm login
Summary: gnome-session crashes upon gdm login
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-session
Version: rawhide
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2008-02-26 17:26 UTC by Rob Riggs
Modified: 2008-03-11 15:30 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2008-03-11 15:30:40 UTC

Attachments (Terms of Use)

Description Rob Riggs 2008-02-26 17:26:22 UTC
Description of problem:
gnome-session crashes upon GDM login.

I get this in the .xsession-errors:

The program 'gnome-session' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 21 error_code 3 request_code 2 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Version-Release number of selected component (if applicable):

How reproducible:
Always, except once this morning after replacing liboil and going to runlevel 3,
then back to 5.

Steps to Reproduce:
1. Start up in runlevel 5
2. Log in to a Gnome session via GDM
Actual results:
Session begins to start then quickly returns to the GDM login menu.

Expected results:
Session starts and I get a Gnome desktop.

Additional info:
Ran a yum update this morning to get everything up to speed.  I thought this was
related to 434772.  I installed the latest liboil from koji.  Went to runlevel
3, then back to runlevel 5.

It seemed to work and allowed me to log in once.  Desktop wasn't happy because
of the known XFS issues (had to restart xfs) before having the same problem
again.  I logged out, restarted xfs, restarted X (by switching runlevels) and
tried to log in.


Comment 1 Matthias Clasen 2008-02-27 06:44:48 UTC
This is an issue with the new selinux support in X, most likely.

Comment 2 Rob Riggs 2008-02-27 15:50:37 UTC
Looks like that's the issue.  Disabling SELinux allows my X session to start up.

I still have to remember to restart xfs before logging in via gdm or metacity
won't start.

And I'm still getting tons of warnings and errors in my .xsession-errors file. 
 Nautilus won't start (BadName error).  I'll file a bug on this if it doesn't
already exist.

Comment 3 Joachim Frieben 2008-03-07 06:42:45 UTC
If it was SELinux, it shouldn't crash in "permissive mode", should it?
But that's exactly what happens to me.

Comment 4 Joachim Frieben 2008-03-08 16:38:07 UTC
Fixed for me in "rawhide" as of 2008-03-08.

Note You need to log in before you can comment on or make changes to this bug.