From: "Robert M. Riches Jr." <richesr1@inetarena.com>
To: axp-list@redhat.com
Subject: shallow end of the entropy pool
Date: Mon, 5 Nov 2001 21:48:50 -0800 [thread overview]
Message-ID: <200111060548.fA65mo328630@gtedhcp-60.inetarena.com> (raw)
Greetings,
When I upgraded from RH7.0 to RH7.1, the X server started taking
much longer to come up. This problem and solution showed up on
an Alpha machine, but I don't know whether it's Alpha-specific.
In case it will help (or amuse) anyone else, ...
The startx script, used to start an X window system server, calls
the mcookie command, and this creates a security cookie by
reading from /dev/random, reading from the entropy pool. If the
entropy pool is empty, the read from /dev/random waits until
there are enough bits of randomness available for mcookie. This
prevents the X server from starting as quickly as it should.
The easiest solution, as crazy as it sounds, is to type gibberish
at the keyboard or move the mouse around (or presumably tap the
mouse buttons). This user input provides the kernel the
opportunity to refill the entropy pool, which allows the read of
/dev/random to complete, which allows mcookie to finish its work,
which allows the X server to do its thing.
Robert Riches
richesr1@inetarena.com
next reply other threads:[~2001-11-06 5:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-06 5:48 Robert M. Riches Jr. [this message]
2001-11-06 9:25 ` shallow end of the entropy pool Dr. David Gilbert
2001-11-08 17:19 ` Ken Siersma
2001-11-08 22:39 ` OT: Hammer Peter Watkinson
2001-11-08 23:44 ` jsturm1
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox