Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't log into KDE anymore [Solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
calicoman
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 171

PostPosted: Fri Sep 26, 2008 10:58 pm    Post subject: Can't log into KDE anymore [Solved] Reply with quote

After my last reboot I cannot log into KDE ( I have rebooted before without problems). The login screen comes up and I enter my password and then the screen blanks for a moment and then the login screen comes right back. However, I can go to to the terminal (ALT F1) and login without any problems.
I have re-installed kdm, without success, and checked kdmrc against another computer and it seems ok. At this point I don't know what else to do.


Last edited by calicoman on Wed Oct 01, 2008 1:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
kevstar31
Guru
Guru


Joined: 22 Nov 2006
Posts: 449
Location: Ohio

PostPosted: Sat Sep 27, 2008 12:14 am    Post subject: Reply with quote

Code:
revdep-rebuild

You may need to emerge gentoolkit.
_________________
while(true) std::cout << "Jesus I trust in you." << std::endl;
My Political Compass
Back to top
View user's profile Send private message
calicoman
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 171

PostPosted: Sat Sep 27, 2008 1:34 am    Post subject: Can't log into KDE anymore Reply with quote

Thanks for the reply Kevstar31. I didn't mention it because I automatically do a revdep-rebuild. It showed everything as ok.

Frank
Back to top
View user's profile Send private message
kevstar31
Guru
Guru


Joined: 22 Nov 2006
Posts: 449
Location: Ohio

PostPosted: Sat Sep 27, 2008 11:50 am    Post subject: Reply with quote

post your xorg.conf
_________________
while(true) std::cout << "Jesus I trust in you." << std::endl;
My Political Compass
Back to top
View user's profile Send private message
calicoman
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 171

PostPosted: Sat Sep 27, 2008 12:16 pm    Post subject: Reply with quote

My xorg.conf is essentially the same as is on two other computers that have the same video card. Also, I can remove the server lock and startx works from the terminal, and when I reboot, the nvidia flash screen and kde login screen come up as normal. I have been running gentoo on this computer for several years and has been rebooted many times because I also dual boot into windows for some things that I need.
I have had problems with the current version of udev in that it will not properly recognize a flash drive and had to go back one version on this computer to get it to work and had been putting off doing it on the one that I am having problems with.
Will try that later as I don't have time this morning.
Frank
Back to top
View user's profile Send private message
Pithlit
l33t
l33t


Joined: 27 Dec 2003
Posts: 887
Location: fuhen

PostPosted: Sat Sep 27, 2008 2:03 pm    Post subject: Reply with quote

I'll just hijack this as I seem to have the same problem. I.e. KDM comes up, enter user/pass, it blinks all black and comes back up with KDM. Command line login works but that kinda defeats the purpose. Now... the silly thing is... I have 4 users. It obviously doesn't work for root. So I'm left with 3 other users. And KDM works just fine with one of them. So I'm guessing it has something to do with permissions being screwed up (as it worked fine a few days ago with _nothing_ being changed on the system. I since tried a number of things, including rebuilding everything and changing passwords to more complex ones as someone suggested).

So here it is... it works for:
Code:
# groups user1
tty wheel audio video cdrom cdrw usb users portage user1

It doesn't work for:
Code:
# groups user2
audio video users user2
# groups user3
audio video cdrom cdrw usb users user3


As mentioned... all accounts work fine from command line.
_________________
If someone solves a problem for you say thanks... and put [SOLVED] in the title!
Back to top
View user's profile Send private message
pholthau
Guru
Guru


Joined: 27 Nov 2005
Posts: 361
Location: Bielefeld, Germany

PostPosted: Sat Sep 27, 2008 2:34 pm    Post subject: Reply with quote

please post ~/.xsession-errors
_________________
The message is Feierei, alder! The message is Gude Laune, alder! [Sven]
Back to top
View user's profile Send private message
calicoman
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 171

PostPosted: Sat Sep 27, 2008 9:16 pm    Post subject: Reply with quote

Thanks for the replies guys, but there is no file ~/.xsession-errors.


Frank
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Sat Sep 27, 2008 9:24 pm    Post subject: Reply with quote

Does it work for the others if you put them in the wheel group?
Back to top
View user's profile Send private message
calicoman
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 171

PostPosted: Sun Sep 28, 2008 1:59 pm    Post subject: Reply with quote

More things that I just tried:
Checked to make sure I was in all the right groups- I was.
Edited kdmrc to allow root login - it worked, I could login as root.
Redid my user password ( I used the same password) and still could not login.

