3454a39590
At the moment the greeter stays connected to GDM even after the user logs in. That stale connection can lead to bookkeeping confusion later on. This commit makes sure we disconnect the greeter connection any time the user logs in or otherwise switches VTs. This commit also make sure we do a full reset when VT switching back later, so the greeter connection can get re-setup.