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.

Last time I installed lm-sensor (a package to know CPU Temperature) and restarted my system.

    $ sudo apt-get install lm-sensors 

    $ sudo sensors-detect

    $ sudo service module-init-tools start

    $ sensors

Since it did not work for me so I thought to restart my system. Then OMG! It started opening in a black screen after 'Ubuntu Splash Screen' on every restart. Sometime I got the message on top of the screen:

    Could not write bytes: Broken pipe

Non of keys were working except CTRL+ALT+DEL which restarts the system. Neither CTRL+ALT+F1 to CTRL+ALT+F10 keys were working so that I could go to command line interface.

Only option remaing was to restart my system in Safe Mode. I restarted my system in safe mode and installed GDM (a display manager like lightdm) and configured it:

    First change the read only mode to read/write mode by simple using Fix Broken Packages 
    options listed there and then loged in as Root, then:
    # apt-get install gdm
    # dpkg-reconfigure lightdm

    then selected gdm from the list, and restarted my system.
    # reboot

This time a login screen appeared successfully and I was able to login to my system. GDM display manager is good but I want to use lightdm since gdm doesn't allow me to log in automatically although I tried to change automatically login option from 'All Settings -> User Accounts'.

Please suggest me how can I fix this problem so that I can use lightdm. Any help will be greatly appreciated.

share|improve this question
    
Have you checked this answer: askubuntu.com/a/162078/147044? –  Radu Rădeanu Aug 31 '13 at 7:33
    
No, not yet. Thanks for this link.. I searched a lot for my solution, did not get such a link that time. :) I will check it out and report soon.. –  Saurav Kumar Aug 31 '13 at 7:40

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.