Re: X Forwarding via ssh
Re: X Forwarding via ssh
- Subject: Re: X Forwarding via ssh
- From: "Mark J. Reed" <email@hidden>
- Date: Wed, 7 Nov 2007 12:14:04 -0500
On 11/7/07, Mark J. Reed <email@hidden> wrote:
> 2. It's possible something in your remote shell config is unsetting
> DISPLAY. Try this:
>
> ssh -Y remotehost bash --norc --noprofile -c 'echo $DISPLAY'
Whups; that actually won't get you anything even if it's working due
to quoting issues - $DISPLAY is expanded before sshd has a chance to
set it. Try this instead:
ssh -Y remotehost 'bash --norc --noprofile -c "echo $DISPLAY" '
note the extra quotes around the whole bash command line.
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden