The issue seems created by the gnome-session changes from 3.24.1-0ubuntu5 " * Backport patches from 3.25.3 to kill D-Bus clients on log out. This works around GNOME Online Accounts not working correctly after logging out (LP: #1610944)"
It fails every time to login it again here but downgrading gnome-session to the previous version fixes the issue. Note that the problem is not specific to lightdm, the behaviour is the same using "startx -- :1" to start the session ** Package changed: lightdm (Ubuntu) => gnome-session (Ubuntu) ** Changed in: gnome-session (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/1700485 Title: Second login always fails. I have to reboot between logins Status in gnome-session package in Ubuntu: Confirmed Bug description: I used to be able to log in/out/in again between Gnome on Wayland and Xorg etc. Now it doesn't work. Any attempt to log out and in again fails, unless I reboot between logins. ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: lightdm 1.22.0-0ubuntu5 ProcVersionSignature: Ubuntu 4.10.0-22.24-generic 4.10.15 Uname: Linux 4.10.0-22-generic x86_64 ApportVersion: 2.20.5-0ubuntu5 Architecture: amd64 Date: Mon Jun 26 17:22:59 2017 InstallationDate: Installed on 2017-05-03 (54 days ago) InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170502) SourcePackage: lightdm UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1700485/+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