Bugzilla – Attachment 2595 Details for
Bug 1682
verbose log message unclear when X11 forwarding denied
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
debug log missing $DISPLAY when ForwardX11
log_no_display.diff (text/plain), 857 bytes, created by
Damien Miller
on 2015-04-17 16:49:06 AEST
(
hide
)
Description:
debug log missing $DISPLAY when ForwardX11
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2015-04-17 16:49:06 AEST
Size:
857 bytes
patch
obsolete
>diff --git a/ssh.c b/ssh.c >index c4087c1..ccf522b 100644 >--- a/ssh.c >+++ b/ssh.c >@@ -1623,6 +1623,8 @@ ssh_session(void) > } > /* Request X11 forwarding if enabled and DISPLAY is set. */ > display = getenv("DISPLAY"); >+ if (display == NULL && options.forward_x11) >+ debug("X11 forwarding requested but DISPLAY not set"); > if (options.forward_x11 && display != NULL) { > char *proto, *data; > /* Get reasonable local authentication information. */ >@@ -1724,6 +1726,8 @@ ssh_session2_setup(int id, int success, void *arg) > return; /* No need for error message, channels code sens one */ > > display = getenv("DISPLAY"); >+ if (display == NULL && options.forward_x11) >+ debug("X11 forwarding requested but DISPLAY not set"); > if (options.forward_x11 && display != NULL) { > char *proto, *data; > /* Get reasonable local authentication information. */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dtucker
:
ok+
Actions:
View
|
Diff
Attachments on
bug 1682
: 2595