diff options
author | root <root@rshg054.dnsready.net> | 2011-12-20 23:14:59 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-20 23:14:59 +0000 |
commit | ea1f4bece8870857691a7123bdc899562760b3fe (patch) | |
tree | b332a0692c3e63d46cb60cb1214fc57871e619c8 /extra/xorg-xinit/fs25361.patch | |
parent | 6d2dec5c3443d142a0131c43666929490961c16a (diff) |
Tue Dec 20 23:14:59 UTC 2011
Diffstat (limited to 'extra/xorg-xinit/fs25361.patch')
-rw-r--r-- | extra/xorg-xinit/fs25361.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/extra/xorg-xinit/fs25361.patch b/extra/xorg-xinit/fs25361.patch new file mode 100644 index 000000000..4596122de --- /dev/null +++ b/extra/xorg-xinit/fs25361.patch @@ -0,0 +1,16 @@ +Common subdirectories: xinit.orig/privileged_startx and xinit/privileged_startx +diff -u xinit.orig/startx.cpp xinit/startx.cpp +--- xinit.orig/startx.cpp 2011-08-02 18:26:57.161711018 +0400 ++++ xinit/startx.cpp 2011-08-02 19:06:39.348816866 +0400 +@@ -290,9 +290,9 @@ + XCOMM now add the same credentials to the client authority file + XCOMM if '$displayname' already exists do not overwrite it as another + XCOMM server man need it. Add them to the '$xserverauthfile' instead. +- for displayname in $authdisplay $hostname$authdisplay; do ++ for displayname in $authdisplay $hostname/unix$authdisplay; do + authcookie=`XAUTH list "$displayname" @@ +- | sed -n "s/.*$displayname[[:space:]*].*[[:space:]*]//p"` 2>/dev/null; ++ | sed -n "s/.*$hostname\/unix$authdisplay[[:space:]*].*[[:space:]*]//p"` 2>/dev/null; + if [ "z${authcookie}" = "z" ] ; then + XAUTH -q << EOF + add $displayname . $mcookie |