gravatar for i.sudbery

1 hour ago by

Sheffield, UK

There are three ways to do this:

  1. X forwarding
  2. Remote Desktop
  3. Mount the remote machine as a network share on the local machine.

In both the first two cases you need to install IGV of the remote linux machine. Older version are available from most of the main linux repos, so you should be able to install with something like apt-get install igv or yum install igv. Alternatively if you use the (ana)conda package management system on the remote machine, you can install a recent version with conda install igv -c bioconda.

If you are using Windows or OSX on the local machine you will need to install an X server on your local machine. There are several windows X11 servers, that are either intergrated with terminal emulators or stand alone. The VcXsrv server is popular as a standalone solution and mobaXterm integrates a terminal and ssh solution.

In OSX you'll need to install XQuartz.

Now connect to your remote server with your favourite SSH solution making sure you configure it to forward X11 connections. On the commnad line thats ssh -X. Start IGV on the remote machine and if your X Server is correctly configured, IGV will appear on your local machine.

If the remote machine is a desktop linux machine, you should be able to run a remote desktop sharing daemon on it and then connect to that remote desktop from the local machine. I've successfully used Chrome Remote Desktop for this, but many other solutions exist.

Basically in this solution you make the disk of the remote machine appear like a network drive on the local machine. The most fail safe way to do this is using sshfs, which use can use to connect to any machine that will accept incoming ssh connections.

Source link