We have updated the forum software 🙂 ! We are now working on upgrading the whole site and the Forum to a dark theme... so please refresh your internet browser twice to properly update the forum appearance AND functionality... Check your internet browser for the refresh function, on windows, this usually is the F5 button, but it depends on your internet browser.
[Sticky] Tutorial (Linux): How to run APP on a powerful server remotely
The tutorial shows how to run APP on a powerful server/desktop, but use the UI on an other machine (e.g. laptop) securely via SSH. It is recommended to run only on your home network with good Ethernet/WLAN bandwidths. I written these instructions for Ubuntu Linux. You need to adapt these steps for your own distribution if needs be.
Setup the server/desktop:
1. Install APP and openssh server. It is assumed that you have a running Xorg server on the machine.
2. Enable X11 forwarding in /etc/ssh/sshd_config:
3. Restart ssh on the server: sudo service ssh restart
4. Modify the APP config because it uses OpenGL and it crashes the X11 forwarding with SSH. Edit /opt/AstroPixelProcessor/app/AstroPixelProcessor.cfg and add the following line to the [JVMOptions] section:
Setup the laptop where you will see and control the UI:
1. Install ssh client.
2. Enable the X11 forwarding in the client config. For security reasons, enable only from the server. Edit or create the ssh config file under your home directory (/home/your_username/.ssh/config):
3. Run APP on the server from your laptop:
ssh -X YOUR_SERVER_IP DISPLAY=:10 /opt/AstroPixelProcessor/AstroPixelProcessor
4. Enter your license information and process your images as usual.
Hi Csaba @kecsap,
Wow, thank you very much for this instruction. This is simply awesome 😉 !
I know about X11 forwarding through SSH, used it myself during my astrophysics studies 🙂 to use the calculation power of the astrophysics department from home.
Excellent that you knew how to disable opengl in the configuration of the application as well. I should probably make this easier in APP's configuration through it's gui, so I will add this to my todo list.
Are you running APP on a powerful network of you own, company or university perhaps?
Main developer of Astro Pixel Processor and owner of Aries Productions
I did not know how to disable OpenGL, but the initial UI refresh was broken thus I had to google a solution for a few hours, I am not familiar with Java. 🙂
I just use my home server which is packed with bunch of RAM, CPU cores and that is the place where I upload my subs. It was straightforward to make this X11 forwarding work for your app.