(hopefully this message will go through... having trouble with the list) That is actually very easy to do.
just set a $DISPLAY, then run X11.bin directly for that $DISPLAY.. then you can launch any wm you want on that same $DISPLAY... like... cd into Xquartz/Contents/MacOS do a... export DISPLAY=:55 then do a ./X11.bin :55 at that point it will start up just the X server with no window manager or anything else... if you open an xterm it will have no window decoration or anything. Just use an export DISPLAY=:55 in another terminal then launch the window manager executable and see if it runs. On Jan 29, 2011, at 7:24 PM, Dave Ray wrote: > I am helping port alternative window managers to MacOS. One of them isn't > working right, so I want to use gdb on the wm binary. > > On a true *nix machine, I could start X without a wm running, then invoke a > wm from an xterm. This is useful if I want to run gdb on the wm. It's not how > one normally sets up an X11 environment, but is the way one would do it to > test the wm. > > On Snow Leopard, I am having trouble figuring out how to replicate this. If I > comment out all the lines in my .xinitrc, and try to run my wm from a > terminal, this doesn't work. I get a unstable condition where processes keep > re-spawning and I cannot kill them, and have to reboot to recover. > > If I remove the .xinitrc file, X11 boots with its default window manager. > > Can anyone recommend a step by step process I can use on SL so that I can run > gdb on a window manager at the shell prompt. > > Thanks in advance. > Dave > > _______________________________________________ > Xquartz-dev mailing list > Xquartz-dev@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev > _______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev