rayymlai / docker-paas-stack

Dockerfiles to build micro-services, e.g. NodeJS, MongoDB, RabbitMQ, NetData
MIT License
0 stars 0 forks source link

Question: running fully headless #1

Open ChristopherRabotin opened 7 years ago

ChristopherRabotin commented 7 years ago

Hi there,

I was wondering whether you have gotten gmatConsole to run headless without starting a VNC session into the instance.

I am currently working on doing something similar on a Windows machine.

Thanks.

rayymlai commented 7 years ago

To my knowledge, if you install gmat on windows, you can access via remote desktop without VNC. I have not tried it on windows machine yet.

On Linux, the reason for using VNC is that I can easily resolve the display port config issues between the headless docker instance and my client pc or browser. I did not have much success to configure the browser client, or on a headless docker Linux. The easier way is to do VNC on a browser (e.g. chrome on a chromecast stick which has a built-in VNC client) with password.

I'd assume it's feasible to add DISPLAY settings to allow your GMAT Linux graphical display to re-direct to a remote x11 client, and you probably need to: [1] add DISPLAY to your remote IP address and port, [2] make sure your Linux security policy is enabled. I tried briefly without success. Try something like https://unix.stackexchange.com/questions/12755/how-to-forward-x-over-ssh-to-run-graphics-applications-remotely.