Red Hat Bugzilla – Bug 168703
sshd/X11 does not tunnel iff command placed in background
Last modified: 2007-11-30 17:11:13 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/412.7 (KHTML, like Gecko) Safari/412.5
Description of problem:
After the most recent up2date, I have a problem with x11 tunnelling over ssh.
If I login using:
ssh -C -Y <key file> -f "$user@$host" "xterm &"
I get the following error:
xterm Xt error: Can't open display: localhost:12.0
If logged in as:
ssh -C -Y <key file> -f "$user@$host" "xterm"
Backgrounding the login job is to get around limitations in older openssh versions on other systems.
This did not happen before the latest up2date. I run up2date from a terminal started this way and
afterwards it fails.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. hard to describe, see above
*** Bug 168704 has been marked as a duplicate of this bug. ***
I can't reproduce this problem here. The upgrade happened on server or client or
both? Could you please attach logs from both client and server (sshd run with
-ddd ssh with -vvv)?
I found a better reproducer:
ssh -Y user@host "(sleep 2; xterm) &"
The code handling setup of X forwarding channels was changed between openssh
4.1p1 and 4.2p1. I'll report this upstream.
From User-Agent: XML-RPC
openssh-4.2p1-fc4.10 has been pushed for FC4, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report.