Bug 18934

Summary: X11 forwarding not requested with DISPLAY defined
Product: Base System Reporter: larson <larson>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description larson 2000-06-01 09:30:00 UTC
The man page says X11 forwarding is requested when DISPLAY is set
on the originating system.  It is apparently not so, as -X needs
to be set as well in the originating command.

This might be related to the defaulting of X11 to disabled in sshd
referred to in a previous bug report, in that someone turned them
both off, but why?

How-To-Repeat: verify DISPLAY set to your display
ssh remote-host-that-allows-xforwards
Comment 1 Johan.Karlsson 2000-08-02 15:42:52 UTC
Hi

From ssh(1) on a 4.1-Stable

"Forwarding of X11 connections weakens the security of ssh and is 
disabled by default.  X11 forwarding can be enabled on the command line
or in configuration files."

Hence you need to uncomment 
#   ForwardX11 yes
in the ssh_config file (in /etc/ssh for 4.2-stable with OpenSSH).

/Johan K


-- 
Johan Karlsson              Phone : +46 (0)920 720 16 
Systemteknik, Datalogi      Fax   : +46 (0)920 721 91 
Luleå Tekniska Universitet  E-mail: Johan.Karlsson@SM.LuTH.SE
S-971 87 LULEÅ, SWEDEN
Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-02 16:12:52 UTC
State Changed
From-To: open->feedback

Are you happy with Johan's explanation?
Comment 3 dirk freebsd_committer freebsd_triage 2000-11-08 16:45:38 UTC
State Changed
From-To: feedback->closed

Feedback timeout...