Long story short, we lost power last night and now when I try to boot my CentOS5 box, I get a error saying "Your session has ended in less then 10 seconds, if you didn't do it then your install my be corrupt etc".
I can log in using the other session options, I can even log in via ssh from another machine with and get full root, I'm just not sure how to fix the problem. Inside of ~.xsession-errors I have:
/etc/gdm/PreSession/Default: Registering your session with utmp
/etc/gdm/PreSession/Default: running: /usr/bin/sessreg -a -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0" "analog"
localuser:analog being added to access control list
No profile for user 'analog' found
gnome-session: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory
I suspect there are 2 issues? The profile and the libs? I'm not sure about the libraries though, I've never had a problem logging in before and that doesn't seem related to power loss, maybe it was already there and just didn't cause any issues? I honestly don't know.
Any advise would be much appreciated!
General support questions including new installations
4 posts • Page 1 of 1
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
Your post is very unclear. What is your default login session and what are "the other session options"? Have you tried logging in as another user? Try starting in runlevel 3 and doing startx as root. If the latter two work you may need to remove corrupted configuration or status files in your account.
show? I see
Code: Select all
Code: Select all
# locate libasound.so.2
# rpm -qf /lib/libasound.so.2
# rpm -qf /lib64/libasound.so.2
# rpm -V alsa-lib