Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm using Linux mint, and I want two windows managers (MATE and xmonad) running on different pipes. I installed xmonad, and when I choose xmonad from the login screen it works perfectly.

But, when I move to pipe tty1, login, and run startx xmonad, I get an error:

<home dir>/.xmonad/xmonad-i386-linux: executeFile: does not exist (No such file or directory)

The screen is white, and pressing Alt-Shift-Enter opens a window for a split second then returns to the white screen.

Why? How can I fix this?

share|improve this question
    
Check your .xinitrc. –  Mikel Mar 26 at 13:11
1  
To ask the obvious: does the xmonad file mentioned in the error message exist? Should it? –  Mikel Mar 26 at 14:41
1  
@Mikel it doesn't exist, but xmonad runs very nicely when I choose it from the login in screen. Adding `-- :1 doesn't change any thing. –  elyashiv Mar 26 at 14:43
1  
This message is not exactly an error. It just means xmonad didn't find a personalized executable or an xmonad.hs file to compile, so it will start with the default configuration. If you aren't starting anything else, all you get is a black screen (use Alt+Shift+Enter to start an xterm). If this doesn't happen, do you have an error message ? Does X just terminate ? –  Leiaz Apr 4 at 11:40
1  
@Leiaz when I don't have a xmonad.hs file I get the message above, when I have one I don't. Any way I get a white screen, and pressing Alt+Shift+Enter results with a window that shows for a moment and nothing else. Pressing Alt+J, Alt-k or Alt+Space doesn't do any thing I can see. –  elyashiv Apr 4 at 11:58
show 2 more comments

1 Answer 1

up vote 2 down vote accepted
+50

You must give the full path : startx /usr/bin/xmonad

What happens when you run startx xmonad is xmonad is treated like an argument for the default client : xterm. So xterm xmonad is ran.

share|improve this answer
add comment

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.