F21 xorg failes to get session after cloning

asked 2015-02-27 16:05:38 -0600

nxxy gravatar image

updated 2015-02-28 06:37:57 -0600

My aim is to be able to backup a running Fedora 21 system to a separate hard disk and be able to boot it in case my current hard disk fails. I achieve this by backing up a LVM snaphot of root, modifying fstab in the backup and editing the grub entries. Furthermore, dracut needs to be set to --no-hostonly. This works in Fedora 19. However, doing the same with Fedora 21 does not work. F21 fails booting; some start jobs are never finished. Why? How do I resolve this?

The boot.log can be found here: http://paste.fedoraproject.org/191595/

May be related: https://ask.fedoraproject.org/en/question/62887/invalid-root-fs-hooks-in-initramfs-after-cloning-system/

Edit: The first hurdle seemed to be disabling SELinux. But Xorg will still not work. I get:

 gdm-Xorg: (EE) systemd-logind: failed to get session: PID 1435 does not belong to any known session

Journal log: http://pastebin.com/Su838eKY

edit retag flag offensive close merge delete

Comments

hum, is not just fail gdm and start X ? press ctrl + alt + F2 to try switch to vt2

sergiomb gravatar imagesergiomb ( 2015-02-27 19:26:36 -0600 )edit

I can login to the console, yes. But gdm will not start due to the X error (see edit).

nxxy gravatar imagenxxy ( 2015-02-28 06:39:48 -0600 )edit

yeah , I always have selinux disabled ... , to enable selinux you probably need run a command to reassign all selinux permissions

sergiomb gravatar imagesergiomb ( 2015-03-03 05:41:03 -0600 )edit

having same issue with two different F21 systems: under KDE with SDDM and XFCE with its default DM...

ambush gravatar imageambush ( 2015-03-15 23:05:45 -0600 )edit

touch /.autorelabel and reboot to relabel the system.

orion gravatar imageorion ( 2015-10-14 12:36:38 -0600 )edit