After realizing that this happened with my user only (the guest session was not affected by this bug), I removed the .Xauthority, .ICEauthority and .dbus/ files from my user's home and the problem went away. I'm not sure which of the three was the issue.
Anyway, I suppose I should close this bug then. ** Changed in: pulseaudio (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1523157 Title: Computer is idle for 20-25 seconds after login Status in pulseaudio package in Ubuntu: Invalid Bug description: After entering my password at the lightdm prompt and pressing Enter, the computer is apparently idle for 20-25 seconds. The user session starts loading after that time. I have a SSD disk, so the session should be quite fast. Note that if I logout of a session, and re- login, the session starts immediately: the delay is present only on the first session after the boot. Since I read of similar problem from other people, and the trend is to blame pulseaudio, I enabled logging (with a single "-v") and I'm attaching the log file. I pressed "Enter" on the keyboard right after the time indicator started the 22:58 minute. I don't know if that's normal, but you can see that there was a pulseaudio process with PID 1775, then PID 2465 started, and the initial PID 1775 finally quit at 22:58:20, roughly at the time when the session started loading. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu11.1 ProcVersionSignature: Ubuntu 3.16.0-55.74~14.04.1-generic 3.16.7-ckt19 Uname: Linux 3.16.0-55-generic x86_64 NonfreeKernelModules: fglrx ApportVersion: 2.14.1-0ubuntu3.19 Architecture: amd64 CurrentDesktop: Unity Date: Sat Dec 5 23:50:41 2015 InstallationDate: Installed on 2015-05-16 (202 days ago) InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 12/29/2014 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: F2j dmi.board.asset.tag: To be filled by O.E.M. dmi.board.name: 970A-DS3P dmi.board.vendor: Gigabyte Technology Co., Ltd. dmi.board.version: x.x dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: Gigabyte Technology Co., Ltd. dmi.chassis.version: To Be Filled By O.E.M. dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF2j:bd12/29/2014:svnGigabyteTechnologyCo.,Ltd.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rn970A-DS3P:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.: dmi.product.name: To be filled by O.E.M. dmi.product.version: To be filled by O.E.M. dmi.sys.vendor: Gigabyte Technology Co., Ltd. modified.conffile..etc.pulse.default.pa: [modified] mtime.conffile..etc.pulse.default.pa: 2015-11-04T12:19:08.906849 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1523157/+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