How to one run a program installed in one machine from another machine

executablefilesremote

Is it possible to have, say, one machine with software installed and call that software from another machine? I thought this would be called an "application server" but by googling I find things that are not exactly what I want. My scenario is basically the following:

I have a computer at home with Ubuntu and a bunch of programs, under which one Latex distribution. This is setup as a server, with ssh-access, apache and the like. From my work computer, running Windows, I would like to use my Latex at home instead of installing it locally. But I would like it to store the files, in particular the generated PDF, in the Work computer (this is actually not extremely important: I can always copy the files later, but it would just save some time if it worked).

What are the possible ways to do that?

Best Answer

Yes it is possible, but there are multiple steps involved:

  1. You must be able to reach your home computer running Linux from the internet. This means opening up port 22 (ssh) or your router at home, or a higher port if your provider blocks incoming access on ports below 1024. Then install openssh-server (and make it listen on any non-default port). You also need to know the routers IP address at home. Some routers have some functionality to update a dynamic name service. If that is not available your home computer can do that, or in the worst case send an email on a regular basis to your work address (you should be able to pull the IP address of the router from the headers of an email).

  2. Your work computer needs to be setpu with PuTTY and an X extension. PuTTY makes the secure connection, the X entension is necessary to view the remote programs that are not commandline based. You can use Xming for that. It might be that you can just run the LaTeX commands without X, depending on which editor/environment you normally use.

  3. PuTTY also allows you to copy files from your machine at home to your local machine.

Related Question