unable to login to GUI mode
Hi all,
OS: openSUSE 10.3 (X86-64) I am unable to login to GUI (eventhough run-level is 5) and every time i boot up the system it goes directly to command line (run-level3). This is used to login to GUI earlier. Not sure now what happend. I see following messages when system is booting up. Code:
Master Resource Control: Running /etc/init.d/after.local Code:
startx Code:
# egrep "EE|WW" /var/log/Xorg.0.log |
It's a wild guess, but check if your system is not full (especially /tmp)
df -h |
Hi sycamorex,
No, the system is NOT full. /tmp is under / Code:
# df -h Code:
/tmp # du -sh |
What's the output of :
Code:
ls -al /tmp | grep .X0-lock |
Hi sycamorex,
I logged in as root Code:
# ls -al /tmp/ |grep .X0-lock |
Found somewhere that running fsck from a live cd should solve this problem.
Try it and see what happens. |
ok, try deleting the /tmp/.X0-lock file. e.g.
Quote:
If you get an error about a stale NFS handle (which I've read can happen) you'll want to force an fsck on the filesystem /tmp is located on. Quote:
Quote:
Once you manage to delete the file try rebooting Quote:
Quote:
|
Hi sycamorex,
Do i need to login via live CD to fsck ? If so, where can i find to download ISO to make it ? Hi paladin.michael, Code:
# rm /tmp/.X0-lock Code:
# lsof /tmp/.X0-lock |
Quote:
If not, this live cd works is quite good for all sorts of troubleshooting. http://partedmagic.com/doku.php?id=downloads Alternatively, if you've got any other linux installed on that computer you could do it from there. The key thing is that the file system mustn't be mounted when you run fsck on it. |
Hi sycamorex,
Is this download free of cost ? |
Quote:
|
Ok i have the live CD now.
Could anybody please provide steps for fsck with live CD ? Thanks in advance! |
Quote:
Once it's loaded, open a terminal. As root, issue the fsck command that Paladin posted before (that's assuming that the partition in question is /dev/sda2 - that's where your suse system is installed, isn't it?) If something is unclear, do not hesitate to ask for clarification. Better safe than sorry:) |
Hi sycamorex,
Thanks for introducing a great tool (PartedMagic) to me!!!. Ok...i logged into shell with Live CD and did fsck on /dev/sda2 and it is clean! Then i treid to remove "/tmp/.X0-lock" by mounting "/" on /mnt but surprisingly i couldn't find it there ??? And with Live CD ...GUI is working fine ...it directly booted to GUI mode !!!!! so what could be the problem here ???? |
Upgrading to OpenSuSE 11.4 might fix some problems
Quote:
|
All times are GMT -5. The time now is 06:15 AM. |