GNOME Bugzilla – Bug 135787
fails without error when /tmp is not writable
Last modified: 2014-12-15 21:12:40 UTC
This bug was originally reported in the debian BTS : http://bugs.debian.org/169201 "When /tmp is not writable, GDM will fail to start a login session in a bogus way. It will directly come back to the same screen without any error indication. I think it's important to tell about it, because otherwise hunting down the problem can be a nightmare."
from the comments on the debian BTS and from my testing this is an issue with gnome-session. It is somewhat concievable that for a special purpose application one might not have writable /tmp for the user. In any case it should be gnome-session that complains, it is still possible to log in with the failsafe terminal session
What is failing when /tmp is not writable? Does gnome-session just return?
Did chmod a-w on /tmp and got this: gdm pops up an error dialog: _("GDM could not write to your authorization " "file. This could mean that you are out of " "disk space or that your home directory could " "not be opened for writing. In any case, it " "is not possible to log in. Please contact " "your system administrator")); Which is bogus in any case since it's trying to write to /tmp, not the users home directory. Maybe a good next step would be to make /tmp only writable by root and see what breaks next?
this is from slave.c::gdm_slave_session_start() btw
not sure if this was supposed to be a GDM bug or gnome-session bug initially. either way it references obsolete code.