Re: PuTTY, X-Windows and SSH

From: Neil W Rickert (rickert+nn@cs.niu.edu)
Date: 11/28/02

  • Next message: Kyler Laird: "Re: Any good, inexpensive SSH tunneling services?"
    From: Neil W Rickert <rickert+nn@cs.niu.edu>
    Date: 28 Nov 2002 21:57:49 GMT
    
    

    "Gandalf" <gregers_nakman@hotmail.com> writes:

    >I'm using the new 0.53 version of PuTTY to connect to a True64 Host running
    >OpenSSH.
    >I have enabled X11 forwarding on both Server and Client.
    >echo $DISPLAY gives me localhost:10.0 and if I run /usr/bin/X11/xeyes
    >it works fine.

    >If I use "su - <user>", and then try to run the same program I get:
    >Xlib: connection to "localhost:10.0" refused by server

    >Xlib: Authentication failed at PuTTY X11 proxy

    This does not seem to have anything to do with either SSH or PuTTY.

    You logged in as USER1. Your X-authentication credentials are in
    the file ".Xauthority" under the home directory of USER1.

    You changed to USER2, who is unable to read that ".Xauthority" file.
    Worse, you changed the home directory, so that now a completely
    different ".Xauthority" file is being consulted.

    You need to look at the man pages for "xauth" to work out ways of
    exporting the information so that it is accessible to USER2.



    Relevant Pages

    • Re: Help! Public key stopped working w/putty
      ... We finally solved the problem ourselves -- my home directory gave the ... home directory permissions to 700), ... > to the Linux box (running OpenSSH server). ... >, Putty insists on asking me ...
      (comp.security.ssh)
    • Re: Help! Public key stopped working w/putty
      ... We finally solved the problem ourselves -- my home directory gave the ... home directory permissions to 700), ... > to the Linux box (running OpenSSH server). ... >, Putty insists on asking me ...
      (comp.security.ssh)
    • Re: PuTTY, X-Windows and SSH
      ... you need to su -l username to switch to the username's home directory, ... > I'm using the new 0.53 version of PuTTY to connect to a True64 Host ... > I have enabled X11 forwarding on both Server and Client. ... > I do understand that I need to set something on my PuTTY Client, ...
      (comp.security.ssh)
    • Re: a generic Windows 95/98 ssh client
      ... > Both putty and ttssh have their attractions. ... And you can stash a copy in your home directory, too, for systems where you ... don't have priviledges to install local software in the various system ...
      (comp.security.ssh)
    • Re: a generic Windows 95/98 ssh client
      ... > Both putty and ttssh have their attractions. ... And you can stash a copy in your home directory, too, for systems where you ... don't have priviledges to install local software in the various system ...
      (comp.security.ssh)