gdm fails if booting from a read-only snapshot
Submitted by tyang
Link to original bug (#775969)
Description
If we boot from a read-only snapshot, the gdm does not show up and falls back to console.
If we enable the auto-login mode and 'snapper create' a ro snapshot, it will enter the gnome successfully.
From what log said, it fails while gdm tries to chown the directory /var/lib/gdm, which is the gdm's home directory, so I did a wrap function to let gdm not chown it if directory is already exists.
But it fails again while the process goes on, and log is: WARNING: IceLockAuthFile failed: Read-only file system.
There are at least two problems so far, so I'm wondering if there are more such problems if we move on.
Thanks