You are not logged in.
Pages: 1
I can't log in locally. After logging in, it flashes back to the login prompt. If given a wrong password, it will pause for a couple seconds then give the standard "Login incorrect" response.
/etc/inittab: http://pastie.org/3737435
auth.log:
Apr 6 03:09:01 archserver /usr/sbin/crond[1122]: pam_unix(crond:session): session opened for user root by (uid=0)
Apr 6 03:09:01 archserver /USR/SBIN/CROND[1122]: pam_unix(crond:session): session closed for user rootLast edited by freebullets (2012-04-18 19:40:05)
Offline
Try commenting out "x:5:respawn:/usr/bin/xdm -nodaemon" like so:
...
# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >/dev/null 2>&1
...I personally don't use a login manager but according to the XDM wiki, the ~/.xsession file needs to be executable.
$ chmod 744 .xsessionThere's also this: https://wiki.archlinux.org/index.php/XD … fter_login
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Try commenting out "x:5:respawn:/usr/bin/xdm -nodaemon" like so:
... # Example lines for starting a login manager #x:5:respawn:/usr/bin/xdm -nodaemon #x:5:respawn:/usr/sbin/gdm -nodaemon #x:5:respawn:/usr/bin/kdm -nodaemon #x:5:respawn:/usr/bin/slim >/dev/null 2>&1 ...I personally don't use a login manager but according to the XDM wiki, the ~/.xsession file needs to be executable.
$ chmod 744 .xsessionThere's also this: https://wiki.archlinux.org/index.php/XD … fter_login
Sorry, I don't use XDM. inittab comes like that by default. The server's always in runlevel 3.
Offline
It would be helpful to know which shell you use, if it automatically starts X and if so how you start X.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Are you trying to log in as root as n X session?
How are you doing that?
May I respectfully suggest that running an X session as root is not the best practice?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
It would be helpful to know which shell you use, if it automatically starts X and if so how you start X.
Are you trying to log in as root as n X session?
How are you doing that?
May I respectfully suggest that running an X session as root is not the best practice?
Sorry for any confusion. I'm not running X at all. I don't even have it installed. It's running the terminal only (runlevel 3).
Offline
You can't even log in as root? If it were me, I would probably add another user, reboot, and then see if I still can't get in. Which is actually not a bad idea... Did you try that? Either use the "interactive mode" or you can run:
# useradd -m -g users -G audio,lp,optical,storage,video,wheel,games,power,scanner -s /bin/bash new_user_nameWait. You can only log in remotely? Via SSH?
Check /etc/shadow for a "!" in "root:!:12345...". Because that means the account is locked.
Last edited by DSpider (2012-04-17 11:15:24)
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
You can't even log in as root? If it were me, I would probably add another user, reboot, and then see if I still can't get in. Which is actually not a bad idea... Did you try that? Either use the "interactive mode" or you can run:
# useradd -m -g users -G audio,lp,optical,storage,video,wheel,games,power,scanner -s /bin/bash new_user_nameWait. You can only log in remotely? Via SSH?
Check /etc/shadow for a "!" in "root:!:12345...". Because that means the account is locked.
Tried adding a new user, and it did the same thing. Both the root and user accounts aren't disabled.
Offline
So I wanted to reboot it to see if that would fix it, so I made sure network and ssh were enabled in rc.conf. They were, so I went ahead and rebooted. It came back up, but it's not even responding to pings. I'm seriously considering just reinstalling.
Edit: I restarted couple times and it magically started working again.
Edit 2: Single-user mode works.
Edit 3: I reinstalled. Problem "fixed."
Last edited by freebullets (2012-04-20 07:41:58)
Offline
Pages: 1