Ubuntu – xsession-errors is huge in size

Ubuntu – xsession-errors is huge in size Problems¬† I – Graphics mode won’t work II – Can’t install any other software as there is no space left (space used...

Ubuntu – xsession-errors is huge in size

Problems 

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)

Solution

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

Categories
Linux

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.
No Comment

Leave a Reply

*

*

RELATED BY