You are not logged in.

#1 2010-07-02 16:27:14

ridcully
Member
Registered: 2009-03-28
Posts: 52

Login issue with GDM

Hi,

I can't login into Gnome anymore. Usually GDM offers a list with users and now there is no list. I've had a look in the Bugtracker and I've also searched the forum and no luck. I have seen that there was a GDM update and probably that is the issue. I've checked the gdm log files in /var/log/gdm but that was not very helpful. Last time I've had a similiar problem there was an issue with /etc/pam.d/gdm but the file looks just fine. So probably somebody has an idea or can point me into the right direction (where I should look)?

Thanks in advance!
Michael

Offline

#2 2010-07-03 07:01:39

toffyrn
Member
Registered: 2008-10-07
Posts: 221

Re: Login issue with GDM

You can have a look at the gdm's greeter logs. (/var/log/gdm/...)

If you find: "Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper" or similar,
doing a "chmod o+x /usr/lib/dbus-1.0/dbus-daemon-launch-helper" might help you.

I experienced this some months back: http://bbs.archlinux.org/viewtopic.php?id=92872

But there could be something completly different, only the log's can tell...

Offline

#3 2010-07-03 08:31:49

ridcully
Member
Registered: 2009-03-28
Posts: 52

Re: Login issue with GDM

Hi,

thanks for the quick reply. I've had a look at the log but I'm not quite sure if that is really the problem. If I restart the daemon everything works fine. Here is a snippet from /var/log/gdm/:1-greeter.log

gdm-simple-greeter[2647]: atk-bridge-WARNING: AT_SPI_REGISTRY was not started at session startup.
gdm-simple-greeter[2647]: atk-bridge-WARNING: IOR not set.
gdm-simple-greeter[2647]: atk-bridge-WARNING: Could not locate registry
gdm-simple-greeter[2647]: Gtk-WARNING: gtkwidget.c:5628: widget not within a GtkWindow
gdm-simple-greeter[2647]: WARNING: Unable to read from file /etc/arch-release
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x160002b (Login Wind)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x160002b (Login Wind)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x160002b (Login Wind)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0.  This shouldn't happen!

(gnome-power-manager:2648): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(polkit-gnome-authentication-agent-1:2646): polkit-gnome-1-WARNING **: Error enumerating temporary authorizations: Remote Exception invoking org.freedesktop.PolicyKit1.Authority
.EnumerateTemporaryAuthorizations() on /org/freedesktop/PolicyKit1/Authority at name org.freedesktop.PolicyKit1: org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in

Probably the problem is "org.freedesktop.PolicyKit1.Authority"? I will google if that is a problem.

Regards,
Michael

Offline

#4 2010-07-03 08:51:07

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Login issue with GDM

try reinstalling gdm. i've seen on irc someone with the same issue and for a reason the schema was missing


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2010-07-07 04:19:17

JAORMX
Member
Registered: 2010-07-07
Posts: 7

Re: Login issue with GDM

I have the same problem, but it lets me input my username and password when I switch to tty1 and kill gdm-simple-greeter O_o

Offline

#6 2010-07-08 04:52:44

ridcully
Member
Registered: 2009-03-28
Posts: 52

Re: Login issue with GDM

Hi,

sorry for the late reply. I've reinstalled the gdm daemon and it worked out for two of ten times. At present the best solution is to restart the gdm daemon which offers user options after the restart. Any other suggestions?

Thanks in advance!
Regards,
  Michael

Offline

#7 2010-07-08 11:39:51

ridcully
Member
Registered: 2009-03-28
Posts: 52

Re: Login issue with GDM

*Update*: The gdm issues are on my notebook and I've got the impression that there was a connection between the ability to login through gdm and connecting my notebook to the power supply. Unfortunately I was wrong. Any other ideas?

Last edited by ridcully (2010-07-09 16:52:49)

Offline

#8 2010-07-12 07:05:33

jase
Member
From: Finland
Registered: 2008-01-20
Posts: 25

Re: Login issue with GDM

I'm having the same issue, no user selection. Reinstalling gdm didn't help either. After booting I have to alt-f1 and restart gdm to be able to login.

Offline

#9 2010-07-12 19:25:59

ridcully
Member
Registered: 2009-03-28
Posts: 52

Re: Login issue with GDM

I've filed a bug report. Are you using i686 or x86_64?

Offline

#10 2010-07-12 20:12:47

ridcully
Member
Registered: 2009-03-28
Posts: 52

Re: Login issue with GDM

I'm starting gdm through rc.conf, but I've found in /etc/inittab the following line uncommented

#x:5:respawn:/usr/bin/xdm -nodaemon

I've added a hash and it seems to solve the problem. I will check it on my desktop if it's the same problem. Maybe you'll have a look in your /etc/inittab?

Offline

#11 2010-07-12 20:15:17

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Login issue with GDM

