[Xquartz-dev] How to test a wm with gdb on XQuartz

Dave Ray apple at jonive.com
Sun Jan 30 12:19:33 PST 2011


Just to follow up, I added the line "exec /opt/X11/bin/xterm" to my .xinitrc and things went fine. No race condition. I was able to run gdb on the window manager from that xterm. When I exited xterm, X11 exited cleanly.

Previously, I was trying to use the xterm that is launched by launchd as "program to run". That xterm never appeared, when my .xinitrc was empty.

Guess I learned a lesson: don't have an empty .xinitrc.

Thanks again for the quick help.
Dave


More information about the Xquartz-dev mailing list