Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 followed this guide to install Xmonad GUI on my debian 7.1. Installation completed successfully after executing:

aptitude install xmonad libghc6-xmonad-dev libghc6-xmonad-contrib-dev

After executing of:

$ xmonad

I'm getting the following error:

deepsy@deepsypc:~$ xmonad
/home/deepsy/.xmonad/xmonad-x86_64-linux: executeFile: does not exist (No such file or directory)
X Error of failed request:  BadAccess (attempt to access private resource denied)
Major opcode of failed request:  2 (X_ChangeWindowAttributes)
Serial number of failed request:  7
Current serial number in output stream:  8

I've tried to apt-get purge xmonad and reinstall it with apt-get install xmonad, but I'm still getting the same error.

share|improve this question
up vote 1 down vote accepted

It seems that you are already have a window manager running. Try xmonad --replace!

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.