Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
You could use the root shell provided by recovery mode entry in the Grub menu. – muru Jul 27 '14 at 16:00

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


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.