Registration Timeout is Excessively Long
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-session (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I'm suffering from a problem where gnome-session pauses for a very long time (90 seconds) during login. I type in my password to lightdm, the screen switches to show my wallpaper, but nothing else, and for the next minute and a half, I can't do anything besides move the cursor. Clicks don't do anything, key combinations to start a terminal don't work. In /var/log/syslog, I see a message
Jun 23 11:24:21 jun-MacBookAir gnome-session[
which seems to be caused by a problem with at-spi-
The 90-second wait seems to be hard-coded in the source, with a remark that waiting long enough is critical on slower media like CD-ROMs. While I can see how that's a concern, it makes no sense on a desktop installation booting from the SSD. The long wait interferes with debugging the problem (because every single thing I try takes at least 90 seconds), and will ensure that a problem in any of the components like at-spi-
Please make this timeout shorter if at all possible, or at least configurable. Better yet, please have this automatically configured by benchmarking the system upon installation.
In the meantime, I'm attaching a patch for anyone who wants a quick work around to this nasty problem.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: gnome-session 3.18.1.
ProcVersionSign
Uname: Linux 4.4.0-24-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: GNOME
Date: Thu Jun 23 13:07:40 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-11-12 (223 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
PackageArchitec
SourcePackage: gnome-session
UpgradeStatus: Upgraded to xenial on 2016-05-28 (25 days ago)
This patch changes the timeout to 5 seconds, which is probably too short for some slower media but reasonable for desktop installations. This is just a workaround as noted above; not meant for upstream.