FelixBaensch / MORTAR

MOlecule fRagmenTAtion fRamework
MIT License
18 stars 3 forks source link

Add section to tutorial about the possibility to run MORTAR remotely on a server and tunnel the GUI to desktop using X #85

Closed JonasSchaub closed 2 months ago

JonasSchaub commented 3 months ago

Kohulan got this to work. General: https://www.baeldung.com/linux/forward-x-over-ssh Kohulan used XQuartz: https://www.xquartz.org

JonasSchaub commented 2 months ago

Maybe mention that the phenomenon mentioned here could happen https://github.com/FelixBaensch/MORTAR/issues/83 or simply "unexpected behaviour". I don't want to take responsibility for how MORTAR behaves when it is tunneled this way, similar to when it is run via the WSL.

FelixBaensch commented 2 months ago

To be honest, I would simply mention that this is possible and then refer to the references. This is not something that only works explicitly with MORTAR, it should work with "any" application.

JonasSchaub commented 2 months ago

That was basically my intention as well 👍

JonasSchaub commented 2 months ago

@FelixBaensch , what do you think?

"The X / X11 / X Window System can be used to run a graphical application like MORTAR on a remote server while displaying the graphical user interface on the local machine / personal computer. This setup can be beneficial if more computing power or memory is required to analyse large data sets. However, please note that while this is possible in principle, unexpected behaviour from MORTAR may occur. We cannot take responsibility for or recommend this way of deployment, similar to using the WSL as mentioned above." (added in the installation section after the instructions for Linux/Mac)

FelixBaensch commented 2 months ago

If you really want to mention it, then the paragraph is good

JonasSchaub commented 2 months ago

It may be helpful for people. Until we have a "MORTAR CMD/CLI" version that can run on servers or in the cloud, this is the only way to run MORTAR on remote machines without a graphical interface. And Kohulan got it to work quite easily.