You are not logged in.

#1 2009-07-14 11:54:03

cube_zero
Member
Registered: 2009-07-13
Posts: 5

[SOLVED] KDM login failed, but can login via virtual console

I followed the wiki path of installation X11 and KDE

Everything went well but the problem is I cannot login via KDM login screen
For every of two accounts I get 'Login Failed' error, and at the same time I'm able to login via virtual console

My config
* not using xorg.conf

* rc.conf

DAEMONS=(syslog-ng dbus hal network netfs crond kdm)

I've got two user accounts
1) old_user - user whos home dir is from my previous linux install, so there are old dot files in ~/

2) new_user - newly created account
* it's .xinitrc

exec startkde

with the new_user account I've tried to remove password, but still can't login with empty pass
then I've added it to groups optical and storage as wiki says (http://wiki.archlinux.org/index.php/HAL … figure_HAL) but it didn't help either

I thought that toad's topic (http://bbs.archlinux.org/viewtopic.php?id=69882) is similar, but my new_user/.xsession-errors is empty

Last edited by cube_zero (2009-07-14 22:10:37)

Offline

#2 2009-07-14 14:40:10

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [SOLVED] KDM login failed, but can login via virtual console

Following up from your mail - your rc.conf doesn't look too hot. If I were you I'd try the following stanza:

DAEMONS=(syslog-ng hal dbus network netfs crond kdm)

HTH


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#3 2009-07-14 15:38:45

cube_zero
Member
Registered: 2009-07-13
Posts: 5

Re: [SOLVED] KDM login failed, but can login via virtual console

toad wrote:

Following up from your mail - your rc.conf doesn't look too hot. If I were you I'd try the following stanza:
DAEMONS=(syslog-ng hal dbus network netfs crond kdm)

thanks for the interest
I followed wiki in the deamons order http://wiki.archlinux.org/index.php/HAL … figure_HAL
that is:

to avoid any complications it is best to load DBus before HAL through your daemons array

but
I've stopped the KDM deamon, logged as new_user, then startx and it worked

what should i change to be able to login 'normally' ?


now going to try toad's way

Offline

#4 2009-07-14 17:45:44

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [SOLVED] KDM login failed, but can login via virtual console

I have seen a number of people suffering the same problem as you and _my way_ worked for them as well. I added as much to the wiki to reflect this - hope it works out for you smile

Having said that - I don't know why it shouldn't work the other way round and am not knowledgeable enough to explain it. All I know is that on my desktop it worked as stated in the wiki but my laptop required, well, the other way.


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#5 2009-07-14 18:00:30

windtalker
Member
Registered: 2008-03-17
Posts: 220

Re: [SOLVED] KDM login failed, but can login via virtual console

On your Daemons array, is that a copy and paste or a typo?

"syslog-ngn" should be syslog-ng.

Otherwise the Damons array looks ok and the problem is elsewhere.
Nest question, are you using kde or kdemod?
I've used kdemod 3 and overlooked the fact that kdm3 had to be added to the damons instead of kdm.

Offline

#6 2009-07-14 18:22:49

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: [SOLVED] KDM login failed, but can login via virtual console

If all else fails, try http://wiki.archlinux.org/index.php/Add … tab_Method

Just joking, try it now.


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#7 2009-07-14 19:30:43

cube_zero
Member
Registered: 2009-07-13
Posts: 5

Re: [SOLVED] KDM login failed, but can login via virtual console

toad wrote:

I have seen a number of people suffering the same problem as you and _my way_ worked for them as well. I added as much to the wiki to reflect this - hope it works out for you smile

well, it didn't :]
after putting hal before dbus i get D-BUS error while booting (runlevel 3)

Failed to start message bus: The pid file "/var/run/dbus.pid" exist, if the message bus is not running, remove this file

but apart from this everything is as before

windtalker wrote:

On your Daemons array, is that a copy and paste or a typo? "syslog-ngn"

typo, I've corrected it in the original post

windtalker wrote:

Nest question, are you using kde or kdemod?

kde, but maybe the cause of problems is the fact that I first installed kde base (pacman -S kdebase) and then without uninstalling it I installed the full kde (pacman -S kde)

arkham wrote:

Just joking, try it now.

I will for sure.

Finally, I think it doesn't matter but just in case: I now use xorg.conf generated by nvidia-xconfig to set up my screen resolution

Last edited by cube_zero (2009-07-14 21:45:01)

Offline

#8 2009-07-14 22:09:51

cube_zero
Member
Registered: 2009-07-13
Posts: 5

Re: [SOLVED] KDM login failed, but can login via virtual console

well, problem solved
but what was the cause of problem, dunno

I've tried what the wiki page, given by arkham, said and problem persisted. Then I yet another time reset user passwords, assing new ones and voila, it worked.
So by curiousity I tried to undo chages in config files (/etc/inittab and /etc/rc.conf) and it's working too.

So it looks like the password change did the thing, but why, that is the question.

Anyway, thank you guys for help.

Last edited by cube_zero (2009-07-14 22:17:18)

Offline

#9 2010-05-02 16:16:40

martin77
Member
Registered: 2010-03-14
Posts: 111

Re: [SOLVED] KDM login failed, but can login via virtual console

Guys, I haven't this very same issue but one related to KDM login aswell.

I notice if I change my user passwd within a session and then logout/log in again KDM won't recognize my new password. Weird enough, I can log in from tty as allways, so the problem must reside in KDM. The only things a can do to solve this is: 1. autologin (which's not an option for me), 2. change back to the old password and 3. keep new password but start KDE via CLI (xinit).
Any idea!?

Offline

#10 2010-10-17 10:31:13

clearloon
Member
Registered: 2009-01-07
Posts: 79

Re: [SOLVED] KDM login failed, but can login via virtual console

I'm having exactly the same issue as Martin77 - frustrating...

Offline

Board footer

Powered by FluxBB