Paul Ebermann <Paul-Ebermann@...> writes:

> 
> Yeah, I had the same problem. The problem is that from Java we only can
> access the X server by TCP (JSch tries the usual port on 6000+display number),
> while Ubuntu (as some other Linux distributions) lets the X server listen 
> only 
on
> a Unix domain socket (by default).
> 
> I asked this question about this: http://askubuntu.com/q/41330/11138
> 

> 
> Paŭlo
> 
>
> 

Hi Paŭlo,

Thank you for your answer + explanation. socat did the trick and it was good 
enough for testing purposes. My end goal is to run Jsch on Android; I am not 
sure if I will run into the same problem; I am not even sure how the whole X11 
thing will play out but it was good to test out the code on my Ubuntu machine.

I really appreciate it.





------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to