In my case the problem was caused by wrong permissions on my home directory.
1: Boot from a live media (or different linux distro installed on the same system) and open a terminal with Ctrl-Alt-T
2: Make a temporary mount point and Mount the partition that contains your /home (in my case it was /dev/sda6)
sudo mkdir /mnt/sda6
sudo mount /dev/sda6 /mnt/sda6
3: check permissions
sudo ls - la /mount/sda6/
you should see an entry username` where username is your username
From this point forward we will use the username tvbox (change this to your username)
You should see something like this:
drwxr-x--- 67 tvbox tvbox 12288 May 1 07:00 tvbox
This indicates that tvbox is a directory and the owner has the required read, write an execute permissions.
4: correct permissions if incorrect.
If the above is incorrect in any way we need to correct it.
If data was moved by root you will see root root rather than tvbox tvbox (owners name owners group) This could be referred to as the "root cause" ;-)
To fix this issue the command `sudo chown -R tvbox:tvbox /mount/sda6/tvbox
If somehow the other permissions aren't right you will need to modify them with sudo chmod +rwx tvbox
adding read write and execute permissions.(the execute bit on a directory allows you to traverse it.)
5: reboot the problem OS
6: login
If this doesn't resolve your problem refer to the many other quality answers here.
sudo ubuntu-drivers devices
, and thensudo apt-get install
the recommended driver./var/log/syslog
and check for any error that might relate to something you did recently. My issue was an error related toflatpak
, which I've installed the day before but ended up not needing it. After uninstalling it, everything went back to normal.