Re: ssh and X forwarding
On Tue, Mar 28, 2006 at 11:01:06AM +0530, H S Rai wrote:
> On stable Debian installed PC, it appers that X is not
> allowed with ssh. As on issuing command:
>
> ssh -X ip.number1 gnome-terminal
>
> it open a window, but issuing any command of graphic
> program, says:
>
> >Gtk-Warning **: cannot open display
>
This is probably an FAQ :) Debian disables X forwareding over SSH
by default, just as it also disables XDM logins round port 6000.
The sshd_config file (probably under /etc/ssh/sshd_config or somewhere
similar) has AllowX11Forwarding no
Change that to yes and restart sshd
HTH,
Andy
> Same command for other PC (ip.number2 having RedHat9) opens
> the gnome-terminal without problem.
>
> How I can allow ip.number1 to forward X?
>
> --
> H.S.Rai
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
Reply to: