Hello,

I am currently trying to use JSch to launch scripts on a distant computer
(running X11 application) while trying to see the output on the local one.

I use the X11Forwarding.java source file for testing.

I have one computer running Windows Vista with Xming installed and a second
one running Ubuntu 8.04.

I run X11Forwarding on the Windows box. I connect to the Ubuntu box without 
problem.
In the shell, I type xclock and everything works fine : the clock appears on my 
Windows box
(running Xming).

So, everything is fine when trying with 2 different boxes.

I now want to use X11Forwarding.java on the same machine (like a ssh localhost).
So I type usern...@localhost, choose display localhost:0 and I have my shell 
opened.
Now, when I type xclock, I have an annoying result :

xclock
X connection to localhost:10.0 broken (explicit kill or server shutdown).

When reading the auth.log file in (/var/log/) I can read :

Apr 27 21:18:18 ubuntu-2 sshd[22080]: channel 3: open failed: administratively 
prohibited: open failed

I already checked that X11Forwarding is correctly set in my 
/etc/ssh/sshd_config ( and it is working well
between Windows and Ubuntu boxes).

I guess this behavior is unwanted but I can not figure out what is the problem. 
It seems that it is rather
a problem with X11 configuration.

Can someone help into debugging this problem ? 

Which "netstat -an",  log files, Wireshark command can help ?

Best regards,

"The quick brown fox jumps over the lazydog"

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to