Because of a low-graphics error I am not able to log into my system any more, or at least I am not seeing any graphical interface (solutions here How to fix "The system is running in low-graphics mode" error? have been tried).
df -h
revealed that my /dev/sda6 partition is full:
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 7.4G 6.6G 398M 95% /
udev 1.9G 4.0K 1.9G 1% /dev
tmpfs 762M 424K 762M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1.9G 0 1.9G 0% /run/shm
overflow 1.0M 4.0K 1020K 1% /tmp
/dev/sda7 449G 266G 161G 63% /home
/dev/sda1 447M 115M 308M 28% /boot
and
sudo du -kxa / | sort -nr | head
leads to the output
sort: write failed: /tmp/sortXXXXXX (X = any number or letter):
No space left on device
Therefore my question, how do I clean this /tmp/sortXXXXXX
folder or directory with terminal commands and how do I set permission flags for that folder or directory to the standard value? I assume I messed up this permissions and now every process is writing to tmp
.
df -h
output.