LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-17-2016, 02:26 PM   #1
lgtrean
Member
 
Registered: Jan 2006
Location: Montana
Distribution: Debian and CentOS
Posts: 37

Rep: Reputation: 18
worked fine - booted to LXDE - now only boots to command line


Hello,

My desktop was working fine during the past year. But, I had to move my desktop to another room.

When I moved it back to my desk and booted up it only booted to the command line. I can logon but no longer start the LXDE desktop I had been using. I ran startx but it failed.

It is Debian 8.5 (Jessie). And, software RAID

Would you please list some troubleshooting steps I may take?

Thank you.
 
Old 09-17-2016, 06:12 PM   #2
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 8 Jessie
Posts: 1,688
Blog Entries: 5

Rep: Reputation: 163Reputation: 163
First thing I would check is to see whether or not the / partition is mounted read only. If it's read only, then I think startx will fail but it will otherwise be able to boot up.

A simple way to check is to log in and attempt to copy or rename a file.
 
1 members found this post helpful.
Old 09-17-2016, 11:33 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,371
Blog Entries: 6

Rep: Reputation: Disabled
If necessary you could re-install the LXDE-
https://wiki.debian.org/LXDE

Is your EXT 3 or 4 partition bootable?
 
Old 09-18-2016, 05:06 AM   #4
ondoho
Senior Member
 
Registered: Dec 2013
Posts: 4,159

Rep: Reputation: 822Reputation: 822Reputation: 822Reputation: 822Reputation: 822Reputation: 822Reputation: 822
Quote:
Originally Posted by lgtrean View Post
I had to move my desktop to another room.
When I moved it back to my desk and booted up it only booted to the command line.
sorry for stating the obvious, but if this is exactly how it went down (and no software updates or anything else in between) it can only be a hardware issue, no?
cables disconnected, sth like that?
or what are you not telling us?
 
Old 09-18-2016, 09:04 AM   #5
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 8 Jessie
Posts: 1,688
Blog Entries: 5

Rep: Reputation: 163Reputation: 163
To expand on my earlier thought - by default, Debian specifies to try and mount the root partition as read-only if errors prevent it from mounting read-write. This will then get as far as trying to start X, but it will fail at that point and give you just a command line login. In other words, the symptoms are consistent with what has been described.

What sort of errors? Could be anything, really, but since RAID was mentioned, perhaps one or more of the RAID volumes has a problem. Impossible to say without further investigation.
 
1 members found this post helpful.
Old 09-19-2016, 01:09 PM   #6
lgtrean
Member
 
Registered: Jan 2006
Location: Montana
Distribution: Debian and CentOS
Posts: 37

Original Poster
Rep: Reputation: 18
Thank you for your responses. I will update the commands I used a bit later as I'm away from the PC but after running a few commands to look at logs, and not doing anything such as installing or removing software, it began working again. I did nothing but look at the logs. And, prior to looking at the logs startx didn't work (there was an error EE indicated - and that is what I was looking for in the logs). But, in the end, I didn't make any changes to hardware or the software and it ended up working.
 
Old 09-21-2016, 01:18 AM   #7
mrmazda
Member
 
Registered: Aug 2016
Location: USA
Distribution: several
Posts: 93

Rep: Reputation: Disabled
Sounds a bit like to move it to another room, it was powered down by pulling the plug instead of a normal clean shutdown, resulting in a critical partition that needs a fairly lengthy fsck before being able to mount RW. After some uptime, the automatic fsck finished, resulting in normal operation from either that point, or from a reboot somewhere along the way between the first boot after the physical move and the follow-up post here from the OP.
 
  


Reply


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
I booted puppy from usb, now I cant go back to mint. Everytime I try to boot it it goes to a command line (no GUI) Ajwad Linux - Laptop and Netbook 9 03-04-2016 09:28 PM
Fedora 9 boots (long delay) as single core if I go to GRUB menu, otherwise boots fine saravkrish Fedora 1 05-27-2008 08:59 AM
Boots to command line only? AndeAnderson Mandriva 25 04-21-2007 11:58 PM
Mandriva boots up to command line ricemark20 Mandriva 4 07-16-2006 01:10 AM
MDK 10.0 now boots to a command line ZaZu Linux - Networking 2 09-01-2004 04:26 AM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration