Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

When I update the system, and reboot the machine, it stopped at:

"could not write bytes:broken pipe".

I could not login into the system through the lightdm, but when I change to the gdm, it works. If I use Ctrl+Alt+F1, and input sudo lightdm, it works too.

Then I write /usr/sbin/lightdm into the .bashrc file, but the message displayed again.

Is there somebody having the same problem´╝č

share|improve this question
Could you post the contents of /etc/X11/default-display-manager? –  terdon Jun 8 '13 at 17:30
Post the messages from /var/log/syslog from startup. What did you configure about lightdm? Running lightdm from .bashrc makes absolutely no sense, lightdm runs as root to let you log in, you can't run it from your account. –  Gilles Jun 11 '13 at 0:46

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.