After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 148662 - session hangs for ~3 minutes after starting window manager but before starting anything else
session hangs for ~3 minutes after starting window manager but before startin...
Status: RESOLVED DUPLICATE of bug 116814
Product: gnome-session
Classification: Core
Component: gnome-session
2.6.x
Other Linux
: Normal major
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-07-28 09:27 UTC by Zack Weinberg
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
startx session script (209 bytes, text/plain)
2004-07-28 09:28 UTC, Zack Weinberg
Details
gnome-session config file (1/2) (2.86 KB, text/plain)
2004-07-28 09:29 UTC, Zack Weinberg
Details
gnome-session config file (2/2) (84 bytes, text/plain)
2004-07-28 09:29 UTC, Zack Weinberg
Details

Description Zack Weinberg 2004-07-28 09:27:20 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.
Comment 1 Zack Weinberg 2004-07-28 09:28:25 UTC
Created attachment 29990 [details]
startx session script
Comment 2 Zack Weinberg 2004-07-28 09:29:13 UTC
Created attachment 29991 [details]
gnome-session config file (1/2)
Comment 3 Zack Weinberg 2004-07-28 09:29:52 UTC
Created attachment 29993 [details]
gnome-session config file (2/2)
Comment 4 Zack Weinberg 2004-07-28 09:32:24 UTC
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
Comment 5 Kjartan Maraas 2004-07-31 17:34:00 UTC
Maybe you could try removing one line at a time from the startx session script
and see if that helps?
Comment 6 Zack Weinberg 2004-07-31 18:47:32 UTC
startx `which gnome-session` -- :1 
(which causes startx to ignore the entire session script and invoke
gnome-session immediately) shows the same hang.
Comment 7 Ray Strode [halfline] 2004-07-31 18:49:07 UTC
if you pass --purge-delay 3000 to gnome-session do things work better?
Comment 8 Zack Weinberg 2004-07-31 19:01:37 UTC
Yes, that cuts the hang time to three seconds.  This suggests to me that the
problem is with openbox...?
Comment 9 Ray Strode [halfline] 2004-07-31 19:42:33 UTC
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
Comment 10 Zack Weinberg 2004-07-31 21:25:32 UTC
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.
Comment 11 Vincent Noel 2004-08-02 22:30:01 UTC

*** This bug has been marked as a duplicate of 116814 ***