Re: [JSch-users] Problems with X-Forwarding Example

2011-07-15 Thread Shai Ayal
On Sat, Jul 16, 2011 at 1:53 AM, Maria wrote: > 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 > thin

Re: [JSch-users] Problems with X-Forwarding Example

2011-07-15 Thread Maria
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

Re: [JSch-users] Problems with X-Forwarding Example

2011-07-15 Thread Paul Ebermann
Maria schrieb: > I am running into some problems with the X11Forwarding example included in > Jsch. > Here are the details: > > - Jsch 0.1.44 running on an Ubuntu 11.04 PC and also on a Mac Os X 1.6.8 > laptop. > - When using Jsch on Ubuntu to do a localhost ssh, I get the infamous > message

[JSch-users] Problems with X-Forwarding Example

2011-07-15 Thread Maria
Hi, I am running into some problems with the X11Forwarding example included in Jsch. Here are the details: - Jsch 0.1.44 running on an Ubuntu 11.04 PC and also on a Mac Os X 1.6.8 laptop. - When using Jsch on Ubuntu to do a localhost ssh, I get the infamous message: "Error: Can't open displa