I had installed flatpak to run an application. Since it didn't quite work, I removed it using the following command:
sudo apt remove flatpak
On restart, I'm getting the error below. There is an OK button, but I can't hit it and can't even get to the desktop. The mouse isn't working and neither is the keyboard.
I am running Ubuntu 19.04. Here is the error:
Error found when loading /etc/profile: /etc/profile.d/flatpak.sh: line25: flatpak: command not found As a result the session will not be configured correctly. You should fix the problem as soon as feasibile.