You need to enable it on the server.

In /etc/ssh/sshd_config:
X11Forwarding yes

And then restart sshd. (/etc/init.d/sshd restart)

If that still doesn't work, start up sshd on a high port in debug
mode, and then connect to that port from the client. That usually
gives you more detailed error messages.

server# sshd -d -p 1234
client# ssh -v -p 1234 server

On Thu, 04 Sep 2003, Lansing, Dan wrote:

> Ok...ive been hearing about forwarding X through ssh but have not been able to get this to work
> 
> I have tried the -X switch but when I type startx I get the normal text scrolling by when x starts but no x.....am I missing something? I have to ctrl+c to get a usable prompt
> 
> This is what I do
> ssh -X -l root xxx.xx.xx.xxx
> get the normal ssh session but unable to start x....what am I doing wrong?
> 
> Dan Lansing
> 
> 

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list