Hey,
I'm having a bit of a problem with X. About half an hour ago, I was browsing the web, commenting on an article somewhere, when all of a sudden, X crashed for no reason.
I shutdown and then rebooted, and then the boot freezes at the "Multiuser GUI" step, at rc.X. If it helps, here are it's contents, sans comments.
Quote:
#! /bin/sh
DISPLAY_MANAGER=KDM
. /etc/rc.d/rc.bootsplash
KDM_CMD=/usr/bin/kdm
GDM_CMD=/usr/bin/gdm
WDM_CMD=/usr/bin/wdm
XDM_CMD=/usr/bin/xdm
echo
echoc "rc.X ==> Going to multiuser GUI mode ..." yellow
/etc/rc.d/rc.text 20 'Going to multiuser GUI mode ...'
progressbar 100
case $PREVLEVEL in
2|3) PLEVEL=$PREVLEVEL
;;
*)
# exit and clean the tty1, Thanks to johnb for mentioning it.
killall -s HUP mingetty
PLEVEL=2
esac
sleep 3
BOOTX=bootx.log
TEST=`find /var/log/ -cmin -1 -name $BOOTX`
if [ "$TEST" ]; then
echoc "WARNING: Recent X-Window was respawned too short." red
echo "Please make sure that the X-Window is allright,"
echo "then try 'init $RUNLEVEL' again after 1 minute."
echo
echoc "Canceling GUI login mode" red
rm -f $TEST
/sbin/telinit $PLEVEL
exit 1
fi
touch /var/log/BOOTX
echo "LAST_X=`date`" > /var/log/$BOOTX
for DM in $DISPLAY_MANAGER KDM GDM WDM XDM NONE; do
case $DM in
KDM)
if [ -x $KDM_CMD ]; then
#echo KDE Display Manager
exec $KDM_CMD -nodaemon
exit
fi
;;
GDM)
if [ -x $GDM_CMD ]; then
#echo GNOME Display Manager
exec $GDM_CMD -nodaemon
exit
fi
;;
WDM)
if [ -x $WDM_CMD ]; then
#echo WING Display Manager
buildsessions WDM &> /dev/null
exec $WDM_CMD -nodaemon > /dev/null
exit
fi
;;
XDM)
if [ -x $XDM_CMD ]; then
#echo XFree86 Display Manager
exec $XDM_CMD -nodaemon
exit
fi
;;
NONE)
# error
echo
echo "Hey, you don't have KDM, GDM, WDM, or XDM."
echo "Can't use GUI mode without one of them installed, mate."
sleep 30
break
;;
esac
done
echoc "Canceling GUI login mode" red
/sbin/telinit $PLEVEL
|
After looking at that, I saw nothing particularly suspicious, and then simply rebooted into my Ubuntu partition and came here.
If a virus is suspect, I had no firewall running at the time, if that helps. I have no particularly useful stuff on there anyway, and backed up my home folder to my USB device a couple minutes ago, so if I need a re-install because of a virus or some fatal system fault, I can't say I'd mind.
EDIT---------------------------------------------------------
I am currently in Links, and I ended up finding out that the startup routine attempts to run X twice, because I ALWAYS recieve a timeout error, no matter how far I sleep it in the rc.X file.
Also, I have read acess to that HDD under my login, so any other needed info, I can get.
EDIT2--------------------------------------------------------
As I have not been getting any replies, I've scrapped Vector and revamped my Ubuntu Karmic install. So, consider the thread dead.