Frank
Back to top
View user's profile Send private message
Pithlit
l33t
l33t


Joined: 27 Dec 2003
Posts: 887
Location: fuhen

PostPosted: Sun Sep 28, 2008 3:53 pm    Post subject: Reply with quote

Sorry... was gone for the day.

Code:
cat ~/.xsession-errors
/usr/kde/3.5/share/config/kdm/Xsession: line 59: /usr/kde/3.5/bin/startkde: no such file or directory
/usr/kde/3.5/share/config/kdm/Xsession: line 59: exec /usr/kde/3.5/bin/startkde: no such file or directory


Still doesn't quite explain it. There's no startkde in there and I do NOT want the other 2 users in the wheel group. I'll still try and see what happens.

*edit* adding users to the wheel group makes no difference.
_________________
If someone solves a problem for you say thanks... and put [SOLVED] in the title!
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Mon Sep 29, 2008 7:33 am    Post subject: Reply with quote

Well, it doesn't matter about groups. Without a /usr/kde/3.5/bin/startkde there's nowhere to go.
Code:
qfile startkde
kde-base/kdebase-startkde (/usr/kde/3.5/bin/startkde)

Hopefully re-emerging kdebase-startkde will fix it.
Back to top
View user's profile Send private message
Pithlit
l33t
l33t


Joined: 27 Dec 2003
Posts: 887
Location: fuhen

PostPosted: Mon Sep 29, 2008 1:48 pm    Post subject: Reply with quote

Pithlit wrote:
I since tried a number of things, including rebuilding everything

So, no... reemerging didn't help. Also...

Pithlit wrote:
I'm left with 3 other users. And KDM works just fine with one of them.

However, I'm not using KDE (which shouldn't make any difference at all) but XFCE4. The problem is everything works from command line ($ startx) but it refuses to work with KDM. Further more... it works from KDM using my account (admin wannabe) but not the guest accounts. And it all started out of the blue without ever changing anything. It's puzzling.
_________________
If someone solves a problem for you say thanks... and put [SOLVED] in the title!
Back to top
View user's profile Send private message
chieflilal
n00b
n00b


Joined: 02 Mar 2006
Posts: 6
Location: Michigan, USA

PostPosted: Tue Sep 30, 2008 3:31 pm    Post subject: Reply with quote

I had the same issue with KDE 3.5.x with my last emerge.

Found this answer in a post about similar issue in KDE 4.
Quote:

chmod +r /usr/share/config


I tried it on my machine and am now able to log into KDE using my regular user accounts.
Back to top
View user's profile Send private message
calicoman
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 171

PostPosted: Tue Sep 30, 2008 6:39 pm    Post subject: Reply with quote

Chieflilal - tried this and it did not work for me. My /usr/share/config folder is empty anyway - even on computers where I can log in as user.

Frank
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Tue Sep 30, 2008 7:01 pm    Post subject: Reply with quote

Is the result the same for every session type?
If you do
Code:
echo "exec twm" > $HOME/.xsession

and choose custom session type in kdm what happens? Still the same?
Back to top
View user's profile Send private message
calicoman
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 171

PostPosted: Wed Oct 01, 2008 1:08 pm    Post subject: Can't log into KDE anymore [Solved] Reply with quote

Finally got things working.

First, I stripped out KDE by:
emerge -Ca /var/db/pkg/kde-base/*-3.5.*

Then I emerged kdebase-meta and I can now login again. Now I will have to install everything else again.

I had not done this before because Pithlit indicated that re-installing did not work.

Thanks for all the replies.

Frank
Back to top
View user's profile Send private message
Pithlit
l33t
l33t


Joined: 27 Dec 2003
Posts: 887
Location: fuhen

PostPosted: Wed Oct 01, 2008 5:10 pm    Post subject: Reply with quote

Rebuilding (reemerging) didn't help. Never said anything about unmerging. :oops:

notHerbert: I'll try that as soon as I can. Should've thought of it sooner... In fact, I did, but I also noticed my admin account (the one that works) lacks .xsession file so I dimissed the thought :roll: a bit silly there.

*edit* Anyone got a gun handy? When everything else fails... try the obvious... Someone changed the session to default. Changing it back to xfce worked quite nice. Perfectly well really. I'll go bang my head against the wall now.
_________________
If someone solves a problem for you say thanks... and put [SOLVED] in the title!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum