On Jan 14 14:55:32, Martin Toft wrote:
> On Sat, Jan 12, 2008 at 08:32:50PM +0100, Martin Toft wrote:
> > when starting X (and thereby cwm due to my .xinitrc), I get the
> > following error:
> >
> > cwm: root window unavailable - perhaps another wm is running?
> cwm echoes the error message above and terminates if xbindkeys is
> running. My solution at the moment is to not use xbindkeys...
This is strange. I am running xbindkeys and it never bothered cwm
(or any other WM). This is my ~/.xinitrc:
--- cut -
#!/bin/sh
xset -b -c dpms 300 600 900 m 4 100 r rate 400 30 s off
xsetroot -solid black
xrdb $HOME/.Xresources
xbindkeys
setxkbmap -rules xorg -model pc105 -layout "us,cz" \
-option "grp:shifts_toggle,grp_led:scroll"
exec cwm
--- cut -
What exactly is yours? In particular, how are you launching xbindkeys?
I really doubt xbindkeys would be causing it.
Looking at the source,
if (Starting &&
e->error_code == BadAccess &&
e->request_code == X_GrabKey)
errx(1, "root window unavailable - perhaps another "
"wm is running?");
is the only place where the message appears.
What exactly is a BadAccess when trying to X_GrabKey?
Jan