LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Debian stuck at console prompt, not able to load desktop (https://www.linuxquestions.org/questions/debian-26/debian-stuck-at-console-prompt-not-able-to-load-desktop-4175452003/)

shivaa 02-27-2013 10:27 PM

Debian stuck at console prompt, not able to load desktop
 
Hello friends,

Yesterday I installed debian 6.0 on my second dell laptop as a single OS, with CD-1. Installation run fine and everything was working smoothly. But this morning, when I started my PC, it all the time gets stuck at console login prompt (i.e. single user mode), and not loading GUI desktop at all.
Code:

.........
.........
user@debian~$
user@debian~$
user@debian~$
.........
.........

I don't know what to do now? Why it's stuck and how to load GUI desktop?

I will appreciate any help / suggestions.

TIA.

evo2 02-27-2013 10:33 PM

Hi,

I think it isn't in single user mode, it looks more like X failed to start. Have a look in the log file to try to find out whey. Eg
Code:

less /var/log/Xorg.0.log
It may also worth checking if your package manager is in a sane state. Eg
Code:

dpkg --audit
Evo2.

shivaa 02-28-2013 12:24 AM

Thanks evo2.
I will read and analyze the logs and post the same if I will feel helpless.
Regards, Shivaa

goumba 02-28-2013 09:25 AM

Certainly not single user mode, as you'd have been prompted for a password or Ctrl-D, and it would be ust the root hash prompt. It's been a while since I used squeeze, but I seem to remember if X failed to start, it would pop up an ncurses based dialog and offer to try again or view the X log, then again I could be mistaken.

widget 02-28-2013 02:35 PM

It would be good to know what you did to get to singel user mode (recovery mode).

Would also be good to know why you were going to recovery mode.

As goumba points out that is a user prompt ($). Recovery mode would be a root prompt (#).

Did you try the command;
Code:

su
at the user prompt?

Assuming you installed with a root password that should ask you for your root password.

Did you get a gui log in page when you tried the install the first time?

You must have had to log in as user when you got the user prompt. Did you try;
Code:

startx
?

If so what was the responce?

shivaa 02-28-2013 07:34 PM

I solved it out. Actually during installation I had choosen option to set it as a mail server, so during reboot it wasn't able to load mail services and got stuck at MTA and prompting for console login.

In the meantime, a re-installation solved the pb.

Thanks everyone for your good time and efforts.

evo2 02-28-2013 08:04 PM

Hi,

glad you got it working, pity you used a sledge hammer.

Evo2.

goumba 03-01-2013 06:52 AM

I agree, glad you got it to work, unfortunate that you had to take the Windows route of solving the problem (i.e. reinstall).

Something sounds fishy however. I have had the MTA fail and it didn't drop me to a console login for such. It would still start X, although it would take longer to do so.

shivaa 03-01-2013 07:16 AM

Quote:

Originally Posted by goumba (Post 4902364)
I agree, glad you got it to work, unfortunate that you had to take the Windows route of solving the problem (i.e. reinstall).

Something sounds fishy however. I have had the MTA fail and it didn't drop me to a console login for such. It would still start X, although it would take longer to do so.

Yes, I think you're right, perhaps it was not stuck but was taking long time in starting mails services.

Many thanks to you guys! Cheers!!


All times are GMT -5. The time now is 11:39 PM.