Also I found the previous patch works only when qemu-guest-agent in not added to the VM, otherwise crash happens all the times while to login. It show window which informs that ksmserver is crashed and if to click "okay", it quits to sddm login screen.
** Also affects: qemu (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1719038 Title: X Server crashes during log in VM since 16.04.2 Status in X.Org X server: In Progress Status in qemu package in Ubuntu: New Status in xorg package in Ubuntu: Confirmed Bug description: If I change screen resolution in my VM with Kubuntu 16.04.3 and then make log off and then log on X server is crashes doesn't able me to log in. Please, look in Xorg.0.log.old for backtrace. Also the appropriate report on freedesktop.org: https://bugs.freedesktop.org/show_bug.cgi?id=102554 Host: Kubuntu 17.04 Linux 4.13.2 libvirt-bin 3.6.0 qemu 2.10 Guest: Kubuntu 16.04.3 Linux 4.10.0-35-generic xserver-xorg-video-qxl 0.1.4-3ubuntu3 xserver-common 1.18.4-0ubuntu0.3 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xserver-xorg (not installed) ProcVersionSignature: Ubuntu 4.10.0-35.39~16.04.1-generic 4.10.17 Uname: Linux 4.10.0-35-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.10 Architecture: amd64 CurrentDesktop: KDE Date: Sat Sep 23 01:27:49 2017 InstallationDate: Installed on 2016-09-16 (371 days ago) InstallationMedia: Kubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719) JournalErrors: Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000'] failed with exit code 1: Hint: You are currently not seeing messages from other users and the system. Users in the 'systemd-journal' group can see all messages. Pass -q to turn off this notice. No journal files were opened due to insufficient permissions. SourcePackage: xorg UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1719038/+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