On 02/10/2012 12:42 PM, Atsuhiko Yamanaka wrote: > Hi, > > +-From: Mattia<mat...@tekno-soft.it> ---- > |_Date: Fri, 10 Feb 2012 10:40:44 +0100 __ > | > |On 02/10/2012 09:51 AM, Atsuhiko Yamanaka wrote: > >> Hi, > >> > >> +-From: Mattia<mat...@tekno-soft.it> ---- > >> |_Date: Thu, 09 Feb 2012 18:52:11 +0100 __ > >> | > >> |Hello list! > >> |I'm facing some troubles trying to execute any kind of graphical > >> |program using JSch (versions 0.1.45 and 0.1.46). > >> > >> Confirm that the local X sever is listening to TCP port 6000, > >> $ netstat -na | grep 6000 > >> , and then allow connections to it without X authenticity checking, > >> $ xhost +127.0.0.1 > > |In the (physical) Fedora machine the X server is not listening to the > |TCP port - I'm guessing it's using the socket in /tmp. > > If you don't to enable TCP port 6000, you don't have any hope. > It is in pure java, and JDK API must not allow to handle unix domain sockets. > > > Sincerely, > -- > Atsuhiko Yamanaka > JCraft,Inc. > 1-14-20 HONCHO AOBA-KU, > SENDAI, MIYAGI 980-0014 Japan. > Tel +81-22-723-2150 > Skype callto://jcraft/ > Twitter: http://twitter.com/ymnk > Facebook: http://facebook.com/aymnk > Ok I enabled the TCP port.
This is the output now of `netstat -al | grep 6000" on the physical machine: (standard input):4:tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN (standard input):39:tcp 0 0 :::6000 :::* LISTEN (standard input):45:tcp 0 0 ::1:6000 ::1:58897 TIME_WAIT (standard input):46:tcp 0 0 ::1:6000 ::1:58899 TIME_WAIT (standard input):47:tcp 0 0 ::1:6000 ::1:58896 TIME_WAIT (standard input):48:tcp 0 0 ::1:6000 ::1:58898 TIME_WAIT while in the virtual machine (where the command is `netstat -al | grep 6010`, apparently it listens on that port): (standard input):8:tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN (standard input):14:tcp6 0 0 ::1:6010 :::* LISTEN Still can't get it to work as it should though. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users