I had the same problem on Ubuntu 17.10 after installing bumblebee- nvidia. I fixed it by commenting out the cryptswap1 partition in fstab and /etc/crypttab
see: https://askubuntu.com/a/997339/34298 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1731870 Title: Failed to start Cryptography Setup for cryptswap1 Status in systemd package in Ubuntu: Confirmed Bug description: Fresh install of 17.10. On first boot, after install, there were no issues; the desktop booted fine. I then ran an `apt upgrade`, set my home encryption passphrase and rebooted. Now, after typing my password, rather than Gnome starting, I get systemd errors: Failed to start Cryptography Setup for cryptswap1 Dependency failed for dev-mapper-cryptswap1.device Dependency failed for /dev/mapper/cryptswap1 If I wait long enough, I get the gdm3 login window again. If I try to log in after this, I get the Gnome desktop without any issue. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1731870/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp