Unable to have full-screen in Mac's Xmonad

1

I installed the newest X11. I run the following command unsuccessfully after sourcing ~/.profile

$exec /usr/X11/lib/X11/xinit/xinitrc

I get a message

Screen is terminating

and I do not see any evidence of XMonad.

I run the command the second time, and I get

zsh: permission denied: /usr/X11/lib/X11/xinit/xinitrc
Process completed

and my terminal shuts down.

How can you have the full-screen mode in Mac's Xmonad by xinitrc?

Léo Léopold Hertz 준영

Posted 2009-05-20T23:58:00.027

Reputation: 4 828

Please, close this, since it is no longer relevant. The problem was a combination of different problems. – Léo Léopold Hertz 준영 – 2009-06-07T17:55:38.963

other people might run into the same problems, and stumble onto your question when trying to solve them - write up your experience as an answer! – Charles Stewart – 2010-02-26T16:38:53.143

Answers

2

exec is a shell built-in. If you insists on using it with sudo, you should do something like:

sudo bash -c "exec ...."

But that is pretty much pointless, if you use sudo anyway. Just drop the "exec" altogether.

ADEpt

Posted 2009-05-20T23:58:00.027

Reputation: 484

Yep. Sudo was not the solution to the problem. I left the sudo out. The problem still persists. – Léo Léopold Hertz 준영 – 2009-05-23T10:30:31.213