Home Linux Ubuntu – xsession-errors is huge in size

Ubuntu – xsession-errors is huge in size

0

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

NO COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Exit mobile version