Re: PuTTY, X-Windows and SSH

From: Michael (michael@strange1.net)
Date: 12/05/02


From: Michael <michael@strange1.net>
Date: Thu, 05 Dec 2002 04:16:37 GMT

you need to su -l username to switch to the username's home directory,
when you do "su -" it does not change your login home

"Gandalf" <gregers_nakman@hotmail.com> wrote in
news:mpvF9.154$oN2.3464@news.get2net.dk:

> Hi Guru's
>
> 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
>
> Error: Can't open display: localhost:10.0
>
>
>
> I do understand that I need to set something on my PuTTY Client, but
> what?
>
>
>
> Does any of you know what to do?
>
> Thanks
>
> Greg
>
>
>



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
    ... This does not seem to have anything to do with either SSH or PuTTY. ... You changed to USER2, who is unable to read that ".Xauthority" file. ... Worse, you changed the home directory, so that now a completely ...
    (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)