0

I am working from out of town, so I need to connect my computer at campus. Normally, when I am around the campus I can just use my ip of lab computer to forward x11 like;

ssh -X acc@lab-computer ~/idea-IC/bin/idea.sh

However,since I am out of town, I can only connect a computer of my lab then ssh to my computer but I couldn't forward X11 from my lab-computer to my laptop through a computer at my lab.

Any idea about how to do it?

1

I found out how to do it. I don't know why I didn't think of it before.

First;

ssh -X account@lab-a-computer

then;

ssh -X my-account@my-lab-computer ~/idea-IC/bin/idea.sh

brings the gui to my laptop screen.

0

I have always used X2go: http://wiki.x2go.org/doku.php

And the X2go client on my computer.... The wiki I linked should get you started and there is plenty on the web about setting up for particular distros since you did not mention one in your question. Note I belevie you will need root privileges to install.

2
  • I am using Ubuntu 15.10 on my laptop and 14.04 on my lab computer. Can I install this from ssh?
    – mtilhan
    Apr 13 '16 at 16:35
  • Simple google search gave me: howtoforge.com/… ... And Yes I install on my remote servers a few times... even thought it says 14.04 it should work on 15.10 Apr 13 '16 at 16:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.