Share:
Notifications
Clear all

UPDATE FROM MABULA

I have had a very rough 2 months unfortunately health wise. I was struck 3x in a row with bacterial infections. The second infection occurred  after a routine hospital checkup and I became very sick. I had to rest and take a lot of antibiotics. Once I was recovering and restarting work 1 month ago, I again became sick. The infection was not yet gone, so even more antibiotics and rest was needed. Needless to say, it took a lot of my energy and I needed a lot of rest.

 

Finally, the infection is really gone and my energy is coming back step-by-step now and I have started work again. I am terribly sorry to have kept you waiting for support. I will address all outstanding questions and e-mails step-by step and will be on the forum daily from today.

 

APP 2.0.0-beta47 will come soon as well, a lot of work was already completed before I became very ill, so the release is also nearly ready for you. Beta47 will be much faster actually. Many workflows will be more than 2x faster, mosaics can even be 10x faster than before because registration really received a major boost... all compared to beta46.  Before I release it, I will make sure that everything is working properly and then I will release it.

[Sticky] Tutorial (Linux): How to run APP on a powerful server remotely

5 Posts
2 Users
1 Reactions
8,505 Views
(@kecsap)
Molecular Cloud
Joined: 8 years ago
Posts: 3
Topic starter  

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:

X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost no

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:

-Djogl.disable.openglarbcontext=true

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):

Host YOUR_SERVER_IP
  ForwardX11 yes
  ForwardX11Trusted yes

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.

 


This topic was modified 8 years ago 3 times by kecsap

   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 9 years ago
Posts: 5369
 

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?

Thanks !

Mabula

 



   
ReplyQuote
(@kecsap)
Molecular Cloud
Joined: 8 years ago
Posts: 3
Topic starter  

Hi Mabula,

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.

Csaba



   
Mabula-Admin reacted
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 9 years ago
Posts: 5369
 

Hi Csaba,

Thank you once again for this tutorial 😉

I have upgraded this to a sticky.

Mabula

 



   
ReplyQuote
(@kecsap)
Molecular Cloud
Joined: 8 years ago
Posts: 3
Topic starter  
Posted by: @kecsap

ssh -X YOUR_SERVER_IP DISPLAY=:10 /opt/AstroPixelProcessor/AstroPixelProcessor

 

Nowadays, it is also enough on Ubuntu 18.04:

ssh -X YOUR_SERVER_IP /opt/AstroPixelProcessor/AstroPixelProcessor


   
ReplyQuote
Share: