Localhost is the machine your on, or 127.0.0.1. If you do CTRL+ALT+F1, you'll get a terminal. You can log in as root, and read '/var/log/syslog', try 'dmesg | less', read '/var/log/Xorg.0.log' using nano, and you should be able to figure it out. It is probably that 'kded' dies, so if you clear '/tmp', 'ls /tmp | xargs rm -rf', then 'ps aux | grep 'X'', and kill <pid>(the number in front of the listing returned by ps aux | grep 'X') Then 'ps aux | grep 'gdm'' or 'kdm', and kill those too. Now, type 'gdm', or 'kdm', and X should fire up. And don't just turn off the machine in the middle of an X session, repeatedly. You can always get a terminal, and type 'reboot' if X freezes. Be warned, linux can take several minutes to unfreeze, which seems like an eternity, and now you know how to kill a process, so if anything freezes, do 'ps aux | less', look for the process, and quit 'less' with 'q', and type 'kill <pid>'.
|