Cannot login from lightdm, /tmp is not writable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lightdm (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Expected: Login via lightdm should successfully create a logged in Ubuntu session.
What happened: A session is not created and I am returned to lightdm.
When I reboot my laptop, the lightdm greeter allows me to enter my password, but when I press enter, the screen goes black, and I am shortly returned to the lightdm screen again.
I changed to a new VT, logged in, and had a look at the lightdm log and the syslog. The syslog showed issues with pulseaudio writing to /tmp, and the lightdm log (possibly the xorg log) showed issues writing to /tmp as well. Looking at /tmp, I could see it was owned by root:root, and the permissions were 755.
I tried running a `chmod 777 /tmp`, then switched back to lightdm and attempted a login. This time I was successfully logged in, with no further issues. If this bug was a one off, I would just ignore it and continue on, but this permissions problem (/tmp at 755) occurs at every boot now. I'm not sure what triggered this behaviour, but it only started occurring on Saturday 12th May 2012.
Ubuntu release: 11.10
lightdm version: 1.0.6-0ubuntu1.6
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: lightdm 1.0.6-0ubuntu1.6
ProcVersionSign
Uname: Linux 3.0.0-19-generic x86_64
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Tue May 15 09:11:07 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: lightdm
UpgradeStatus: No upgrade log present (probably fresh install)
Thank you for your bug report, the real issue there is that your tmp permissions are broken, that's likely to create other misbehaviours, lightdm still could handle that better though...