Bug 135849 - no default X11 forwarding or broken with RHEL3 and other UNIX
Summary: no default X11 forwarding or broken with RHEL3 and other UNIX
Keywords:
Status: CLOSED DUPLICATE of bug 137685
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: openssh
Version: 4.0
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Tomas Mraz
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-15 12:24 UTC by Uwe Beck
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-01-31 21:30:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Uwe Beck 2004-10-15 12:24:12 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.4.3)
Gecko/20040924

Description of problem:
X11 forwarding was always default in /etc/ssh/ssh_config.
Since openssh 3.8 there are some new parameters for X11 forwarding needed.

Typical problem:

1. Error: Can't open display:
 -> resolution in /etc/ssh/ssh_config
Host *
        ForwardX11 yes

2. connect to RHEL3 or other UNIX
X Error of failed request:  BadDrawable (invalid Pixmap or Window
parameter)
  Major opcode of failed request:  73 (X_GetImage)
  Resource id in failed request:  0x48
  Serial number of failed request:  184
  Current serial number in output stream:  184

-> resolution in /etc/ssh/ssh_config
Host *
        ForwardX11 yes
        ForwardX11Trusted yes

With this parameters you can connect to all other systems and X11
forwarding works as default.


Version-Release number of selected component (if applicable):
openssh-clients-3.9p1-3

How reproducible:
Sometimes

Steps to Reproduce:
1. connect with ssh to other systems than RHEL4_BETA1
2. start a X11 program
3.
    

Actual Results:  X11 forwarding is not available by default

Expected Results:  X11 forwarding should be available by default

Additional info:

The new ssh_config parameters already comes with openssh version 3.8.

Comment 1 Barry K. Nathan 2004-10-18 02:28:55 UTC
> -> resolution in /etc/ssh/ssh_config
> Host *
>         ForwardX11 yes
>         ForwardX11Trusted yes

Very Bad Idea(tm). X11 forwarding is being disabled by default because
automatically doing it by default is insecure. (Red Hat should have
changed their default to the upstream default a long time ago, but at
least they're doing the right thing now.)

Users can use the -X and -Y options to ssh as needed, or configuration
files can be changed to automatically enable X11 forwarding on a
per-host basis.

Comment 2 Tomas Mraz 2005-01-31 21:29:03 UTC

*** This bug has been marked as a duplicate of 137685 ***


Note You need to log in before you can comment on or make changes to this bug.