I clobbered my environment variables, so now when I attempt to log into the desktop I get sent back to my login screen after a short blackout of the screen. I've attempted to use 'export' but that only works for the current terminal session. Every other answer I've read has mentioned using gedit, which I don't have access to.
How should I change it? I found an answer stating that it should be changed to "/usr/sbin:/usr/bin:/sbin:/bin".
nano
editor via the CLI e.g./usr/bin/sudo nano /etc/environment
. You can also copy default.profile
and.bashrc
files from/etc/skel
if those are what got "clobbered".