GDM is slow to load and does not show any usernames

Koop Mast kwm at FreeBSD.org
Sun Jun 21 16:52:33 UTC 2009


On Sun, 2009-06-21 at 12:09 -0400, Mike Burns wrote:
> A bit of a background on this system: freshly installed 7.2-RELEASE a week 
> ago, upgraded the OS to -STABLE and the ports to the latest as of Saturday.  
> The computer is a Thinkpad T500.
> 
> [mike] ~% uname -a
> FreeBSD battered.mike-burns.com 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Jun 20 
> 11:04:19 EDT 2009    
>    root at battered.mike-burns.com:/usr/obj/usr/src/sys/BATTERED  amd64
> 
> GDM has had two issues:
> 
> * It takes a long time to show the login prompt. The leafy background 
>   picture shows rather quickly, but a few moments pass before any widgets 
>   are shown. This is in /var/log/messages (I stopped and started GDM by hand 
>   just to get finer control over the log. This may have changed the things 
>   that are logged; for example, the kvm_getenvv line might have a different 
>   error message the first time GDM is started):
> 
> Jun 21 12:00:39 battered sudo:     mike : TTY=ttyp0 ; PWD=/usr/home/mike ; 
> USER=root ; COMMAND=/usr/local/etc/rc.d/gdm start
> Jun 21 12:00:41 battered kernel: drm0: [ITHREAD]
> Jun 21 12:00:53 battered gnome-session[1382]: WARNING: Application 
> 'metacity.desktop' failed to register before timeout
> Jun 21 12:00:53 battered console-kit-daemon[1202]: WARNING: kvm_getenvv 
> failed: cannot open /proc/1393/mem

Please mount /proc, gnome needs this. Its also in the FAQ, and should
resolve a lot of your problems.

-Koop

> Jun 21 12:00:53 battered console-kit-daemon[1202]: WARNING: kvm_getenvv 
> failed: cannot open /proc/1393/mem
> Jun 21 12:00:53 battered console-kit-daemon[1202]: WARNING: kvm_getenvv 
> failed: cannot open /proc/1399/mem
> Jun 21 12:01:03 battered console-kit-daemon[1202]: WARNING: kvm_getenvv 
> failed: cannot open /proc/1392/mem
> Jun 21 12:01:03 battered gdm-simple-greeter[1392]: WARNING: Unable to find 
> users: no seat-id found
> Jun 21 12:01:03 battered console-kit-daemon[1202]: WARNING: kvm_getenvv 
> failed: cannot open /proc/1399/mem
> 
> * No usernames are offered in the widget; I have to click 'Other...' and 
>   fill in my username myself. My UID is 1001.
> 
> 
> Potentially related are these three GNOME issues. If they're unrelated 
> that's fine, I'll make another thread for them:
> 
>  * Once I type my username and password the widgets go away and I stare at a 
>    leafy green background image for a few seconds, then GNOME starts. The 
>    log from GNOME starting:
> 
> Jun 21 12:04:13 battered gnome-keyring-daemon[1412]: couldn't allocate 
> secure memory to keep passwords and or keys from being written to the disk
> Jun 21 12:04:14 battered console-kit-daemon[1202]: WARNING: kvm_getenvv 
> failed: cannot open /proc/1416/mem
> Jun 21 12:04:14 battered gnome-session[1416]: WARNING: Unable to determine 
> session: Unable to lookup session information for process '1416'
> Jun 21 12:04:16 battered gnome-session[1416]: atk-bridge-WARNING: 
> AT_SPI_REGISTRY was not started at session startup.
> Jun 21 12:04:16 battered gnome-session[1416]: atk-bridge-WARNING: IOR not 
> set.
> Jun 21 12:04:16 battered gnome-session[1416]: atk-bridge-WARNING: Could not 
> locate registry
> Jun 21 12:04:16 battered pulseaudio[1456]: main.c: High-priority scheduling 
> enabled in configuration but not allowed by policy.
> Jun 21 12:04:28 battered gnome-session[1416]: WARNING: Application 
> 'metacity.desktop' failed to register before timeout
> Jun 21 12:04:29 battered pulseaudio[1476]: pid.c: Daemon already running.
> Jun 21 12:04:30 battered console-kit-daemon[1202]: WARNING: kvm_getenvv 
> failed: cannot open /proc/1467/mem
> Jun 21 12:04:30 battered console-kit-daemon[1202]: WARNING: kvm_getenvv 
> failed: cannot open /proc/1470/mem
> Jun 21 12:04:31 battered console-kit-daemon[1202]: WARNING: kvm_getenvv 
> failed: cannot open /proc/1467/mem
> Jun 21 12:04:31 battered console-kit-daemon[1202]: WARNING: kvm_getenvv 
> failed: cannot open /proc/1470/mem
> Jun 21 12:04:34 battered console-kit-daemon[1202]: WARNING: kvm_getenvv 
> failed: cannot open /proc/1462/mem
> Jun 21 12:05:08 battered console-kit-daemon[1202]: WARNING: kvm_getenvv 
> failed: cannot open /proc/1511/mem
> 
>   * The second time GDM or GNOME is started (such as when I bring down the 
>     GDM daemon then bring it back up) every thing is very sluggish. Opening 
>     new terminals, switching tabs or paging down in Galeon, etc.
> 
>   * GDM offers 'Restart' and 'Shutdown' buttons, but clicking those gives me 
>     a dialog informing me that it failed to restart/shutdown. From within 
>     GNOME I do not have a 'Shutdown' item under the System menu, _usually_.  
>     Sometimes it shows up (I have yet to find any pattern), but the 
>     resulting dialog does not offer 'Shutdown' or 'Restart'; instead it 
>     offers 'Suspend', 'Hibernate', and 'Cancel' (only 'Cancel' works).
> 



More information about the freebsd-gnome mailing list