> > I asked this question a short time ago, but with a (probably) > > unhelpful subject header. I will try again. > > > > Can anyone give me a clue as to why xdm is very slow to start X > > windowing. I have been using xdm for some time. Recent upgrades (to > > testing?) seem to have changed its startup performance. > > Yesterday, I upgrade an intel box with woody. To mey display, gdm > cease to work. Lauching /etc/init.d/gdm start, nothing seem to happens > except a message "starting gdm" and if I switch to vt6, I see an x > cursor. After scratching my head for one hour, I decide to throw away > gdm and install xdm in place. Just the same, nothing happens after > launching /etc/init.d/xdm start, but when I was about to give up, > suddenly X start giving me a login console. In desperation, I > subscribe and write to [email protected] and some one told > me that > > <<I also had this problem when I upgraded to X4. > I can't remember exactly what I did, but I think I changed > DisplayManager*authorize: from true to false in /etc/X11/xdm/xdm-config>> >
in /etc/X11/xdm/xdm-config, change the line
DisplayManager*randomFile: /dev/urandom
to
DisplayManager*randomFile: /dev/mem
your entropy won't be anywhere near as random, but xdm should start up
very fast. xdm reads about a megabyte from the random file for entropy
data, and that can take a while when reading from /dev/urandom.
/ben
--
|_ |_ | _ _ |_ PGP public key: http://www.wilykit.com/wilykit.key
|_) . |_)|(_|(_ |\ "Never rub another man's rhubarb." -- Joker
pgpPOroeoFS7n.pgp
Description: PGP signature

