Can't login as non-root user in SUSE 9.0 Professional
Help! My Linux box was working properly last night, but today I am unable to login as the default user. The symptoms are: I have set up my machine to not show the login dialogue, and instead go directly to KDE (I know, bad security practise, but this is the only PC in the house, used only by myself and it's not connected to anything but a dial-up Internet service). I shut down the machine normally last night, but upon booting up this morning, it presented me with the login screen. A bit puzzled, I attempted to login as the default user, but upon hitting "Go!" the screen blinked, then spat me back onto the login screen! I attempted to login as the default user in Failsafe mode, and was successful, but was unable to find anything overtly wrong. I logged in as the root user, and KDE launched successfully. I created a dummy user and was able to login normally. I then logged back in as root, deleted both the dummy and existing default account (deleting their home directories), then created a new default user with the same name and UID. I was able to login normally and go online... then the sound driver failed and I had to reboot to get it working again. After the boot splash screen, I was presented with the login dialogue... and was unable to login as the default user again! Can somebody help me fix this? I hate having to backup my files and reconfigure... and worst of all, I'm typing this with Window$ and it really chafes!! :(
On Sunday 08 February 2004 14:07 pm, Carlos Sia wrote:
Help! My Linux box was working properly last night, but today I am unable to login as the default user. The symptoms are:
<SNIP> Firstly - make sure you go back to only having ONE user per UID. You can try deleting all the files and directories in /tmp which contain the relevant user name, and the files in the user's home directory begining .DCOP along with the .mcop folder. If that fails, the rename the .kde directory in the user's home directory (kde will recreate a default one, but you can copy files back one at a time.) HTH Dylan -- "They that can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety." -Benjamin Franklin
Carlos Sia wrote:
Help! My Linux box was working properly last night, but today I am unable to login as the default user. The symptoms are:
I have set up my machine to not show the login dialogue, and instead go directly to KDE (I know, bad security practise, but this is the only PC in the house, used only by myself and it's not connected to anything but a dial-up Internet service).
I shut down the machine normally last night, but upon booting up this morning, it presented me with the login screen. A bit puzzled, I attempted to login as the default user, but upon hitting "Go!" the screen blinked, then spat me back onto the login screen!
I attempted to login as the default user in Failsafe mode, and was successful, but was unable to find anything overtly wrong. I logged in as the root user, and KDE launched successfully. I created a dummy user and was able to login normally. I then logged back in as root, deleted both the dummy and existing default account (deleting their home directories), then created a new default user with the same name and UID. I was able to login normally and go online... then the sound driver failed and I had to reboot to get it working again. After the boot splash screen, I was presented with the login dialogue... and was unable to login as the default user again!
Can somebody help me fix this? I hate having to backup my files and reconfigure... and worst of all, I'm typing this with Window$ and it really chafes!! :(
I don't know if this is the same problem, but over a number of SuSE versions, I think in 8.0 and 8.2 I had this happen. I finally traced it in 8.2 by looking in /var/log/messages and finding Permission Denied and traced it to directories and files in /usr/X11R6 having only root read/execute permissions, like drwx------, this happened after an X crash with the nvidia driver. Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer Linux Only Shop.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, 8 Feb 2004 22:07:03 +0800
"Carlos Sia"
Help! My Linux box was working properly last night, but today I am unable to login as the default user. Let's get the GUI out of the picture for now. First, go to a virtual terminal (eg. ctrl-alt-f1). At the login prompt, enter your user name and password. If that is successful then your problem will be with KDE.
Now, using sudo or su, transition to multi-user mode (run level 3), for
example:
gaf@gaf:~> sudo /sbin/init 3
This will stop KDE.
Then in your home directory rm .DCOPserver*
In your .kde directory, remove the links to /tmp/ksocket_xxx
I would then clean out the entire /tmp directory. Many applications put
junk into the /tmp directory and you can set your system to
automatically clean it up, but this time, let's just do it.
Once you have cleaned this up, then try to bring up kde by hand using
the startx command. If that is successful, log out of KDE, and
transition back to run level 5:
gaf@gaf:~> sudo /sbin/init 5
This is obviuously a broad brush. I think that Sid's solution is
relevant also, but I have not experienced an NVIDIA crash.
- --
Jerry Feldman
participants (4)
-
Carlos Sia
-
Dylan
-
Jerry Feldman
-
Sid Boyce