On 02/10/2012 12:06 PM, Shai Ayal wrote:


On Fri, Feb 10, 2012 at 11:59 AM, Mattia <mat...@tekno-soft.it <mailto:mat...@tekno-soft.it>> wrote:

    On 02/10/2012 10:47 AM, Shai Ayal wrote:


    On Fri, Feb 10, 2012 at 11:40 AM, Mattia <mat...@tekno-soft.it
    <mailto:mat...@tekno-soft.it>> wrote:

        On 02/10/2012 09:51 AM, Atsuhiko Yamanaka wrote:
        > Hi,
        >
        >     +-From: Mattia<mat...@tekno-soft.it
        <mailto: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
        >
        >
        > Sincerely,
        > --
        > Atsuhiko Yamanaka
        > JCraft,Inc.
        > 1-14-20 HONCHO AOBA-KU,
        > SENDAI, MIYAGI 980-0014 Japan.
        > Tel +81-22-723-2150 <tel:%2B81-22-723-2150>
        > Skype callto://jcraft/
        > Twitter: http://twitter.com/ymnk
        > Facebook: http://facebook.com/aymnk
        >
        Hello.

        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. In the
        virtual
        machine running Ubuntu the X server is listening to the TCP
        port 6010.

        Using xhost doesn't seem to be of any help.

        Regards.

        
------------------------------------------------------------------------------
        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
        <mailto:JSch-users@lists.sourceforge.net>
        https://lists.sourceforge.net/lists/listinfo/jsch-users

    Does it work for you without ssh?
    phys> xhost +virt
    phys> rsh virt
    virt> xterm -d phys:0

    Shai


-- SPT <https://market.android.com/details?id=org.ayal.SPT> -
    persistent SSH tunnels for android.

    Mmh I am afraid I can't do this test with rsh.


What do you mean "You can't do that" -- don't you have rsh or you try and it doesn't succeed?
if you don't have rsh, try ssh without x-forwarding:
phys> xhost +virt
phys>  ssh -x  virt
virt> xterm -d phys:0

Note the "-x" argument to ssh which will disable ssh's built-in x-forwarding


--
SPT <https://market.android.com/details?id=org.ayal.SPT> - persistent SSH tunnels for android.

Rsh is not available for use.

I tried with ssh -x and I get this

xterm Xt error: Can't open display:
xterm:  DISPLAY is not set

Thanks for your help!
------------------------------------------------------------------------------
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

Reply via email to