conformal / spectrwm

A small dynamic tiling window manager for X11.
ISC License
1.33k stars 97 forks source link

XQuartz quits and keeps restarting when running spectrwm #37

Closed sternenseemann closed 9 years ago

sternenseemann commented 10 years ago

I compiled and installed spectrwm on Mac OS X 10.9.2 with Homebrew and xquartz. My .xinitrc is:

exec spectrwm

Then I start XQuartz.app and it immediately quits and keeps restarting and quitting until I delete .xinitrc. This is the Makefile I used: https://gist.github.com/lukasepple/3ab560a8e406845ec537

LordReg commented 10 years ago

Are you using the latest spectrwm git?

sternenseemann commented 10 years ago

Yes. I just cloned it today.

LordReg commented 10 years ago

Can you provide some debug output? Just add -DSWM_DEBUG to CFLAGS when you compile spectrwm and change your .xinitrc to e.g.: exec spectrwm > ~/spectrwm.log

sternenseemann commented 10 years ago

Ok, I'll do that tomorrow after sleeping in Germany :)

sternenseemann commented 10 years ago

spectrwm.log is empty. There's not even Welcome to spectrwm.

I ran exec spectrwm manually in iTerm, it shows Welcome to spectrwm, Xquartz starts and the Terminal disappears. Nothing happens inside XQuatz.

When I run exec spectrwm > spectrwm.log & inside iTerm it outputs

0 enable_wm: screen 0, root: 0x111
0 enable_wm: error_code: 10
spectrwm: another window manager is currently running

But I guess that's usual?

jaumemk commented 9 years ago

Hi, I dont know if this still happening to you, maybe will help others. Same happened to me and I fixed it this way. Instead of using: exec spectrwm In my .xinitrc file, I use: exec /usr/local/bin/spectrwm

Then, check your system processes (w/ top command or Activity Monitor), if you setup your X11 preferences to Full Screen Mode, maybe it's runging in background in Full Screen Mode, try this: Option+Command+A to toggle wm.

marcopeereboom commented 9 years ago

That is the correct usage @jaumemk. Unfortunately OSXQuartz is a bit finicky; I know I suffer daily.