[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#319900: ssh: xterm -e ssh -f somehost xclock fails randomly most of the time



On Thu, Jul 28, 2005 at 12:44:51PM +0100, Matthew Vernon wrote:
> What does your .xsession-errors (or wherever you send stderr from your 
> xsession) say?

Running

 for i in `seq 1 10`; do xterm -e ssh -Xf `hostname` xclock & done

seems to add

/usr/lib/WindowMaker/WindowMaker warning: internal X error: RenderBadPicture (invalid Picture parameter)
        Request code: 154
        Request minor code: 7
        Resource ID: 0x4006b1
        Error serial: 22635

to ~/.xsession-errors. Under fvwm95 nothing gets added to that file
but i still only see about 1-4 xclocks.

> Also, can you give me some debugging output?

As strace was out of guestion I tried

 for i in `seq 1 10`; do ssh -vvvXf `hostname` xclock 2> ssh.$i.errors & done

Full output is at http://iki.fi/lindi/ssh.6.errors but I'll quote the
lines that mention xauth plus some context:

debug1: Entering interactive session.
debug2: callback start
debug2: ssh_session2_setup: id 0
debug2: x11_get_proto: /usr/bin/X11/xauth  list :0.0 . 2>/dev/null
Warning: No xauth data; using fake authentication data for X11 forwarding.
debug1: Requesting X11 forwarding with authentication spoofing.
debug2: channel 0: request x11-req
debug1: Sending command: xclock
debug2: channel 0: request exec
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 131072
debug2: channel 0: read<=0 rfd 4 len 0
debug2: channel 0: read failed
debug2: channel 0: close_read
debug2: channel 0: input open -> drain
debug2: channel 0: ibuf empty
debug2: channel 0: send eof
debug2: channel 0: input drain -> closed
debug2: channel 0: rcvd ext data 77
/usr/bin/X11/xauth:  error in locking authority file /home/lindi/.Xauthority
debug2: channel 0: written 77 to efd 6
debug1: client_input_channel_open: ctype x11 rchan 2 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 58492
debug2: fd 4 setting O_NONBLOCK
debug2: fd 4 is O_NONBLOCK
debug1: channel 1: new [x11]
debug1: confirm x11
debug2: X11 auth data does not match fake data.
X11 connection rejected because of wrong authentication.
debug2: X11 rejected 1 i0/o0
debug2: channel 1: read failed
debug2: channel 1: close_read
debug2: channel 1: input open -> drain
debug2: channel 1: ibuf empty
debug2: channel 1: send eof
debug2: channel 1: input drain -> closed
debug2: channel 1: write failed
debug2: channel 1: close_write
debug2: channel 1: output open -> closed
debug2: X11 closed 1 i3/o3


-Timo




Reply to: