Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

I made a stupid mistake and wrote command "startx" in autostart applications in Gnome. Therefore Gnome starts itself in cycle. How can I change autostart applications without logging into Gnome?

share|improve this question
can you just add the ubuntu version you are using? – fossfreedom Oct 10 '12 at 15:26

Switch to the virtual console with the shortcut Ctrl + Alt + F1 and type this command and hit Enter after Login

rm ~/.config/autostart/startx.desktop

It should work.

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.