Bug 135849
| Summary: | no default X11 forwarding or broken with RHEL3 and other UNIX | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Uwe Beck <ubeck> |
| Component: | openssh | Assignee: | Tomas Mraz <tmraz> |
| Status: | CLOSED DUPLICATE | QA Contact: | Brian Brock <bbrock> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.0 | CC: | barryn |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2005-01-31 21:30:29 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: | |||
> -> 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.
|
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.