How do I prevent infinite recursion in X11 start-up process?

Posted by chrisaycock on Super User See other posts from Super User or by chrisaycock
Published on 2011-02-24T06:59:38Z Indexed on 2011/02/24 7:27 UTC
Read the original article Hit count: 466

Filed under:
|
|

I wasn't able to run X11 or Terminal after rebooting my Mac. After digging around, I got them to work when I commented-out this line in my .cshrc:

xset b off

It appears that xset will attempt to launch X11 if it isn't running already, and since X11 will launch the default shell through xterm and thus encounter the xset line above, we will have an infinite loop.

I would like to keep the above line in my .cshrc. Is there a way to prevent X11 from launching itself?

© Super User or respective owner

Related posts about mac

Related posts about shell