0

My X11 crashes if I have the following .xinitrc

My .xinitrc

exec /Users/Masi/.cabal/bin/xmonad

I am not sure where the bug is.

Files which I know affects the startup are

  1. ~/.cabal/bin/xmonad
  2. (perhaps): ~/xmonad.hs
  3. ~/.xinitrc

I have completed the steps in the tutorial.

Which files do control XMonad's startup in Mac (Leopard)'s X11?

2
  • 1
    What problem did theman's answer solve, and what problem is persisting? May 29, 2009 at 3:25
  • @Clinton: We know now that the bug is in my .xinitrc -file. It seems that the problem is in XMonad in Mac. I have no idea where to debug. -- I have reinstalled the packages. -- This suggests me that the problem is a combability issue. May 29, 2009 at 19:01

3 Answers 3

1
1. ~/.xinitrc

this guy gets called when you type "startx". Mine looks like this:

exec /Users/theman/bin/dwm

I bet your problem is this file. This is called when X starts. dwm is my window manager, if that path doesnt exist, its trying to execute somethign that isnt there, and obviously will crash. reply with your ~/.xinitrc

2. ~/.Xresources

not quite sure

3. ~/.Xmodmap

this is key bindings and such

4. ~/.Xsession

not quite sure

5. ~/.Xdefaults

this sets defaults, such as background color, for your terminal and/or other X apps

6. ~/.Xauthority

not quite sure to be honest

Also, what version os and X are you using?

2
  • @Theman: The problem is now in XMonad. It makes my Mac to X11 to crash. May 29, 2009 at 19:03
  • @theman: Thank your for your answer! It solves the first problem in locating the bug. May 29, 2009 at 19:07
1

Do you get anything useful logs in console?

1
  • I added two log messages. The first process is being forced quit. I am sure why. Either it is me or an external program. May 28, 2009 at 16:22
1

fseventer will let you see what files are in use, graphically. (Try fs_usage if you want a command-line app.)

One more file to look at is ~/Library/Preferences/org.x.X11.plist.

2
  • Is fseventer open-source? I could not find its source code. May 28, 2009 at 19:18
  • fseventer is not open-source but it is donationware. (Freeware but he does ask for donations if you find it useful)
    – Chealion
    May 28, 2009 at 22:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .