Odd login-crash for Normal User
I recently experienced something rather odd when logged into my Slackware Current system, I had just used slapt-get to upgrade slapt-get (I don't think this is causing the issue because only slapt-get was upgraded) but when I tried to run firefox it gave me some weird error along the lines of: item /applications/firefox-1.0/firefox is corrupt. Also when I clicked on the K menu in KDE it gave a weird error about XML. I can't post the exact errors because I rebooted to try and see if that would fix the issue, but nothing happened... I can't login: this is the error I get
Code:
Welcome to Linux 2.6.9 (tty1) |
From your "screenshot" I can see you are logged but for some reason bash don't want to
source /etc/profile, weird... could you post ls -l /etc/profile |
logging in as root works fine and startx (kde) work great as root. (that's what I am logged in as right now) ls -l /etc/profile as root lists:
Code:
root@SlackTop:~# ls -l /etc/profile |
No it's good.
So when you say "I can't loggin" you mean "I can't login into X server as regular user", right ? Does the problem appears with other window managers, eg before startx, do : xwmconfig, choose a wm, then startx |
no I can't login as that user at all, I normally stat ar runlevel:4 with graphical login, if I try and login there nothing happens, the login screen just reappears. when I use runlevel 3 to login I get the error above.
|
I would login as root, then check if all is correct in /etc/passwd for the user, then I would
check the permissions for his home directory in /home (with ls -l) and eventually : chmod -R user:users /home/user (of course where user is the username, users is the user default group) |
still no ideas, deleted user account, re-added... nothing, everythig seems right in /etc/profile
|
And his home directory in /home ? Do you use useradd or adduser to add an user ?
|
user add. deleted /home/user directory. also added new account and smae thing happens, only functioning account is root I'm guessing a problem with bash
edit: tried using zsh shell as well, nothing happened. |
still no other ideas? I might migrate my laptop to Arch Linux to try it out, or use the Slack 10.1 cd's to redo my install after backing up my data and all that fun stuff. I don't really want to have to do that... but oh well.
|
Just an idea, what happen when you create an user, then telinit 3, then login as this user, then type this command : startx
|
Code:
Welcome to linux 2.6.9 (tty1) or if I add a new user: Code:
Welcome to linux 2.6.9 (tty1) |
Try create a user with useradd, not adduser (it will create the home directory)
Then when you have : bash-3.00$ try: source /etc/profile then: startx |
if you note the txt above, I did use 'useradd'
|
All times are GMT -5. The time now is 01:33 AM. |