1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 11:32:48 -05:00

X forwarding changes:

- new function platform_get_x_display() to find a sensible local display.
   On Unix, the Gtk apps weren't taking account of --display when
   determining where to send forwarded X traffic.
 - explicitly document that leaving X display location blank in config tries
   to do something sensible (and that it's now blank by default)
 - don't override X11Display setting in plink, since that's more properly
   done later

[originally from svn r4604]
This commit is contained in:
Jacob Nevins
2004-10-06 22:31:07 +00:00
parent e375ba107d
commit 98028c746f
10 changed files with 61 additions and 22 deletions

View File

@ -1,4 +1,4 @@
\versionid $Id: config.but,v 1.91 2004/10/02 00:33:27 jacob Exp $
\versionid $Id: config.but,v 1.92 2004/10/06 22:31:07 jacob Exp $
\C{config} Configuring PuTTY
@ -2106,10 +2106,10 @@ forwarding allows you to securely give those applications access to
a local X display on your PC.
To enable X11 forwarding, check the \q{Enable X11 forwarding} box.
If your X display is not the primary display on your local machine
(which it almost certainly will be unless you have deliberately
arranged otherwise), you need to enter its location in the \q{X
display location} box.
If your X display is somewhere unusual, you will need to enter its
location in the \q{X display location} box; if this is left blank,
PuTTY try to find a sensible default in the environment, or use the
primary local display (\c{:0}) if that fails.
See \k{using-x-forwarding} for more information about X11
forwarding.

View File

@ -1,4 +1,4 @@
\versionid $Id: using.but,v 1.32 2004/09/22 22:15:25 jacob Exp $
\versionid $Id: using.but,v 1.33 2004/10/06 22:31:07 jacob Exp $
\C{using} Using PuTTY
@ -304,9 +304,10 @@ does do.
You should then tick the \q{Enable X11 forwarding} box in the
Tunnels panel (see \k{config-ssh-x11}) before starting your SSH
session. The \q{X display location} box reads \c{localhost:0} by
default, which is the usual display location where your X server
will be installed. If that needs changing, then change it.
session. The \q{X display location} box is blank by default, which
means that PuTTY will try to use a sensible default such as \c{:0},
which is the usual display location where your X server will be
installed. If that needs changing, then change it.
Now you should be able to log in to the SSH server as normal. To
check that X forwarding has been successfully negotiated during