This bug reads:

In the above report,
(http://marc.theaimsgroup.com/?l=linux-hotplug-devel&m=109783336527621&w=2)
the user says that udev does not create the NVidia device nodes fast
enough for the X server started by KDM to use them.

There is no official upstream answer, but I guess that "put the startup
of your display manager into /etc/dev.d scriptlet instead of the
initscript" would be the most consistent with the whole udev ideology.
----------

I am proposing that we merely add a wrapper similar to RH's prefdm:


cat >> /bin/my-dm << "EOF"
#!/bin/sh

while [ ! -e /dev/nvidia0 ]; do
  sleep 1
done

exec kdm $*
EOF

chmod 700 /bin/my-dm

-------
At this point we only need to add the following to /etc/inittab:

# Run xdm in runlevel 5
x:5:respawn:/bin/my-dm

Of course the user could substitute either of {x,g}dm for kdm if desired.

This would be a much simpler method than the complications of udev that
have come up recently with alsa.

Opinions?

  -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to