1

I am suddenly not able to log into my Debian 8.5 system via the Desktop. I can still log in when I am in the TTY.

I was using Gnome, now when I enter my password the page goes black shortly and then I get back to the login page, without any messages or warnings.

I was actually trying to install the allegro5 library. At some point when I hit the TAB key for autocompletion of commands I got this warning:

bash: cannot temp file for here-document: No space left on device.
I also get this error when I hit TAB in TTY for command-completion.

What should I do? Can any one help?

  • This is just a little bit vague and requires us to be psychic. Did you recently make any changes to the system? If you switch to tty are you still able to log in there? If so do any of the log files say anything interesting? – Bratchley Aug 4 '16 at 7:37
  • I can log in when i am in the TTY. I was actually trying to install the allegro5 library, as of some point when i hitted the TAB key for autocompletion of commands i got this warning: bash: cannot temp file for here-document: No space left on device. I also get this error when i hit TAB in TTY for command-completion – amirt Aug 4 '16 at 7:58
1

Try df -h

Probably you have no space left.

If you can`t login in any way, try single user from the first step of boot.

Debian-boot-to-single-user-mode And then clear some space or eventually add some more.

  • What can i do with the output of df -h command? – amirt Aug 4 '16 at 8:24
  • See if is about space. – Florin Idita Aug 4 '16 at 8:25
  • if the OP has the error "no space left..." of course it is about space. – Rui F Ribeiro Aug 4 '16 at 8:39
  • How can i free space? And which space is critical to be freed? – amirt Aug 4 '16 at 9:12
  • You will have to free space where is 100% First search what occupy the most of the space <code> find /path -xdev -size +100M -exec ls -lah {} \; </code> Don't know exactly what you have there.. .you have to figure out by yourself what you don't need. If you don't have what to delete, you will have to add more space. add a disk or extend if you already have. – Florin Idita Aug 4 '16 at 10:29
0

You have no space left on /tmp or / (root) partitions. Just clean it up.

  • Or if the $HOME partition is separate then that might be full – Stephen Harris Aug 4 '16 at 19:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.