I wanted to password protect individual folders on my system, so I installed Cryptkeeper by following the first answer here: How to encrypt individual folders?. However, the icon of Cryptkeeper did not appear on the top right, so I followed the first comment, opened a terminal and executed
gsettings set com.canonical.Unity.Panel systray-whitelist "['all']"
Nothing happened, so I also did
unity -- replace
There was some strange behaviour on my monitor, some of the windows stopped functioning properly and there were many error messages in the terminal. Apparently there were still some processes going on because it did not return a prompt. I waited 10 or 20 minutes but then pressed CTRL+C and restarted the system.
When I tried to log in, the screen became black for a second, there was the usual sound but then the log in screen appeared again, although I entered the correct password (it did not say it was not correct). So, now I cannot log in and I use the guest account to write this.
I tried CTRL+ALT+F1, the screen becomes black with a blinking white space in the upper left corner but I cannot type anything. (I wanted to execute
sudo chown -R $USER:$USER $HOME). CTRL+ALT+F2 produces the same result. I also tried to add a new user with
sudo adduser newuser, but I got
sudo: unable to change to sudoers gid: Operation not permitted followed by
sudo: setresuid() [0, 0, 0] -> [119, -1, -1]: Operation not permitted.
Does anyone know a solution? I need my account with all the data and personal setting but right now I don't have the time to reinstall Ubuntu and do everything again.