View previous topic :: View next topic |
Author |
Message |
calicoman Apprentice
Joined: 18 Feb 2004 Posts: 171
|
Posted: Fri Sep 26, 2008 10:58 pm Post subject: Can't log into KDE anymore [Solved] |
|
|
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 |
|
|
kevstar31 Guru
Joined: 22 Nov 2006 Posts: 449 Location: Ohio
|
Posted: Sat Sep 27, 2008 12:14 am Post subject: |
|
|
You may need to emerge gentoolkit. _________________ while(true) std::cout << "Jesus I trust in you." << std::endl;
My Political Compass |
|
Back to top |
|
|
calicoman Apprentice
Joined: 18 Feb 2004 Posts: 171
|
Posted: Sat Sep 27, 2008 1:34 am Post subject: Can't log into KDE anymore |
|
|
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 |
|
|
kevstar31 Guru
Joined: 22 Nov 2006 Posts: 449 Location: Ohio
|
Posted: Sat Sep 27, 2008 11:50 am Post subject: |
|
|
post your xorg.conf _________________ while(true) std::cout << "Jesus I trust in you." << std::endl;
My Political Compass |
|
Back to top |
|
|
calicoman Apprentice
Joined: 18 Feb 2004 Posts: 171
|
Posted: Sat Sep 27, 2008 12:16 pm Post subject: |
|
|
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 |
|
|
Pithlit l33t
Joined: 27 Dec 2003 Posts: 887 Location: fuhen
|
Posted: Sat Sep 27, 2008 2:03 pm Post subject: |
|
|
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 |
|
|
pholthau Guru
Joined: 27 Nov 2005 Posts: 361 Location: Bielefeld, Germany
|
Posted: Sat Sep 27, 2008 2:34 pm Post subject: |
|
|
please post ~/.xsession-errors _________________ The message is Feierei, alder! The message is Gude Laune, alder! [Sven] |
|
Back to top |
|
|
calicoman Apprentice
Joined: 18 Feb 2004 Posts: 171
|
Posted: Sat Sep 27, 2008 9:16 pm Post subject: |
|
|
Thanks for the replies guys, but there is no file ~/.xsession-errors.
Frank |
|
Back to top |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Sat Sep 27, 2008 9:24 pm Post subject: |
|
|
Does it work for the others if you put them in the wheel group? |
|
Back to top |
|
|
calicoman Apprentice
Joined: 18 Feb 2004 Posts: 171
|
Posted: Sun Sep 28, 2008 1:59 pm Post subject: |
|
|
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 |
|
|
Pithlit l33t
Joined: 27 Dec 2003 Posts: 887 Location: fuhen
|
Posted: Sun Sep 28, 2008 3:53 pm Post subject: |
|
|
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 |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Mon Sep 29, 2008 7:33 am Post subject: |
|
|
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 |
|
|
Pithlit l33t
Joined: 27 Dec 2003 Posts: 887 Location: fuhen
|
Posted: Mon Sep 29, 2008 1:48 pm Post subject: |
|
|
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 |
|
|
chieflilal n00b
Joined: 02 Mar 2006 Posts: 6 Location: Michigan, USA
|
Posted: Tue Sep 30, 2008 3:31 pm Post subject: |
|
|
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 |
|
|
calicoman Apprentice
Joined: 18 Feb 2004 Posts: 171
|
Posted: Tue Sep 30, 2008 6:39 pm Post subject: |
|
|
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 |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Tue Sep 30, 2008 7:01 pm Post subject: |
|
|
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 |
|
|
calicoman Apprentice
Joined: 18 Feb 2004 Posts: 171
|
Posted: Wed Oct 01, 2008 1:08 pm Post subject: Can't log into KDE anymore [Solved] |
|
|
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 |
|
|
Pithlit l33t
Joined: 27 Dec 2003 Posts: 887 Location: fuhen
|
Posted: Wed Oct 01, 2008 5:10 pm Post subject: |
|
|
Rebuilding (reemerging) didn't help. Never said anything about unmerging.
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 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 |
|
|
|