Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26125 - gnome: gdm does not start
Summary: gnome: gdm does not start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: Alpha Linux
: High critical (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-07 08:29 UTC by Evert
Modified: 2003-12-03 22:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for startDM.sh (startDM.sh-sleep-fix.patch,295 bytes, patch)
2003-11-27 16:33 UTC, Andrew Bevitt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.