I start an X session with gnome. gmc is up by default. closing gmc restarts it with a core dump. closing it again closes it for good.