32.8 C
Tuesday, June 25, 2024
HomeLinuxUbuntu - xsession-errors is huge in size

Ubuntu – xsession-errors is huge in size

Ubuntu – xsession-errors is huge in size


I – Graphics mode won’t work
II – Can’t install any other software as there is no space left (space used by xsession-errors file)


Steps to follow
Open Terminal then from root prompt
Type – ls -alh (It will show up directory contents in human readable format)

rm .xsession-errors (this command will delete xsession-errors file)
touch .xsession-errors (Recreate an empty file)
sudo chattr -i .xsession-errors (Set the immutable attribute, which make the file protected against writing and deleting)

sudo shutdoen -r now (To reboot the machine)

You may also like: Install and configure Jasper Report Server on Ubuntu Server

Durga Charan Ojhahttps://lifeonnetwork.com/
I am a proud Indian, proud father, a blogger, Being in a profession as System administrator, my passion is troubleshooting computer issues, I do like sharing solutions through blogging making videos of solving issues.


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular