Bug#692579: Workaround: fix xauth in Xsession

paul.szabo at sydney.edu.au paul.szabo at sydney.edu.au
Sun Feb 2 20:45:34 UTC 2014


My workaround is to fix xauth settings in /etc/gdm3/Xsession by adding
the lines

# PSz 31 Jan 2014  Fix up weird xauth setting that upsets "ssh -X".
xauth list 2>/dev/null | perl -ne '
  ($h,$s,$m,$c)=m/^#ffff#((?:3\d|2e)*)#:(\S+)\s+(MIT\S+)\s+([0-9a-f]{32})$/ and
    $h=~s/2e/./g and $h=~s/3(\d)/$1/g and
    system "xauth add $h:$s $m $c";
    exit'

to that script, somewhere before the
SESSIONFILES=$(run_parts $SYSSESSIONDIR)
block.

Cheers, Paul

Paul Szabo   psz at maths.usyd.edu.au   http://www.maths.usyd.edu.au/u/psz/
School of Mathematics and Statistics   University of Sydney    Australia



More information about the pkg-gnome-maintainers mailing list