Re: No DISPLAY set in -X Tunneling

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


Date: 21 Apr 2005 21:16:55 -0400


Some of what you've written is a little vague -- for example, you talk
about "the host computer," and it's not clear whether you mean the SSH
client or server (they are both "hosts"). However, two things suggest you
have a basic misunderstanding;

> 2. On the remote machine which is running X I issue a 'ssh -vvvX
> 192.168.1.12' and am able to sign on the host machine. (These are in a
> router network.)
>
> ...
>
> The only thing I saw was that the xauth generate command contacted the X
> server. If it isn't working for that user on the host, I really am not sure
> how this can work.

In SSH forwarding, the SSH *client* is running an X server (i.e. has an X
display). The X forwarding allows X clients running on the SSH server to
use the SSH client's display. The "xauth generate" command establishes a
new X security key for use with this session, and so naturally talks to
the X server to accomplish that.

-- 
  Richard Silverman
  res@qoxp.net


Relevant Pages

  • Re: ssh security question
    ... In my case - the client is a windows client and the ssh is embedded into the windows nx client. ... Is there any reason I can't run ssh-keygen on the server and copy the private key to the client - and the public key to the "authorised" directory? ... sniffer can catch your passwords, and it would make it trivial to log in ...
    (SSH)
  • Re: Publishing a SSH Server
    ... Your unix box cannot reply to SSH request, ... Create a client address set for your unix box (ip address from to are the ... Jim Harrison [ISA SE] ... In that case the server is a SecureNET client but still it doesn't work.... ...
    (microsoft.public.isa.publishing)
  • Re: FC6 VPN
    ... Then you can run any application you would like off the server by simply running it, or if you want to run a whole session, use gnomesession. ... ssh client that supports X forwarding, which is want you want to be looking at. ... SSH allows you to forward any local port to any remote port. ... If you need to connect to, say a windows share, you would forward your local port to the linux server through the ssh tunnel. ...
    (Fedora)
  • Re: Password less login between client & server, server & client
    ... password less logins on both the ssh client and ssh server. ... Login as the user that is making the connection. ...
    (comp.security.ssh)
  • Re: Apache Software Foundation Server compromised, resecured. (fwd)
    ... this was one "result" of the comromised ssh binary at sourceforge. ... a public server of the Apache Software Foundation ... > (ASF) was illegally accessed by unknown crackers. ... > exhaustive audit of all Apache source code and binary distributions ...
    (FreeBSD-Security)