GDM wont load login

Bug #533298 reported by DebianSidUser
38
This bug affects 8 people
Affects Status Importance Assigned to Milestone
gconf2 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gdm

I'm using Ubuntu 10.04 and for the past couple of days I'm been trying to get GDM to load the login window with no luck, right know it just loads the background and mouse then the sound comes on that its.

Things I've tried.
- Reinstall Nvidia drivers
- Reinstall GDM
both multiple times.

I know for a fact that nvidia drivers is working know because it didn't give me an error when I booted up.

GDM login screen.
http://img717.imageshack.us/img717/1707/dsc00303w.jpg

Another prob I'm having is that I can't use the the terminal.
http://img714.imageshack.us/img714/1415/dsc00307c.jpg

Revision history for this message
DebianSidUser (raza) wrote :
Revision history for this message
DebianSidUser (raza) wrote :
Revision history for this message
DebianSidUser (raza) wrote :

BTW I'm using the drivers from Nvidia's site and not from the repo because the repo ones wouldn't work.

Revision history for this message
DebianSidUser (raza) wrote :

I'm using Ubuntu 10.04 and for the past couple of days I've been trying to get GDM to load the login window with no luck, right know it just loads the background and mouse then the sound comes on that its.*
-------------
I just booted into ubuntu again and the terminal prob seems to have fixed itself but I'm still having the GDM login not loading prob.

Revision history for this message
DebianSidUser (raza) wrote :

When I killed GDM and restarted it. I got this message.

Warning: Unable to find users :no seat-id found

Revision history for this message
DebianSidUser (raza) wrote :

Ubuntu 10.04 64bit*

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the bug report. This particular bug has already been reported, but feel free to report any other bugs you find.

affects: gdm (Ubuntu) → plymouth (Ubuntu)
Changed in plymouth (Ubuntu):
status: New → Invalid
Revision history for this message
Steve Langasek (vorlon) wrote :

Sebastien, what do you see here that makes you think this is a duplicate of bug #532047? No one else has reported failures loading the gdm greeter, and I don't see how this symptom could be caused by plymouth.

affects: plymouth (Ubuntu) → gdm (Ubuntu)
Changed in gdm (Ubuntu):
status: Invalid → New
Revision history for this message
DebianSidUser (raza) wrote :

I tried the workaround on the Plymount didn't change anything. This has got to be a X prob.

I killed GDM and ran startx and it wouldn't start and here is the log for it.

Revision history for this message
DebianSidUser (raza) wrote :

The odd part about this is that I can run individual programs through x just fine. I just can't startx.

Revision history for this message
Sebastien Bacher (seb128) wrote :

I did read too quickly it seemed similar to all the "get a text vt on boot" issues

Revision history for this message
DebianSidUser (raza) wrote :

Well a combination of X and GDM.

Revision history for this message
DebianSidUser (raza) wrote :

Wait I thought more about it, it can't be a X issue is X is working. I'll upload some screens in a sec.

Revision history for this message
DebianSidUser (raza) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

could be gnome-session or whatever not loading

Revision history for this message
DebianSidUser (raza) wrote :

Is there a way to check?

Revision history for this message
Sebastien Bacher (seb128) wrote :

you can try to start an another session than the GNOME one

Revision history for this message
DebianSidUser (raza) wrote :

It looks like it is a gnome session problem. I installed KDM and tried logging in but nothing other then Gpodder loads (No ktorrent, no gnome-panel etc.).

Revision history for this message
DebianSidUser (raza) wrote :

Is there a way to fix gnome session?

Revision history for this message
DebianSidUser (raza) wrote :

I think I found the prob. Where is the Metacity config file located?

bash@bash-desktop:~$ metacity --replace
Window manager warning: "(null)" found in configuration database is not a valid value for mouse button modifier
**
metacity:ERROR:core/prefs.c:2495:meta_prefs_get_workspace_name: assertion failed: (workspace_names[i] != NULL)
Aborted (core dumped)

Revision history for this message
DebianSidUser (raza) wrote :

GDM still doesn't work but I messed around with the appearance manager when I was in X and I got gnome-session working and I'm using emerald and compiz appose to metacity and I logged in using KDM.

Revision history for this message
DebianSidUser (raza) wrote :

Just for the sake of test I tried metecity and it seems to be working now too.

Revision history for this message
PEIGNOT Kévin (kpeignot) wrote :