ridcully wrote:

I'm starting gdm through rc.conf, but I've found in /etc/inittab the following line uncommented

#x:5:respawn:/usr/bin/xdm -nodaemon

I've added a hash and it seems to solve the problem. I will check it on my desktop if it's the same problem. Maybe you'll have a look in your /etc/inittab?

doesn't really matter if your default runlevel is still 3. to start gdm using this method, comment out that xdm line and uncomment the gdm line and modify the default to 5

#id:3:initdefault:
id:5:initdefault:


Give what you have. To someone, it may be better than you dare to think.

Offline

#12 2010-07-13 05:50:05

ridcully
Member
Registered: 2009-03-28
Posts: 52

Re: Login issue with GDM

Yepp, you're right. Nothing has changed. I'm still confused why gdm is not working anymore after the last update (everything worked fine).

Offline

#13 2010-07-27 01:01:52

dif
Member
From: Stalowa Wola, Poland
Registered: 2009-12-22
Posts: 137

Re: Login issue with GDM

The same problem here. And the same (temporary) solution as suggested by JAORMX.
1) go to tty1 (CTRL+ALT+F1)
2) find out gdm-simple-greeter process number (ps -A | grep gdm)
3) kill gdm-simple-greeter (kill <process number>
4) switch back to tty7 (CTRL+ALT_F7)
And the user list is there as it should.

You can find a similar solution in the Bugs forum, but this one seems to be nicer because you do not need to restart gdm from the console.

I have this problem on an old desktop:  Pentium2, 400MHz,  RAM 396 MB.
I do not have this problem on an 800MHz desktop, nor a 2.2 GHz 4GB laptop.

Hope, developers will find a real solution to the problem of what it seems freezing gdm-simple-greeting.

Offline

#14 2010-08-05 14:10:22

dif
Member
From: Stalowa Wola, Poland
Registered: 2009-12-22
Posts: 137

Re: Login issue with GDM

Bad news. The disease is spreading out.
I have updated the system today, and got the same bug on my newest laptop (HP dv5, 4GB). In the meantime I still have the same problem on my old computer,

Offline

#15 2010-08-05 15:15:47

aneiser
Member
Registered: 2008-07-21
Posts: 59

Re: Login issue with GDM

