Public bug reported:
Binary package hint: lxdm
This concerns lxdm 0.2.0~svn2307+git20100209-0ubuntu2 in Ubuntu Lucid
beta1.
When you log in via lxdm, the X authorization file is in its default
location of ~/.Xauthority. Which is fine, unless you are on a system
where home directories are served out of NFS or AFS. If the home
directory suddenly becomes inaccessible (whether by a file server going
down, or authentication expiring in the case of AFS), then the X auth
file can't be read, and then you can't even pop up an error dialog to
the user.
GDM has a UserAuthDir option that lets you place the X auth file in (for
example) /tmp, which works around the above problem handily. I
considered adding a similar such option to lxdm, but then figured I may
as well just tweak its behavior to match that of xdm (which
unconditionally sets XAUTHORITY=/tmp/.XauthXXXXXX).
A patch, against the lxdm sources in the LXDE SVN tree, is attached.
(The "#ifdef DEBUG" bit is just a sanity check, to ensure that
g_mkstemp_full() created a file.)
** Affects: lxdm (Ubuntu)
Importance: Undecided
Status: New
--
[PATCH] Don't put X11 auth file in $HOME
https://bugs.launchpad.net/bugs/558765
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs