Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So I have Ktorrent running all the time on my remote host, and I have to change some of the settings on it every once and a while that can't be changed through the web ui. So I was wondering if there was a way to have the applications gui show up on my local computer so that I can change the settings. Both computers are running the same version of Ubuntu, and I need the window that opens up to be the same instance of the application that is already running on my remote computer. Any one have any ideas on how to do all of this.

share|improve this question

You can start the application in a different X server like Xvnc. You can then connect to this X server via various "Remote Desktop Clients" from any computer.

share|improve this answer
One can also share the default desktop over VNC with e.g. x11vnc. What one uses is case based. – Daniel Andersson Jun 4 '12 at 14:17
I don't want to open another instance of the client. It has to be the one that is already running. – Garethj94 Jun 4 '12 at 14:17
@Garethj94: Then look at x11vnc which shares an existing desktop session over VNC. – Daniel Andersson Jun 4 '12 at 14:18
@DanielAndersson is it possible to just do that for one application in the desktop or would it be the entire desktop, also what ports would it be running on? – Garethj94 Jun 4 '12 at 14:26

There are many ways to accomplish this task including ForwardX11, xhost, and freeNX.

On your ubuntu machine running ktorrent edit the file /etc/ssh/ssh_config and add the following lines:

ForwardAgent yes
ForwardX11 yes
ForwardX11Trusted yes

Next, open /etc/ssh/sshd_config and make sure this line is present (if not add/change it):

X11Forwarding yes

Restart the SSH server and from the client machine run: ssh -X user_name@server-ip

After you're logged in run gnome-session or just ktorrent.

Other SSH options that may work:

Alternatively UltraVNC and x11vnc both offer "single window sharing".

x11vnc can be used with the -id or -sid option to share a single application window. To find the id of the application run the command xwininfo on the server and click the window or use the -id pick option to have x11vnc run xwininfo remotely.

share|improve this answer

Though the question was, how to display a running application, in this case, I would suggest you using some remote control plugin.

share|improve this answer
The web ui does not let you change the download location for the files. It can only be done from the application. – Garethj94 Jun 6 '12 at 0:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .