1

My ubuntu terminal is not opening for unknown reasons. The last thing I remember is that I removed the old snap using this link. My terminal starts and suddenly crashes without showing any error. Things that I've tried:

  • I tried reinstalling gnome-terminal using grub safe-mode and entering root.
  • I tried the following command using alt+f2:

env SHELL=/bin/sh gnome-terminal

and I was able to open the terminal (not bash shell though). Now if I run bash I get the following error:

bash: VIRTUAL_ENV: unbound variable

I don't remember changing anything related to python or virtualenvs, or changing .bashrc or .profile. Now I'm stuck and I can't use bash. Even the TTY terminals are not working (jumps back to login after login).

If you need any extra information, please let me know. Thanks in advance.

0 Answers0