Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

I've just did a clean install of Linux Mint Maya x64. I am using two monitors (default screen of my laptop and external HP w2007v). The problem is that after I've changed my primary monitor to the external one (did it using control center), I get black screen on both after login and I can't do anything.

Is there any way to make my computer work again? It doesn't matter now which one will be default, I just want it to work again.

share|improve this question
up vote 0 down vote accepted

You can create a new user from the command line.

  • At the login screen hit Ctrl+Alt+F1 to get a text console
  • Log in with you regular user credentials, you'll be prompted with a $-prompt
  • Check the command syntax by entering sudo useradd
  • Create the the new user by entering sudo useradd ...
  • hit Ctrl+Alt+F7 to return to the GUI login, if this doesn't work try the same with F8 ...
  • Login with your temporary user.

An alternative is to clean out your home directory instead of creating the new user (but it is partially the same trick), but that is probably not what you want. You'll loose all your own files and settings. The important files are usually hidden, you'll need to use ls -al to see them. It depends on your display manager which exact directory contains the bad settings.

share|improve this answer
An where does mint store the settings? Is there no way to revert the changes? – Nils Oct 21 '12 at 20:28

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.