Ubuntu: Can I log in without loading my .profile?


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?


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).

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »