Ive had a strange problem with my lenny debian system. After a update my kdm dont let me login as normal user (but kdm shown up as allways).
After ages i searching logfiles a found some „questions“ (finaly, cause its hard to find a answer without a question).
First of all -> There is a problem with the nvidia drivers and the 2.6.26 (and 2.6.25) kernel images from debian. The patches (from nvidia) didnt worked for me, which made me think about the normal debian way. Get the source by
apt-get install nvidia-kernel-source
extract with:
cd /usr/src
tar xvjf nvidia-kernel.tar.bz2
compiled it with :
cd /usr/src/modules/nvidia-kernel
make modules
make install
(nvidia module should now be there)
but we still need nvidia-glx (on my sourcelist i only got a wrong version, which made me search the nvidia page).
found a matching version (watch the output of the make command) and install only the glx part by following command:
yourNvidiaBinFile.run --no-kernel-module
in my case it was (depends on the version of your kernel source):
./NVIDIA-Linux-x86-173.14.09-pkg1.run --no-kernel-module
okay. Server should be prepaired now the work again. But it would be „to easy“.
To mass it up even more, there is a bug in dmsetup atm. which causes udev and initrds to fail. parts of this are wrong permission in some importent /dev/ devices.
to get the minimum back again you should set
chgrp users /dev/null
chgrp users /dev/random
chgrp users /dev/urandom
stressful and not like we know it from the debian system. but will be fixed for sure.
fixing the kernel the correct way:
/etc/udev/rules.d/65_dmsetup.rules
first lines all have GOTO=“device_mapper_end“.
which should look like this:
SUBSYSTEM!="block", GOTO="device_mapper_end"
KERNEL!="dm-*", GOTO="device_mapper_end"
ACTION!="add|change", GOTO="device_mapper_end"
than adjust you kernel to get sure everthings fine
update-initramfs -k all -u
Diesen Link Favorisieren bei Technorati