Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 131308
Collapse All | Expand All

(-)/usr/bin/startx.ori (-1 / +1 lines)
Lines 118-124 Link Here
118
# server man need it. Add them to the '$xserverauthfile' instead.
118
# server man need it. Add them to the '$xserverauthfile' instead.
119
for displayname in $authdisplay $hostname$authdisplay; do
119
for displayname in $authdisplay $hostname$authdisplay; do
120
     authcookie=`xauth list "$displayname" \
120
     authcookie=`xauth list "$displayname" \
121
       | sed -n "s/.*$displayname[[:space:]*].*[[:space:]*]//p"` 2>/dev/null;
121
       | grep XDM | sed -n "s/.*$displayname[[:space:]*].*[[:space:]*]//p"` 2>/dev/null;
122
    if [ "z${authcookie}" = "z" ] ; then
122
    if [ "z${authcookie}" = "z" ] ; then
123
        xauth -q << EOF
123
        xauth -q << EOF
124
add $displayname . $mcookie
124
add $displayname . $mcookie

Return to bug 131308