Bug#614972: gdm3: can't login ("can't open display :0" in .xsession-errors)
Vincent Lefevre
vincent at vinc17.net
Thu Feb 24 17:00:07 UTC 2011
retitle 614972 Undocumented .Xauthority location change can break login / X applications
thanks
On 2011-02-24 17:54:45 +0100, Vincent Lefevre wrote:
> On 2011-02-24 17:09:04 +0100, Vincent Lefevre wrote:
> > Agent pid 2891
> > No protocol specified
> > [fvwm][main]: <<ERROR>> can't open display :0
>
> I think the problem comes from the fact that I have
>
> [[ -n $DISPLAY ]] && export XAUTHORITY=$HOME/.Xauthority
>
> in my ".zshenv" (it is sourced in a zsh script before fvwm is run).
[[ -n $DISPLAY && -z $XAUTHORITY ]] && export XAUTHORITY=$HOME/.Xauthority
solves the problem.
But the .Xauthority location change should have been documented and
announced!
--
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
More information about the pkg-gnome-maintainers
mailing list