GNOME Bugzilla – Bug 148662
session hangs for ~3 minutes after starting window manager but before starting anything else
Last modified: 2004-12-22 21:47:04 UTC
When I log in and start GNOME (using startx), the window manager starts immediately, but then there is a pause of about three minutes before the panel and applications start. This happens every single time. I'm not sure what you need to know, so I'll just attach .xsession and .gnome2/session. Please do not hesitate to contact me for more information. I am also happy to do experiments.
Created attachment 29990 [details] startx session script
Created attachment 29991 [details] gnome-session config file (1/2)
Created attachment 29993 [details] gnome-session config file (2/2)
to be a bit more specific about versions: this is Debian unstable's packaged GNOME, and $ gnome-session --version Gnome gnome-session 2.6.2
Maybe you could try removing one line at a time from the startx session script and see if that helps?
startx `which gnome-session` -- :1 (which causes startx to ignore the entire session script and invoke gnome-session immediately) shows the same hang.
if you pass --purge-delay 3000 to gnome-session do things work better?
Yes, that cuts the hang time to three seconds. This suggests to me that the problem is with openbox...?
There is a bug in the way gnome-session is interacting with non-sm-aware applications I think. A relevent Red Hat bug is https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=108190
Further confirmation that the problem is with the way openbox interacts with gnome-session: I moved openbox to .gnome2/session-manual and the problem went away. Openbox was *supposed* to be an everything-aware, low-footprint, customizable window manager (sawfish fails point 2 and metacity fails point 3) but I guess not.
*** This bug has been marked as a duplicate of 116814 ***