Hi, it works! Using gdm instead of kdm was a great idea, thanks a lot. Don't know why there was a problem with kdm, probably I did not configure it correctly.