FS#16818 - [gnome] 10-15 sec delay when starting a gnome-session for the first time
Attached to Project:
Arch Linux
Opened by John (graysky) - Saturday, 24 October 2009, 11:14 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 27 April 2010, 10:41 GMT
Opened by John (graysky) - Saturday, 24 October 2009, 11:14 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 27 April 2010, 10:41 GMT
|
Details
Description: There is a 10-15 sec pause from the time I call
xinit to when Gnome loads up. This is true whether I login
via gdm or when I log in on tty1 and type xinit. This
pause/lag/delay is only present the first time I log in. If
I exit Gnome, then type xinit again, the Gnome desktop comes
up in 2 sec flat. To reproduce the delayed startup, I have
to reboot and login fresh.
I made a new user with no configs, extraneous programs in startup such as compiz, etc. to test this and found that the delay is not caused by some old dot file in my real user's home directory. Additional info: * package version(s) System is up-to-date running Xorg packages, gnome, and gnome-extras. Sorry I can't pinpoint a particular package, but I dunno if this is a Gnome problem, or an Xorg problem, or neither! * config and/or log files etc. The ~/.xinit for the new user contains only one line <code> exec ck-launch-session gnome-session </code> Here is the output of the xinit <code> $ xinit This is a pre-release version of the X server from The X.Org Foundation. It is not supported in any way. Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/. Select the "xorg" product for bugs you find in this release. Before reporting bugs in pre-release versions please check the latest version in the X.Org Foundation git repository. See http://wiki.x.org/wiki/GitPage for git access instructions. X.Org X Server 1.6.3.901 (1.6.4 RC 1) Release Date: 2009-8-25 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.30-ARCH x86_64 Current Operating System: Linux novelty 2.6.31-ARCH #1 SMP PREEMPT Tue Oct 13 11:33:39 CEST 2009 x86_64 Build Date: 04 September 2009 05:45:43PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Sat Oct 24 06:47:02 2009 (==) Using config file: "/etc/X11/xorg.conf" (EE) Microsoft NaturalR Ergonomic Keyboard 4000: failed to initialize for relative axes. (gnome-settings-daemon:3367): GLib-GObject-CRITICAL **: g_param_spec_flags: assertion `G_TYPE_IS_FLAGS (flags_type)' failed (gnome-settings-daemon:3367): GLib-GObject-CRITICAL **: g_object_class_install_property: assertion `G_IS_PARAM_SPEC (pspec)' failed Window manager warning: Failed to read saved session file /home/archie/.config/metacity/sessions/10da13a8cbe06a5696125638122713119700000032940021.ms: Failed to open file '/home/archie/.config/metacity/sessions/10da13a8cbe06a5696125638122713119700000032940021.ms': No such file or directory Unable to open desktop file evolution.desktop for panel launcher ** Message: Initializing gksu extension... Initializing nautilus-image-converter extension ** (nautilus:3397): WARNING **: libeel-2.so.2: cannot open shared object file: No such file or directory </code> Steps to reproduce: 1) Start a gnome session and time how long the desktop takes to display 2) Log out and repeat step 1, you'll find that the first time took MUCH longer than the subsequent time |
This task depends upon
Closed by Jan de Groot (JGC)
Tuesday, 27 April 2010, 10:41 GMT
Reason for closing: Not a bug
Additional comments about closing: This is a configuration issue on the user system. Nonexistent floppydrives configured in BIOS cause timeouts on udisk startup because of floppydrive probing.
Tuesday, 27 April 2010, 10:41 GMT
Reason for closing: Not a bug
Additional comments about closing: This is a configuration issue on the user system. Nonexistent floppydrives configured in BIOS cause timeouts on udisk startup because of floppydrive probing.
<code>
startkde: Starting up...
kdeinit4: preparing to launch /usr/lib/libkdeinit4_klauncher.so
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kded4.so
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kbuildsycoca4.so
kbuildsycoca4 running...
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kbuildsycoca4.so
kbuildsycoca4 running...
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kconf_update.so
Invalid D-BUS member name 'idle-hint' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'is-local' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'x11-display-device' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'x11-display' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'display-device' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'remote-host-name' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'session-type' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'unix-user' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
X Error: XSyncBadAlarm 164
Extension: 146 (Uknown extension)
Minor opcode: 11 (Unknown request)
Resource id: 0x0
X Error: XSyncBadAlarm 164
Extension: 146 (Uknown extension)
Minor opcode: 11 (Unknown request)
Resource id: 0x0
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kcminit_startup.so
kdeinit4: preparing to launch /usr/lib/libkdeinit4_ksmserver.so
<unknown program name>(3450)/ KStartupInfo::createNewStartupId: creating: "audacity;1256488862;168790;3450_TIME0" : "unnamed app"
kephald starting up
XRANDR error base: 174
RRInput mask is set!!
RandRScreen::loadSettings - adding mode: 325 1680 x 1050
RandRScreen::loadSettings - adding mode: 326 1400 x 1050
RandRScreen::loadSettings - adding mode: 327 1280 x 1024
RandRScreen::loadSettings - adding mode: 328 1280 x 1024
RandRScreen::loadSettings - adding mode: 329 1280 x 960
RandRScreen::loadSettings - adding mode: 330 1152 x 864
RandRScreen::loadSettings - adding mode: 331 1024 x 768
RandRScreen::loadSettings - adding mode: 332 1024 x 768
RandRScreen::loadSettings - adding mode: 333 1024 x 768
RandRScreen::loadSettings - adding mode: 334 832 x 624
RandRScreen::loadSettings - adding mode: 335 800 x 600
RandRScreen::loadSettings - adding mode: 336 800 x 600
RandRScreen::loadSettings - adding mode: 337 800 x 600
RandRScreen::loadSettings - adding mode: 338 800 x 600
RandRScreen::loadSettings - adding mode: 339 800 x 600
RandRScreen::loadSettings - adding mode: 340 800 x 600
RandRScreen::loadSettings - adding mode: 341 700 x 525
RandRScreen::loadSettings - adding mode: 342 700 x 525
RandRScreen::loadSettings - adding mode: 343 640 x 512
RandRScreen::loadSettings - adding mode: 344 640 x 512
RandRScreen::loadSettings - adding mode: 345 640 x 480
RandRScreen::loadSettings - adding mode: 346 640 x 480
RandRScreen::loadSettings - adding mode: 347 640 x 480
RandRScreen::loadSettings - adding mode: 348 640 x 480
RandRScreen::loadSettings - adding mode: 349 640 x 480
RandRScreen::loadSettings - adding mode: 350 640 x 480
RandRScreen::loadSettings - adding mode: 351 576 x 432
RandRScreen::loadSettings - adding mode: 352 512 x 384
RandRScreen::loadSettings - adding mode: 353 512 x 384
RandRScreen::loadSettings - adding mode: 354 512 x 384
RandRScreen::loadSettings - adding mode: 355 416 x 312
RandRScreen::loadSettings - adding mode: 356 400 x 300
RandRScreen::loadSettings - adding mode: 357 400 x 300
RandRScreen::loadSettings - adding mode: 358 400 x 300
RandRScreen::loadSettings - adding mode: 359 400 x 300
RandRScreen::loadSettings - adding mode: 360 320 x 240
RandRScreen::loadSettings - adding mode: 361 320 x 240
RandRScreen::loadSettings - adding mode: 362 320 x 240
RandRScreen::loadSettings - adding crtc: 323
RandRScreen::loadSettings - adding output: 324
Setting CRTC 323 on output "default" (previous 0 )
CRTC outputs: (324)
Output name: "default"
Output refresh rate: 50
Output rect: QRect(0,0 1680x1050)
Output rotation: 1
XRandROutputs::init
added output 324
adding an output 0 with geom: QRect(0,0 1680x1050)
output: "SCREEN-0" QRect(0,0 1680x1050) 1952543855 true true
load xml
connected: 1
looking for current "SCREEN-0"
known "*" has score: 0.125
screen: 0 QRect(0,0 1680x1050)
looking for a matching configuration...
connected: 1
looking for current "SCREEN-0"
known "*" has score: 0.125
found outputs, known: false
activate external configuration!!
registered the service: true
screens registered on the bus: true
outputs registered on the bus: true
configurations registered on the bus: true
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kglobalaccel.so
kdeinit4: preparing to launch /usr/lib/libkdeinit4_plasma-desktop.so
kdeinit4: preparing to launch /usr/bin/knotify4
QDBusObjectPath: invalid path ""
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
Object::connect: No such signal SystemTray::Manager::jobStateChanged(SystemTray::Job*)
Invalid D-BUS interface name 'org.kde.plasma-desktop.PlasmaApp' found while parsing introspection
kdeinit4: preparing to launch /usr/bin/kwrited
kdeinit4: preparing to launch /usr/lib/kde4/kio_trash.so
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kaccess.so
<unknown program name>(3506)/ kdemain: Xlib XKB extension major= 1 minor= 0
kdeinit4: preparing to launch /usr/lib/libkdeinit4_krunner.so
kdeinit4: preparing to launch /usr/lib/libkdeinit4_nepomukserver.so
kdeinit4: preparing to launch /usr/lib/libkdeinit4_nepomukserver.so
Nepomuk server already running.
[/usr/bin/nepomukservicestub] (Soprano::PluginManager) found no soprano plugin at "/usr/lib/soprano/libsoprano_sesame2backend.so"
[/usr/bin/nepomukservicestub] (Soprano::PluginManager) found no soprano plugin at "/usr/lib/soprano/libsoprano_sesame2backend.so"
[/usr/bin/nepomukservicestub] (Soprano::Redland::BackendPlugin) creating model of type "hashes" with options "hash-type='bdb',contexts='yes',dir='/home/user/.kde4/share/apps/nepomuk/repository/main/data/redland'"
[/usr/bin/nepomukservicestub] (ServerCore) new socket connection.
[/usr/bin/nepomukservicestub] (ServerCore) new socket connection.
[/usr/bin/nepomukservicestub] (ServerCore) new socket connection.
[/usr/bin/nepomukservicestub] (ServerCore) new socket connection.
kdeinit4: preparing to launch /usr/lib/kde4/kio_trash.so
kdeinit4: preparing to launch /usr/bin/nepomukservicestub
kdeinit4: preparing to launch /usr/bin/nepomukservicestub
Unknown service name: 10dae3ef65000125648872200000031460006_1256488823_243624
kdeinit4: preparing to launch /usr/bin/nepomukservicestub
Unknown service name: 10dae3ef65000125648872200000031460007_1256488823_217426
kdeinit4: preparing to launch /usr/bin/nepomukservicestub
Unknown service name: 10dae3ef65000125648872200000031460008_1256488823_217245
kdeinit4: preparing to launch /usr/lib/libkdeinit4_klipper.so
QDBusObjectPath: invalid path ""
Unknown service name: 10dae3ef65000125648872200000031460009_1256488829_295359
"Warning: You do not seem to have the package gstreamer0.10-plugins-good installed.
Some video features have been disabled."
kdeinit4: preparing to launch /usr/bin/systemsettings
kdeinit4: preparing to launch /usr/bin/systemsettings
"Warning: You do not seem to have the package gstreamer0.10-plugins-good installed.
Some video features have been disabled."
QProcess: Destroyed while process is still running.
kdeinit4: Fatal IO error: client killed
kdeinit4: sending SIGHUP to children.
klauncher: Exiting on signal 1
kdeinit4: sending SIGTERM to children.
kdeinit4: Exit.
kglobalaccel: Fatal IO error: client killed
kdeinit4: Fatal IO error: client killed
kdeinit4: sending SIGHUP to children.
nepomukserver: Fatal IO error: client killed
kded4: Fatal IO error: client killed
kdeinit4: sending SIGTERM to children.
kdeinit4: Exit
</code>
One thing makes me think though: do you have the hostname of your system listed in /etc/hosts? I remember GNOME doing lookups on your hostname at startup, not having your hostname in /etc/hosts could cause a huge slowdown.
I have also been checking my "Startup Applications", and everything seems ok. I've also got Alunn on autostart tough.
Check your ~/.config/autostart . I had a lot of stuff there that I removed. I thought it could be the culprit, but I guess it's not.
Alunn; /usr/lib/at-spi/at-spi-registryd; fusion-icon; /usr/lib/gnome-disk-utility/gdu-notification-daemon; gnome-keyring-daemon --start; /usr/bin/gnome-settings-daemon; /usr/lib/gnome-session/helpers/gnome-settings-daemon-helper; nm-applet --sm-disable; /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1; gnome-power-manager; system-config-printer-applet; gnome-screensaver; seahorse-daemon.
I experience the lag. Let's see what we've got in common, that JGC doesn't.
# useradd -m -G users,audio,lp,optical,storage,video,wheel,power -s /bin/bash archie
# passwd archie
# reboot
login as archie through gdm
to remove archie just:
# userdel -r archie
A new user "archie" will log to desktop in about 4 secs.
Loging him out and back will decrease to about 3 secs. It's hardly noticable (and readahead is not caching any of archie's files, so the difference is perfectly justified).
Loging out archie and loging in as my main user, still causes the delay just as if I had just rebooted the computer.
Adding all the startup programs to "archie" as I have on my main user does not cause any additional delay (alunn, compiz, and a heavier GTK theme).
I hope these results help shed some light on the subject.
I get the same errors on the fresh install as I do on the older install. Here are gdm errors from the new install:
<code>
GNOME_KEYRING_SOCKET=/tmp/keyring-bs3WTc/socket
SSH_AUTH_SOCK=/tmp/keyring-bs3WTc/socket.ssh
GNOME_KEYRING_PID=3969
(gnome-settings-daemon:3965): GLib-GObject-CRITICAL **: g_param_spec_flags: assertion `G_TYPE_IS_FLAGS (flags_type)' failed
(gnome-settings-daemon:3965): GLib-GObject-CRITICAL **: g_object_class_install_property: assertion `G_IS_PARAM_SPEC
(pspec)' failed
Window manager warning: Failed to read saved session file
/home/user/.config/metacity/sessions/10c2f26a39e2abda77126726968583486300000039360018.ms: Failed to open file
'/home/user/.config/metacity/sessions/10c2f26a39e2abda77126726968583486300000039360018.ms': No such file or directory
(polkit-gnome-authentication-agent-1:4012): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'
(polkit-gnome-authentication-agent-1:4012): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0'
failed
* Detected Session: gnome
* Searching for installed applications...
* NVIDIA on Xorg detected, exporting: __GL_YIELD=NOTHING
* Using the GTK Interface
* Starting Compiz
... executing: compiz --replace --sm-disable --ignore-desktop-hints ccp
(gnome-power-manager:4010): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
waiting for X server to shut down gnome-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X
server :0.0.
emerald: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
gnome-screensaver: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
XIO: fatal IO error 4 (Interrupted system call) on X server ":0.0"
after 4244 requests (4015 known processed) with 0 events remaining.
</code>
This is my .xsession-errors:
/etc/gdm/Xsession: Beginning session setup...
/etc/gdm/Xsession: ssh-agent not found!
/etc/gdm/Xsession: Setup done, will execute: gnome-session
GNOME_KEYRING_CONTROL=/tmp/keyring-eJxfYF
GNOME_KEYRING_CONTROL=/tmp/keyring-eJxfYF
GNOME_KEYRING_CONTROL=/tmp/keyring-eJxfYF
SSH_AUTH_SOCK=/tmp/keyring-eJxfYF/ssh
(polkit-gnome-authentication-agent-1:3651): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'
(polkit-gnome-authentication-agent-1:3651): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
--------------
Before I upgraded to 2.30 there was just 2 "GNOME_KEYRING_CONTROL" lines. Now there is three.
I also got some new stuff in startup applications.
Before I had:
AT SPI Registry
Certificate and Key Storage
Disk Notifications
GNOME Settings Daemon
GNOME Settings Daemon Helper
PolicyKit Authentication Agent
Screenserver
Now I have:
AT SPI Registry
Certificate and Key Storage
Disk Notifications
GNOME Settings Daemon
GNOME Settings Daemon Helper
PolicyKit Authentication Agent
Screenserver
Secret Storage Service
SSH Key Agent
But it makes no difference if I turn them off.
So there is nothing to remove. :(
I have managed to turn it back to the way it was by setting ~/.gconf/desktop/gnome/session/required_components/windowmanager to "fusion-icon" instead of "compiz".
It's not solved tough. It just reduced the login time from 20 secs to 10.
On my work I have a laptop with an almost identical set of software: Arch + Gnome and quite a lot of the same apps and configurations, but there I don't have the problem. Only difference: it's 32 bit.
Can I provide some logs or test something? Please let me know! I would really like to help solving this bug.
Here is my ~/.xsession-errors
/etc/gdm/Xsession: Beginning session setup...
/etc/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- gnome-session
GNOME_KEYRING_CONTROL=/tmp/keyring-yTOYIt
GNOME_KEYRING_CONTROL=/tmp/keyring-yTOYIt
SSH_AUTH_SOCK=/tmp/keyring-yTOYIt/ssh
GNOME_KEYRING_CONTROL=/tmp/keyring-yTOYIt
Window manager warning: Failed to read saved session file /home/user/.config/metacity/sessions/10e7ea58c72edf0cc5127039584473336800000041300020.ms: Failed to open file '/home/user/.config/metacity/sessions/10e7ea58c72edf0cc5127039584473336800000041300020.ms': No such file or directory
(polkit-gnome-authentication-agent-1:4192): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'
(polkit-gnome-authentication-agent-1:4192): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
(gnome-power-manager:4193): GLib-GObject-WARNING **: gsignal.c:2273: signal `proxy-status' is invalid for instance `0x23c9720'
Initializing nautilus-image-converter extension
** Message: Initializing gksu extension...
What happens if you start a different WM within your gnome session, such as openbox?
In your case it seems like metacity is looking for a file in a wrong place (unless your login name is "user").
GNOME_KEYRING_CONTROL=/tmp/keyring-ufreq9
GNOME_KEYRING_PID=4151
GNOME_KEYRING_CONTROL=/tmp/keyring-ufreq9
GNOME_KEYRING_CONTROL=/tmp/keyring-ufreq9
SSH_AUTH_SOCK=/tmp/keyring-ufreq9/ssh
Window manager warning: Failed to read saved session file /home/user/.config/metacity/sessions/108e8c5390b72cd083127040563076447300000041360020.ms: Failed to open file '/home/user/.config/metacity/sessions/108e8c5390b72cd083127040563076447300000041360020.ms': No such file or directory
(polkit-gnome-authentication-agent-1:4190): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'
(polkit-gnome-authentication-agent-1:4190): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
* Detected Session: gnome
(gnome-power-manager:4191): GLib-GObject-WARNING **: gsignal.c:2273: signal `proxy-status' is invalid for instance `0x1537f20'
* Searching for installed applications...
Initializing nautilus-image-converter extension
** Message: Initializing gksu extension...
* NVIDIA on Xorg detected, exporting: __GL_YIELD=NOTHING
* Using the GTK Interface
* Starting Compiz
... executing: compiz --replace --sm-disable --ignore-desktop-hints ccp --indirect-rendering
(gnome-settings-daemon:4150): GVFS-RemoteVolumeMonitor-WARNING **: invoking IsSupported() failed for remote volume monitor with
dbus name org.gtk.Private.GduVolumeMonitor: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or
the network connection was broken.
Note that there is a LONG pause between the "executing: compiz..." line and the gnome-settings-daemon/GVFS-RemoteVolumeMonitor-WARNING. Could this be the source of the problem?
Please comment here or in this discussion thread: http://bbs.archlinux.org/viewtopic.php?pid=737295
What is really weird, is that it also affects new users. It must be a default value or bug in a certain package.
Is it only on Arch64 machines or also with 32 bit installs?
Are other distro's also affected?
Here is my slim.log:
slim: waiting for X server to begin accepting connections
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
X.Org X Server 1.7.5.902 (1.7.6 RC 2)
Release Date: 2010-03-12
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.33-ARCH x86_64
Current Operating System: Linux arch64jon 2.6.32-ARCH #1 SMP PREEMPT Mon Mar 15 20:44:03 CET 2010 x86_64
Kernel command line: root=/dev/disk/by-uuid/40809f52-1830-4fec-8f71-9ac95d87731c ro
Build Date: 13 March 2010 07:35:38PM
Current version of pixman: 0.18.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Apr 4 20:06:19 2010
(==) Using config file: "/etc/X11/xorg.conf"
.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Duplicate shape name ""
> Using last definition
> Warning: Duplicate shape name ""
> Using last definition
> Warning: Duplicate shape name ""
> Using last definition
> Warning: Duplicate shape name ""
> Using last definition
> Warning: Duplicate shape name ""
> Using last definition
> Warning: Duplicate shape name ""
> Using last definition
> Warning: Duplicate shape name ""
> Using last definition
> Warning: Duplicate shape name ""
> Using last definition
> Warning: Duplicate shape name ""
> Using last definition
> Warning: Duplicate shape name ""
> Using last definition
> Warning: Duplicate shape name ""
> Using last definition
> Warning: Duplicate shape name ""
> Using last definition
> Warning: Duplicate shape name ""
> Using last definition
> Warning: Duplicate shape name ""
> Using last definition
> Warning: Multiple doodads named ""
> Using first definition
> Warning: Multiple doodads named ""
> Using first definition
> Warning: Multiple doodads named ""
> Using first definition
> Warning: Multiple doodads named ""
> Using first definition
> Warning: Multiple doodads named ""
> Using first definition
> Warning: Multiple doodads named ""
> Using first definition
Errors from xkbcomp are not fatal to the X server
/usr/bin/xauth: creating new authority file /home/jonathan/.Xauthority
GNOME_KEYRING_CONTROL=/tmp/keyring-mMTxue
GNOME_KEYRING_PID=1809
GNOME_KEYRING_CONTROL=/tmp/keyring-mMTxue
SSH_AUTH_SOCK=/tmp/keyring-mMTxue/ssh
GNOME_KEYRING_CONTROL=/tmp/keyring-mMTxue
SSH_AUTH_SOCK=/tmp/keyring-mMTxue/ssh
Window manager warning: Failed to read saved session file /home/jonathan/.config/metacity/sessions/10db1e87113842396127040440068895100000017760019.ms: Failed to open file '/home/jonathan/.config/metacity/sessions/10db1e87113842396127040440068895100000017760019.ms': No such file or directory
(polkit-gnome-authentication-agent-1:1843): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'
(polkit-gnome-authentication-agent-1:1843): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
(gnome-power-manager:1841): GLib-GObject-WARNING **: gsignal.c:2273: signal `proxy-status' is invalid for instance `0x1545710'
I also noticed that once started gnome loads normally when logging in and out and also when changing users and logging in from gdm.
As proposed in this thread http://bbs.archlinux.org/viewtopic.php?pid=737295 I tried with this command too in .xinitrc: "exec ck-launch-session dbus-launch --auto-syntax --exit-with-session gnome-session" but it doesn't work either.
Would it have something to do with the packages gnome-shell depends on (especially clutter and the new gobject-stuff)?
.xsession-errors:
/etc/gdm/Xsession: Beginning session setup...
/etc/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- gnome-session
GNOME_KEYRING_CONTROL=/tmp/keyring-pa0bza
GNOME_KEYRING_PID=4440
GNOME_KEYRING_CONTROL=/tmp/keyring-pa0bza
SSH_AUTH_SOCK=/tmp/keyring-pa0bza/ssh
GNOME_KEYRING_CONTROL=/tmp/keyring-pa0bza
SSH_AUTH_SOCK=/tmp/keyring-pa0bza/ssh
Warnung der Fensterverwaltung:Gespeicherte Sitzungsdatei /home/urfaust/.config/metacity/sessions/10cb1f7aa18a55a9e5127057720213482000000043840029.ms konnte nicht gelesen werden: Datei »/home/urfaust/.config/metacity/sessions/10cb1f7aa18a55a9e5127057720213482000000043840029.ms« konnte nicht geöffnet werden: Datei oder Verzeichnis nicht gefunden
(polkit-gnome-authentication-agent-1:4488): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'
(polkit-gnome-authentication-agent-1:4488): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
Arbeitsflächen-Datei evolution.desktop konnte nicht für Panel-Starter geöffnet werden
(gnome-power-manager:4490): GLib-GObject-WARNING **: gsignal.c:2273: signal `proxy-status' is invalid for instance `0x1c81b30'
** Message: Initializing gksu extension...
(nautilus:4475): GdkPixbuf-CRITICAL **: gdk_pixbuf_format_get_name: assertion `format != NULL' failed
set zoom: 1,00
Warnung der Fensterverwaltung:Ungültiges WM_TRANSIENT_FOR-Fenster 0x340009a festgelegt für 0x34000bd (/media/nsa).
Found Metastream: KPX_CUSTOM_ICONS_4
Found Metastream: KPX_GROUP_TREE_STATE
Should we file a bug with gnome or is it Arch related?
Regards, Stefan L.
EDIT: Sorry for double post, something went wrong refreshing the page.
=====================8<==========================
X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.33-ARCH x86_64
Current Operating System: Linux pendulum 2.6.33-ARCH #1 SMP PREEMPT Sun Apr 4 10:27:30 CEST 2010 x86_64
Kernel command line: root=/dev/disk/by-uuid/3decde7f-4ccc-4a78-8a6f-46d9bff12558 vga=791 ro
Build Date: 01 April 2010 05:28:33PM
Current version of pixman: 0.18.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Apr 12 19:51:22 2010
(==) Using config file: "/etc/X11/xorg.conf"
/usr/bin/xauth: creating new authority file /home/foucault/.Xauthority
GNOME_KEYRING_CONTROL=/tmp/keyring-L568EH
GNOME_KEYRING_PID=1838
GNOME_KEYRING_CONTROL=/tmp/keyring-L568EH
SSH_AUTH_SOCK=/tmp/keyring-L568EH/ssh
GNOME_KEYRING_CONTROL=/tmp/keyring-L568EH
SSH_AUTH_SOCK=/tmp/keyring-L568EH/ssh
(polkit-gnome-authentication-agent-1:1877): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'
(polkit-gnome-authentication-agent-1:1877): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
=====================>8==========================
I tried it with a daily build of Ubuntu 10.04 and ther problem is not there.
Maybe the way this package is compiled for Arch?
GNOME_KEYRING_CONTROL=/tmp/keyring-L568EH
GNOME_KEYRING_PID=1838
GNOME_KEYRING_CONTROL=/tmp/keyring-L568EH
SSH_AUTH_SOCK=/tmp/keyring-L568EH/ssh
GNOME_KEYRING_CONTROL=/tmp/keyring-L568EH
SSH_AUTH_SOCK=/tmp/keyring-L568EH/ssh
There have been some bugs recently regarding Gnome Keyring that introduced some lag (in shutdown if my memory is not failing me). Is there anyway to start a gnome session without the keyring?
Or alternatively is there a way to measure how long it takes between the writing of each line in .xsession-errors (eg. timestamped log)?
The thing is that for some of us this bug has been present since at least Gnome 2.26.
I remember this bug also being present in Ubuntu, but somewhere along the way it got corrected.
Maybe we could learn something from the patches they apply?
http://packages.ubuntu.com/karmic/gnome-session
http://packages.ubuntu.com/karmic/gnome-session-bin
http://packages.ubuntu.com/lucid/gnome-session
http://packages.ubuntu.com/lucid/gnome-session-bin
I believe the patches can be found on these links. Can anyone more experienced than me take a look please?
When you go to system - preferences - startup applications, you can disable a bunch of keyring services, but it makes no difference to me.
Googling for timestamped logs didn't give me any possibilities.
Unfortunately my knowledge of the patch files is not sufficient either :( I'm willing to try things out, but I'm lacking experience in this.
https://bugs.launchpad.net/ubuntu/+source/udisks/+bug/551712
I don't think this was the bug report I had read earlier, but it also seems to be the same problem. There are also come references to gnome keyring, although the culprit here seemed to be a non-existing floppy drive...
Will try tonight at home when I'm at my PC, i'm working atm :) Thank you for the hint.
I have disabled the floppy drive in my BIOS (since I have none installed) and it got me rid of the login delay.
Thanks to anyone for helping me out, expecially to Francisco Pina for the information of the non-existing floppy drive :)
For those of you that still have the issue and you disabled the floppy drive in BIOS, do you also have it disabled in fstab?
However, this does not solve the problem for me as in my laptops there is no BIOS option regarding the floppy drives.
How long does your login take now? Is the first login as fast as any subsequent logins?
I'm still going to research further the gnome keyring issue... Anyone took a look at those patches yet?
@Stefan: One of my machines also displays grey screen during loading session and wallpaper only comes when the panels appear, but my other machine displays the wallpaper immediately when session is still loading. Don't know why and it's not a problem to me. As long as the loading is fast I'm happy :)
In "MODULES" you should type !floppy = MODULES=(!floppy)
That's what made it work for me.
Here is the ~/.xsession-errors with the floppy kernel module blacklisted:
/etc/gdm/Xsession: Beginning session setup...
/etc/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- gnome-session
GNOME_KEYRING_CONTROL=/tmp/keyring-POCXNd
GNOME_KEYRING_CONTROL=/tmp/keyring-POCXNd
GNOME_KEYRING_CONTROL=/tmp/keyring-POCXNd
SSH_AUTH_SOCK=/tmp/keyring-POCXNd/ssh
Window manager warning: Failed to read saved session file /home/username/.config/metacity/sessions/10d1f754065734eb35127136303240452400000041220020.ms: Failed to open file '/home/username/.config/metacity/sessions/10d1f754065734eb35127136303240452400000041220020.ms': No such file or directory
(polkit-gnome-authentication-agent-1:4211): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'
(polkit-gnome-authentication-agent-1:4211): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
(gnome-power-manager:4212): GLib-GObject-WARNING **: gsignal.c:2273: signal `proxy-status' is invalid for instance `0x23ba720'
Initializing nautilus-image-converter extension
** Message: Initializing gksu extension...
I always have high disk activity, but the 1st login takes 10 seconds and subsequent logins take about 2 seconds. Is it really designed to be like this? I'm using readahead, I think this was not supposed to happen with readahead.
Also, this workaround is working for some people, maybe it should be added to the wiki?
Thank you for your wake-up call. I made my first wiki edit... =-)
http://wiki.archlinux.org/index.php/Gnome_2.28_Changes