Ubuntu 18.04 – Disk Space Runs Out after OS Upgrade – Xorg Logging Issue

Recently upgraded my laptop from Ubuntu 16.04 to 18.04.  Relatively few issues with the upgrade.  However, after several days my laptop ran out of space.  The “/” root partition (assigned 40GB) filled up completely.

I suspected some sort of a logging issue.  The “du” command is excellent for checking disk usage, and I used the following to determine the offending file(s):

$ sudo du -hs *

Although expecting the offending file to be under /var/log/, I quickly zoned in on /var/lib/.

The offending file was:

/var/lib/gdm3/.local/share/xorg/Xorg.0.log

Quick google yielded this:

Ubuntu Linux 18.04 Run Out of Disk Space

The fix was pretty simple,

$ sudo apt-get remove xserver-xorg-input-synaptics

From the link:

I got the root cause of the issue now. It seems that Xorg replaces input-synaptics with libinput. The Ubuntu upgrader did not remove xserver-xorg-input-synaptics package after upgrade and confuses xorg package, so that the error message keeps added to the log.

A reboot then cleared the problem!

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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