Here you can find a bug report (http://bugs.archlinux.org/task/20152), but there's still no solution. Maybe someone can find out more if I post any logs, but I don't know exactly which could be relevant.

Offline

#16 2010-08-05 17:19:28

Vamp898
Member
From: 東京
Registered: 2009-01-03
Posts: 907
Website

Re: Login issue with GDM

On a fresh-installed Arch System it doesnt happen. Even if you try it 12398721983 times so maybe its an upgrade issue

Offline

#17 2010-08-17 11:17:12

jackjackk
Member
Registered: 2010-07-21
Posts: 40

Re: Login issue with GDM

Same problem here. Sometimes gdm works, sometimes it shows no user, and the only way I've found to proceed is by killing the gdm-simple-greeter process.
Tail of :0-greeter.log when gdm fails to work:

...
gdm-simple-greeter[4162]: DEBUG(+): GdmUserManager: scheduling a passwd file update
gdm-simple-greeter[4162]: DEBUG(+): GdmUserManager: reloading passwd file worker
gdm-simple-greeter[4162]: DEBUG(+): GdmUserManager: include_all is TRUE
gdm-simple-greeter[4162]: DEBUG(+): GdmUserManager: Found current seat: /org/freedesktop/ConsoleKit/Seat1
gdm-simple-greeter[4162]: DEBUG(+): GdmUserManager: running 'ck-history --frequent --since='2010-06-17T09:54:45.437818Z' --seat='Seat1' --session-type='''
gdm-simple-greeter[4162]: DEBUG(+): GdmUserManager: done reloading passwd file
gdm-simple-greeter[4162]: DEBUG(+): Monitoring local users
gdm-simple-greeter[4162]: DEBUG(+): GdmUserManager: Found uid of session '/org/freedesktop/ConsoleKit/Session1': 120
gdm-simple-greeter[4162]: DEBUG(+): GdmUserManager: Found x11 display of session '/org/freedesktop/ConsoleKit/Session1': :0
gdm-simple-greeter[4162]: DEBUG(+): GdmUserManager: excluding user 'gdm'
gdm-simple-greeter[4162]: DEBUG(+): Killing ck-history process

Tail of :0-greeter.log when gdm works:

...
gdm-simple-greeter[4186]: DEBUG(+): GdmUserManager: scheduling a passwd file update
gdm-simple-greeter[4186]: DEBUG(+): GdmUserManager: reloading passwd file worker
gdm-simple-greeter[4186]: DEBUG(+): GdmUserManager: include_all is TRUE
gdm-simple-greeter[4186]: DEBUG(+): GdmUserManager: done reloading passwd file
gdm-simple-greeter[4186]: DEBUG(+): Monitoring local users
gdm-simple-greeter[4186]: DEBUG(+): GdmUserManager: Found current seat: /org/freedesktop/ConsoleKit/Seat1
gdm-simple-greeter[4186]: DEBUG(+): GdmUserManager: running 'ck-history --frequent --since='2010-06-17T08:40:39.692926Z' --seat='Seat1' --session-type='''
gdm-simple-greeter[4186]: DEBUG(+): GdmUserManager: Found uid of session '/org/freedesktop/ConsoleKit/Session1': 120
gdm-simple-greeter[4186]: DEBUG(+): GdmUserManager: Found x11 display of session '/org/freedesktop/ConsoleKit/Session1': :0
gdm-simple-greeter[4186]: DEBUG(+): GdmUserManager: excluding user 'gdm'
gdm-simple-greeter[4186]: DEBUG(+): GdmUserManager: history output: jack     162

gdm-simple-greeter[4186]: DEBUG(+): GdmUserChooserWidget: Users loaded
gdm-simple-greeter[4186]: DEBUG(+): GdmChooserWidget: queuing update separator visibility
gdm-simple-greeter[4186]: DEBUG(+): GdmUserChooserWidget: added 1 items
gdm-simple-greeter[4186]: DEBUG(+): GdmGreeterLoginWindow: users loaded
gdm-simple-greeter[4186]: DEBUG(+): GdmGreeterLoginWindow: banner message disabled
gdm-simple-greeter[4186]: DEBUG(+): GdmGreeterLoginWindow: loaded=1 num_items=1
gdm-simple-greeter[4186]: DEBUG(+): GdmChooserWidget: Unable to get visible range
gdm-simple-greeter[4186]: DEBUG(+): GdmChooserWidget: grabbing focus
gdm-simple-greeter[4186]: DEBUG(+): GdmChooserWidget: selection change to list path '0'
gdm-simple-greeter[4186]: DEBUG(+): GdmGreeterLoginWindow: Chooser visibility changed
gdm-simple-greeter[4186]: DEBUG(+): GdmGreeterLoginWindow: banner message disabled
gdm-simple-greeter[4186]: DEBUG(+): GdmChooserWidget: updating separator visibility
gdm-simple-greeter[4186]: DEBUG(+): GdmChooserWidget: updating column visibility
gdm-simple-greeter[4186]: DEBUG(+): GdmChooserWidget: Unable to get visible range
gdm-simple-greeter[4186]: DEBUG(+): GdmUserChooserWidget: updating other user visibility
gdm-simple-greeter[4186]: DEBUG(+): GdmChooserWidget: queuing update separator visibility
gdm-simple-greeter[4186]: DEBUG(+): GdmChooserWidget: selection change to list path '1'
gdm-simple-greeter[4186]: DEBUG(+): GdmChooserWidget: updating separator visibility
gdm-simple-greeter[4186]: DEBUG(+): Updating for jack
gdm-simple-greeter[4186]: DEBUG(+): GdmUserChooserWidget: Loading item for id=jack
gdm-simple-greeter[4186]: DEBUG(+): GdmUserChooserWidget: font height 17; using icon size 51
gdm-simple-greeter[4186]: DEBUG(+): Could not access face icon /var/cache/gdm/jack/face
gdm-simple-greeter[4186]: DEBUG(+): Could not access global face icon /usr/share/faces/jack
gdm-simple-greeter[4186]: DEBUG(+): Could not access global face icon /usr/share/faces/jack.png
gdm-simple-greeter[4186]: DEBUG(+): GdmUserChooserWidget: User added name:jack logged-in:0 pixbuf:0x9a63d60
gdm-simple-greeter[4186]: DEBUG(+): Updating for __other
gdm-simple-greeter[4186]: DEBUG(+): GdmUserChooserWidget: Loading item for id=__other
gdm-simple-greeter[4186]: DEBUG(+): GdmChooserWidget: updating column visibility

Apparently the problem deals with the running of ck-history and the process of enumerating users. Since I'm the only user of this computer, I'm bypassing the problem by using the Autologin feature. Let's hope the bug will be corrected soon, anyway!

Last edited by jackjackk (2010-08-17 11:17:59)

Offline

#18 2010-08-17 11:22:40

heftig
Developer
From: Germany
Registered: 2010-04-19
Posts: 159

Re: Login issue with GDM

Just do a

rm /var/log/ConsoleKit/history*

The new patches to consolekit and gdm should then prevent the problem from occurring again.

Offline

#19 2010-08-17 12:10:02

jackjackk
Member
Registered: 2010-07-21
Posts: 40

Re: Login issue with GDM

It seems to work! Thank heftig!

Offline

Board footer

Powered by FluxBB