I recently inserted an error into my .profile file and now logging in just presents me back to the log in page, much like in this question. I've booted into recovery mode and recovered my encrypted /home/ partition, but I can't edit .profile from there. I know how to fix the file, just not how to get to do so. What are my options?
Asked
Active
Viewed 883 times
3
Garry Cairns
- 979
1 Answers
2
While an error in .profile does cause the GUI to loop back to the login screen, you can log in to the TTYs (CtrlAltF1 (or F2 through F6)). Depending on your specific problem, your PATH may or may not be affected. If you find you cannot run commands, try with full paths (/usr/bin/nano vs just nano).
muru
- 197,895
- 55
- 485
- 740
.profiledoes not prevent me from logging in to the TTY (Ctrl-Alt-F1 to F6). Did you try the TTY? – muru Dec 07 '14 at 16:32.profileerror. – Garry Cairns Dec 07 '14 at 17:01/usr/bin/nanoinstead ofnano, etc.)? – muru Dec 07 '14 at 17:02