Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Well, today i started my ubuntu 12.04 laptop but it doesn't load!!!! It ends up in a black screen(terminal) with my user name asking for my user and password i press startx and it says the program 'startx' is currently not installed!!!!!! i tried a couple of times more and it showed ' could not write bytes broken pipe' instead of the login terminal. Anyone can help?? why is that happening?

ps. ubuntu was loading on minimum brightness so i followed this Screen brightness reset to minimum after every reboot instruction from answer 2 which means i made a custom file customsetbootbrightness.conf to fix it, has that anything to do with it?

ps.2 i have intel hd graphics

share|improve this question
what happens when you login to your console and type sudo dpkg-reconfigure xserver-xorg and then sudo /etc/init.d/lightdm start? –  JohnnyEnglish Mar 3 '14 at 12:36
well i tried again and it only shows 'could not write bytes broken pipe' so i couldnt type anything so i am re-installing now. any idea if the custom boot brightness was wrong so that i avoid it now? thanks for the suggestion anyways –  user254028 Mar 3 '14 at 12:47
broken pipe it's a bug, what do you mean you couldn't type anything? you should've logged in to your console and do it from there using your login and passwd –  JohnnyEnglish Mar 3 '14 at 12:50
or when booting press and hold SHIFT enter recovery mode and then start failsafe mode and then continue booting to console –  JohnnyEnglish Mar 3 '14 at 12:51
it was freezing on the 'broken pipe' message. i didn't know that with SHIFT you can enter recovery mode. do you think that creating the customsetbootbrightness.conf in /etc/init might have caused the failure to boot? oh and it used to show sometimes the "The disk drive for /tmp is not ready yet or not present. Continue to wait, press S to skip mounting or M for manual recovery" message but i never looked into it because it didnt cause any problems. do you think these are related? –  user254028 Mar 3 '14 at 13:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.