This should be more doable now due to the split of jockey into a frontend/backend (the backend can completely invoke and control restarting gdm/xsession).
This should be more doable now due to the split of jockey into a frontend/backend (the backend can completely invoke and control restarting gdm/xsession).