Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 26125

Summary: gnome: gdm does not start
Product: Gentoo Linux Reporter: Evert <evert.gentoo>
Component: [OLD] GNOMEAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: critical CC: alpha
Priority: High    
Version: unspecified   
Hardware: Alpha   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for startDM.sh

Description Evert 2003-08-07 08:29:09 UTC
I configured xdm to use gnome. Some months ago it worked, but after a new 
gentoo installation it just doesn't start anymore using "/etc/init.d/xdm start"
I did some investigation and it turns out that the "sleep 5" 
in /etc/X11/startDM.sh is not big enough on slow systems. I changed this 
into "sleep 30" and the problem is "solved". Still, if a computer is very busy 
(compiling etc), this might slow down the start of xdm and a "sleep 30" might 
still not be enough! A sleep is a dirty solution since things might always take 
longer then one expects.
Comment 1 foser (RETIRED) gentoo-dev 2003-08-07 08:47:48 UTC
I think Az or the xfree team should look at this (is Azarah on the xfree alias ?)

On another note the 'export GDK_USE_XFT=1' should be removed from startDM.sh, gtk nowadays sets this in env.d .
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-08-07 10:32:39 UTC
What happens if you change the 'sleep 5' to say 'wait; sleep 2' ?
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2003-09-08 09:52:50 UTC
So, Evert?
Comment 4 Evert 2003-09-09 02:25:55 UTC
Oh sorry, I sent a reply long ago but got the mail back...
OK, now via the web...

The 'wait; sleep 2' seems to do the trick. A 'wait' without sleep also works!
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2003-10-01 09:04:27 UTC
It looks like there is a clear fix stated in the above comments.  Will this
be applied soon?
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2003-11-24 23:30:38 UTC
Will try to get this in soon.
Comment 7 Andrew Bevitt 2003-11-27 16:33:04 UTC
Created attachment 21393 [details, diff]
patch for startDM.sh

applies refered changes.

I know its not entirely necessary but it lets us track these patches, as there
are a few bugs that can be closed on the next releases for xfree.
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2003-12-03 22:44:12 UTC
Added patch in comment #7.