LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 02-27-2013, 11:27 PM   #1
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Rep: Reputation: 285Reputation: 285Reputation: 285
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.

Last edited by shivaa; 02-27-2013 at 11:28 PM. Reason: Code tag added
 
Old 02-27-2013, 11:33 PM   #2
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,591

Rep: Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244
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.
 
1 members found this post helpful.
Old 02-28-2013, 01:24 AM   #3
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Original Poster
Rep: Reputation: 285Reputation: 285Reputation: 285
Thanks evo2.
I will read and analyze the logs and post the same if I will feel helpless.
Regards, Shivaa
 
Old 02-28-2013, 10:25 AM   #4
goumba
Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Wheezy (7.0), Jessie (future 8) and Sid (unstable)
Posts: 572
Blog Entries: 3

Rep: Reputation: 78
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.
 
Old 02-28-2013, 03:35 PM   #5
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,348

Rep: Reputation: 400Reputation: 400Reputation: 400Reputation: 400Reputation: 400
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?
 
Old 02-28-2013, 08:34 PM   #6
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Original Poster
Rep: Reputation: 285Reputation: 285Reputation: 285
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.
 
Old 02-28-2013, 09:04 PM   #7
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,591

Rep: Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244
Hi,

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

Evo2.
 
Old 03-01-2013, 07:52 AM   #8
goumba
Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Wheezy (7.0), Jessie (future 8) and Sid (unstable)
Posts: 572
Blog Entries: 3

Rep: Reputation: 78
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.
 
Old 03-01-2013, 08:16 AM   #9
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Original Poster
Rep: Reputation: 285Reputation: 285Reputation: 285
Quote:
Originally Posted by goumba View Post
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!!
 
  


Reply

Tags
console, debian, prompt, squeeze, stuck


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian 6 Desktop wont load - xfce Gam3r21 Debian 4 03-23-2011 09:50 PM
terminal prompt different from console prompt dh2k Slackware 5 03-29-2010 05:38 PM
stuck at the localhost prompt geoff3 Mandriva 7 01-30-2007 11:43 AM
Stuck on Command Prompt hkhiroya Debian 9 03-16-2006 01:21 PM
I'm stuck at a command prompt logiplex Linux - Software 2 09-08-2004 07:02 PM


All times are GMT -5. The time now is 03:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration