Re: can't forward X11

From: Richard E. Silverman (res_at_qoxp.net)
Date: 05/13/05


Date: 13 May 2005 00:03:34 -0400


>>>>> "AC" == Andre Charbonneau <andre.charbonneau@nrc-cnrc.gc.ca> writes:

    AC> Greetings, When I try to forward X11 through SSH using j2ssh as a
    AC> client, I get the following error in the sshd debug output:

    AC> debug1: X11 connection requested. debug2: fd 11 setting
    AC> TCP_NODELAY debug2: fd 11 setting O_NONBLOCK debug2: fd 11 is
    AC> O_NONBLOCK debug1: channel 3: new [X11 connection from 127.0.0.1
    AC> port 36476] channel 3: open failed: connect failed: Connection
    AC> refused

    AC> Any idea what might cause this 'connection refused' problem? (It
    AC> works ok when I use openSSH as a client...)

Sometimes, there is disagreement about what syntax of the DISPLAY variable
indicates a Unix-domain vs Internet socket for talking to the X server,
and you get problems like this. Trace the client and see what sort of
connect() call is failing.

-- 
  Richard Silverman
  res@qoxp.net


Relevant Pages

  • Re: Multipal systems behind the same IP
    ... RB> here but no answers (a little skinny on OpenSSH) they touch on the ... Since SSH1 and OpenSSH use the same syntax and semantics for the ...
    (comp.security.ssh)
  • Re: Multipal systems behind the same IP
    ... RB> here but no answers (a little skinny on OpenSSH) they touch on the ... Since SSH1 and OpenSSH use the same syntax and semantics for the ...
    (comp.security.ssh)
  • Re: Allow logins by username
    ... DC> Is there a way to configure OpenSSH to only allow certain usernames to log ... Sure, locate `AllowUsers' directive in sshd_config, the syntax is ...
    (SSH)

Quantcast