You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, July 11th 2007, 7:30am

Help!!!

I need serious help.... Here is my problem, I type my password kde tries to start, but it returns to the login screen and asks for the password again. I tried to reconfigure xorg.conf, created another user, deleted the .kde folder in my home directory, the only way I can start kde is by typing ctrl+alt+f1 and starting kde as root. any ideas???

2

Wednesday, July 11th 2007, 1:20pm

RE: Help!!!

Gut reaction is to check the pam-kdm rules.

Here's the content of mine:

Source code

1
2
3
4
5
6
7
8
#%PAM-1.0

auth       required     pam_unix.so
auth       required     pam_nologin.so
account    required     pam_unix.so
password   required     pam_unix.so
session    required     pam_unix.so
session    required     pam_limits.so


Let us know if that matches yours. If that doesn't work, post the output of the env. You might not have the $KDE or $QT vars set.

3

Wednesday, July 11th 2007, 3:58pm

This appears in /etc/pam.d/kdm

#
# /etc/pam.d/kdm - specify the PAM behaviour of kdm
#
auth required pam_nologin.so
auth required pam_env.so readenv=1
auth required pam_env.so readenv=1 envfile=/etc/default/locale
@include common-auth
session required pam_limits.so
@include common-account
@include common-password
@include common-session

4

Wednesday, July 11th 2007, 4:15pm

Try moving that file, and C&P mine into a new /etc/pam.d/kdm, restart runlevel 5 (telinit 3, login as root, and telinit 5), and see if that fixes it.

I am not very familiar with PAM, but mine should be secure enough for a login. The parts that I really don't understand are the pam_env.so, I think that if you looked at the common-* files, they would match up with mine pretty much.

There might be something in your log files that will help you figure out what is going on. I believe that KDM does report to syslog.