Re: problem with X11Forwarding

Asif Iqbal <[email protected]> Fri, 27 May 2011 23:18:51 -0400
Newsgroups gmane.network.openssh.general
Message-ID <[email protected]>
On Mon, May 23, 2011 at 4:35 AM, Mahmood Naderan <[email protected]> wro=
te:
> Hi,
> I have enabled X11Forwarding in sshd_config
>
> mahmood@server:~$ cat /etc/ssh/sshd_config | grep "X11*"
> X11Forwarding yes
> X11DisplayOffset 10
>
>
> However when I connect through "ssh -X server_ip" and run "xclock" I get =
this error:
>
> =A0mahmood@server:~$ xclock
> Error: Can't open display:

does the xterm work on the server where you are running the  `ssh -X  ..' ?


>
>
> Any way to fix that?
> // Naderan *Mahmood;
>



--=20
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?