I had the same term bug ( corrected now), and I've the same problem with GDM:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/535027

Revision history for this message
DebianSidUser (raza) wrote :

It can't be the same as yours if the GDM prob is fixed because GDM is still broken for me (just retested it).

Revision history for this message
PEIGNOT Kévin (kpeignot) wrote :

GDM is still a problem, but it seems that the bug comes from plymouth. but it should be corrected today or in the week

Revision history for this message
DebianSidUser (raza) wrote :

Still broken even after updates.

Revision history for this message
dtaylor84 (davidt-launchpad) wrote :

I too was seeing this problem with both gdm and my normal gnome session (i could, sometimes, log in blind).

As above metacity ends up constantly respawning and dying due to an assertion failure.

I don't quite understand what's going on, but somehow there are no metacity settings in gconf, and metacity can't handle this.

I managed to log in by creating /var/lib/gdm/.gconf/apps/metacity/workspace_names/ with four string settings workspace_name1 workspace_name2 workspace_name3 and workspace_name4.

Other things still seem to be broken by the lack of settings, though.

Revision history for this message
dtaylor84 (davidt-launchpad) wrote :

A more complete (and far simpler) fix:

$ sudo gconf-schemas --register metacity.schemas

Without this, for some reason /var/lib/gconf/defaults/%gconf-tree.xml contained only these values for metacity:

<dir name="metacity">
<dir name="window_keybindings">
</dir>
<dir name="keybinding_commands">
</dir>
<dir name="global_keybindings">
</dir>
<dir name="workspace_names">
</dir>
</dir>

Changed in gdm (Ubuntu):
status: New → Confirmed
affects: gdm (Ubuntu) → metacity (Ubuntu)
Revision history for this message
dtaylor84 (davidt-launchpad) wrote :

I now have no idea what was causing this problem. Both gnome-terminal-data and metacity-common on my system installed "empty" schemas like the above, but removing and reinstalling them has fixed the problems. I can only assume something was broken at the time I installed these packages, although given that gconf2 hasn't changed in almost two months, and this only broke sometime in the last 5 days, I'm not sure what.

Revision history for this message
dtaylor84 (davidt-launchpad) wrote :

Final note - the fastest way I have found to fix this problem globally:

sudo sh -vx ./gconf2.postinst configure 2.28.0-1ubuntu4

affects: metacity (Ubuntu) → gconf2 (Ubuntu)
Revision history for this message
David Baucum (maxolasersquad) wrote :

I am having the same problem. This is a headless box that we use XDMCP to get a graphical login (via Cygwin and other X clients.) Login started giving us a blank screen after an update that came in over the weekend. X is started, but gdm won't start.
$ sudo startx

Fatal server error:
Server is already active for display 0
 If this server is no longer running, remove /tmp/.X0-lock
 and start again.

Please consult the The X.Org Foundation support
  at http://wiki.x.org
 for help.

 ddxSigGiveUp: Closing log
baucumd@suncomdbbackup:~$ sudo start gdm
gdm start/running, process 2077
baucumd@suncomdbbackup:~$ sudo restart gdm
restart: Unknown instance:
baucumd@suncomdbbackup:~$ sudo /etc/init.d/gdm restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service gdm restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart gdm
gdm start/running, process 2128
$ sudo gdm start
gdm-binary[2548]: WARNING: Unable to find users: no seat-id found
gdm-binary[2548]: WARNING: GdmDisplay: display lasted 0.056723 seconds
gdm-binary[2548]: WARNING: GdmDisplay: display lasted 1.094790 seconds
gdm-binary[2548]: WARNING: GdmDisplay: display lasted 1.591579 seconds
gdm-binary[2548]: WARNING: GdmDisplay: display lasted 2.993212 seconds
gdm-binary[2548]: WARNING: GdmDisplay: display lasted 1.554155 seconds
gdm-binary[2548]: WARNING: GdmDisplay: display lasted 1.586478 seconds
gdm-binary[2548]: WARNING: GdmLocalDisplayFactory: maximum number of X display failures reached: check X server log for errors

Revision history for this message
David Baucum (maxolasersquad) wrote :

I know longer have this problem. This can probably be closed now, unless others are still seeing the issue.

Revision history for this message
PEIGNOT Kévin (kpeignot) wrote :

I close this bug. If anyone still have this problem, please re-open it.

Changed in gconf2 (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.