Bug 19381

Summary: X11 forwarding is broken in 2.2.0
Product: [Retired] Red Hat Linux Reporter: Gerald Teschl <gt>
Component: opensshAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 7.0CC: dr, klotz
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-03-23 13:39:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gerald Teschl 2000-10-19 14:59:15 UTC
Summary says it all. VERY anoying!

Comment 1 Leigh L. Klotz, Jr. 2000-10-20 01:09:47 UTC
Is it broken or is it just off by default (contrary to what the man pages says).
For the client, see /etc/ssh/ssh_config and note that "ForwardX11 yes" is 
commented out. For the server, note that /etc/ssh/sshd_config is similar.

Users can turn it on for the ssh client themselves in their ~/.ssh/config file, 
but the the sshd server it must be set by root in /etc/sshd/sshd_config




Comment 2 Nalin Dahyabhai 2000-10-20 20:34:06 UTC
I'm not able to reproduce this.  Are the machines on the client and server ends
of the connection both running the openssh-2.2.0 package, or is the server
running a different version?

Comment 3 Gerald Teschl 2000-10-23 11:37:07 UTC
Server/client are both RH7.0+updates.
Just found some time to investigate the problem further:

X11 forwarding is only broken if "UseLogin" is set to "yes"! 

------------------------------------------
[gerald@dopefish gerald]$ ssh localhost
Last login: Mon Oct 23 13:20:10 from localhost.localdomain
You have mail.
Mon Oct 23 13:26:22 CEST 2000
[gerald@dopefish gerald]$ xterm
channel 0: istate 4 != open
channel 0: ostate 64 != open
X connection to dopefish.esi.ac.at:10.0 broken (explicit kill or server shutdown



Comment 4 Gerald Teschl 2001-03-23 13:39:03 UTC
Works now.