[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



Package: ssh
Version: 3.8.1p1-8.sarge.4
Severity: normal

Steps to reproduce:
1. for i in `seq 1 10`; do xterm -e ssh -Xf `hostname` xclock; sleep 1; done

Expected results:
1. 10 xclock windows show up.

Actual results:
1. Only about 1-4 xclock windows show up.

Background info:
I tried to configure slow desktop computers to run mozilla and other
memory hungry applications from faster computer 'fred' by adding

*DebianFvwm95Buttons(Title mozilla, Icon /home/u1/icons/mozicon50.xpm, \
             Action 'Exec "Mozilla" xterm -e ssh -f fred mozilla &')

to /etc/X11/fvwm95/system.fvwm95rc. I noticed that I often need to click
the mozilla icon multiple times for mozilla to actully start.

When I managed to reduce the problem to the one-line testcase I tested
it with debian woody/sarge, rxvt/xterm and fvwm95/wmaker. The same
random behavior occured in all tested cases. I am reporting this bug
against ssh just because I'm guessing that ssh could be the cause.

The bug does not happen if I add a sleep after ssh and before xterm
gets closed,

for i in `seq 1 10`; do xterm -e sh -c "ssh -Xf `hostname` xclock; sleep 1"; sleep 1; done

opens 10 xclock windows.


-- System Information
Debian Release: 3.1
Architecture: i386
Kernel: Linux warpdrive 2.4.27-2-386 #1 Mon May 16 16:47:51 JST 2005 i686 GNU/Linux
Locale: LANG=C, LC_CTYPE=fi_FI






Reply to: