LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-08-2005, 07:42 PM   #1
energiza
Member
 
Registered: Oct 2004
Location: Queretaro Mexico
Distribution: SUSE 10.2
Posts: 51

Rep: Reputation: 15
Can't LOGIN KDE after REBOOT


This is the second time this happens. First time my Suse 9.2 got frozen while in a root session, pushed reset and I could no longer login as root, other 2 users could login. I reinstalled.

I rarely login as root, I rather login into KDE as a common user and open a Root Console to manage the system. Yesterday the session got frozen again and the user with the frozen session could no longer login after reset/reboot. I created a new account for this user and copied the /home/user/.thunderbird and other .directories. The user's account works ok.

I noticed a .kde folder in every user directory. Is there something that controls such login situation?

When one types in the faulty user+password pair, the screen gets dark, and then the Suse wait cursor shows and then the login screen shows again. ONLY THE FAILSAFE login works ok, but it's a terminal login, not the kde desktop.

Does anyone know how to fix the fault in the account's login into kde? (besides the obvious erasing of old user's directory and account creation with same old name of course) In other words: where is the setting that controls login process within the user's information?

Thanks.
 
Old 01-09-2005, 07:44 PM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
In such cases, just delete the .kde directory in the users home folder. If it's root that cannot access kde, delete the .kde folder in /root folder. This should do the trick and reset your settings(THIS RESETS YOUR SETTINGS) and you should be able to login to KDE once again without problems.
 
Old 01-20-2005, 11:26 PM   #3
lottoman7210
LQ Newbie
 
Registered: Jan 2005
Location: Redlands, CA
Posts: 2

Rep: Reputation: 0
Unhappy

My SUSE 9.2 install is doing the same da*n thing, after a single reboot I am unable to login using the home account. Attempting to login simply loops me around through a dark screen and back to the login prompt. I AM able to login as root to KDE. I disabled the NVIDIA driver and deleted the .kde folder in the home directory, to no avail! HELP!
 
Old 01-21-2005, 07:05 AM   #4
gabigrigore
LQ Newbie
 
Registered: May 2003
Location: Iasi, Romania
Distribution: Linux Mint Julia
Posts: 19

Rep: Reputation: 0
It's common for Suse and it happened to me everytime I installed this distro. After some reboots you cannot login as user, but you can as root. After few other reboots this doesn't work either. The solution is simple: if you are still able to login as root, do it, and then just delete the .xinitrc file from your /home directory (it's 0 bytes and you can see it by selecting View-> Show hidden files in your Konqueror browser). Another solution would be to replace the 0 bytes .xinitrc file from your home directory with the xinitrc file from root/x... etc. directory. Just be careful when copying that file to rename it by adding the dot"." in front of it so it becomes .xinitrc . I personally didn't find any differences between the two methods so I used the first one, since it's simpler. And also, if you cannot login as root either use login as failsafe and do the same.
Hope that helped

Last edited by gabigrigore; 01-21-2005 at 07:09 AM.
 
Old 01-21-2005, 12:33 PM   #5
energiza
Member
 
Registered: Oct 2004
Location: Queretaro Mexico
Distribution: SUSE 10.2
Posts: 51

Original Poster
Rep: Reputation: 15
Hi Guys:

Thanks for the last suggestion of the .xinitrc directory. Last time this happened to me I tried the former suggestion of deleting the .kde in the user's directory but it did not work, so I did the long method of coping the data to some other place, then delete the account deleting the user's dir, create the account again, re-creating user's dir, log in with the newly re-created account and copy the data (all mail info, mozila configuration, etc.). This part of copying the data has to be done as root and then chown the data copied to the corresponding user, because some files might have 600 or 700 permissions, with root or ANOTHER owner, so only root/owner could read it. You can test this situation just for fun, trying to copy your data info "as yourself" (not root) to some other place and check for "cp" (copy) warnings.

This problem of not being able to log it could happen to any user including root, so better to keep the root account only for emergencies and even better if you can have an additional user account for emergencies, just to log in and manage the situation.

Also consider that you can run or launch any program like konqueror "as root" even if you logged in as any other user, which is helpful to move data without restrictions *BUT* any file copied in this manner will also change ownership to root in the destination file(s), which needs an extra step to "chown" all those files to the correct user.

Next time I will use the .xinitrc delete method which will certainly save me from all that -relatively- long process, though the research is always healthy.

Regards
 
Old 01-22-2005, 04:00 AM   #6
lottoman7210
LQ Newbie
 
Registered: Jan 2005
Location: Redlands, CA
Posts: 2

Rep: Reputation: 0
Thumbs up

THANK YOU! This did the trick finally! I wonder how often I will need 2 repeat it? Will installing the NVIDIA driver cause worse problems that this trick might not be able to solve?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
suse 8.0 login manager reboot tkmbe SUSE / openSUSE 5 11-24-2005 05:43 PM
Can't complete login to KDE after hard reboot cep21 Linux - General 1 07-01-2005 09:56 AM
No login window after upgrade & reboot. respin4 Red Hat 4 05-23-2005 10:14 PM
Disable remote login shutdown/reboot student04 Linux - Security 1 03-06-2005 08:29 PM
How to reboot from graphical login? jlangelier Slackware 3 06-23-2003 10:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 02:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration