From a quick look at the source, g_key_file_set_string (keyfile, key_group, key_name, ""); is used, but g_key_file_remove_key (keyfile, key_group, key_name, &err); should probably be used instead (I'll try to patch and see if lightdm behaves better).
> why the xfailsafe mode doesn't kick in
In the lightdm log (x-0.log), I can see "Server terminated successfully (0).". I guess that's why xfailsafe thinks everything went fine?
> Why is the greeter set to ""?
From a quick look at the source, g_key_file_ set_string (keyfile, key_group, key_name, ""); is used, but g_key_file_ remove_ key (keyfile, key_group, key_name, &err); should probably be used instead (I'll try to patch and see if lightdm behaves better).
> why the xfailsafe mode doesn't kick in
In the lightdm log (x-0.log), I can see "Server terminated successfully (0).". I guess that's why xfailsafe thinks everything went fine?