Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there a login option to skip processing the .profile and Startup Applications? I basically have a script in there that's hanging the system upon log-in. The filesystem is encrypted and I don't have the passphrase and there are no other root users. So I'd like to login in as the user but without processing the script in .profile or Startup Applications.

share|improve this question
1  
You could use the root shell provided by recovery mode entry in the Grub menu. –  muru Jul 27 at 16:00

2 Answers 2

You were asking for direct and quick access to root user. Try recovery mode option in grub. It perfectly fine for you.

In recovery mode open, prompt-shell

It will looks like text-user-interface like terminal

share|improve this answer

Just stumbled onto a great solution for me, as described in ".profile ran into an infinite loop."
Log in from a console (Control-Alt-F1) and ^C the script.
Evidently the script was only hanging the GUI, not the system. So technically this didn't avoid running the script, but it let me stop it and remove it from the .profile to restore the GUI login functionality.
Thanks AskUbuntu!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.