Re: X window on ssh
From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: 11/10/03
- Next message: Darren Tucker: "Re: SSH ignores locked accounts"
- Previous message: Michael Heiming: "Re: Getting remote user and remote host"
- In reply to: a2zasics: "X window on ssh"
- Next in thread: Steve Horsley: "Re: X window on ssh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 10 Nov 2003 08:12:29 GMT
In article <1c97c9ba.0311091939.690c8f97@posting.google.com>,
a2zasics <shardendu@verizon.net> wrote:
>I am trying to run cygwin with ssh into Linux machine. I use startx to
>start Xwindow manager on WinXP. Then i do :
>
>ssh -X -l <user> <IP-of-Linux>
>
>On Linux terminal :
>
>export DISPLAY=:0.0
Don't do that, sshd will set $DISPLAY to an appropriate value. If
$DISPLAY is not set, check that X forwarding is enabled on the server.
(For OpenSSH, check X11Forwarding and XAuthLocation, details will vary
for other SSH servers.)
If you need to mess with SSH's $DISPLAY then you're doing something
wrong.
(Actually, that isn't always true, but if you know that then you know
enough to figure out what you need to do and when.)
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- Next message: Darren Tucker: "Re: SSH ignores locked accounts"
- Previous message: Michael Heiming: "Re: Getting remote user and remote host"
- In reply to: a2zasics: "X window on ssh"
- Next in thread: Steve Horsley: "Re: X window on ssh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|