I want to turn this application into a LXC-able image/application… so that is eventually can be instantiated with juju deploy… but I am stuck… namely on the way to forward X.
it installs fine on my baremetal ubuntu 20.04 environment… but if I want to get a more manageable approach for down the road… I think I need to roll this into a juju charm, but unsure where to begin forwarding the graphical UI… so that it can be fully installed and logged into once installed.
No, LXD is what I meant… I got to hear from one of the guys at Canonical about LXD and the LXC relationship and I sometimes get thrown off. I’ll follow this link and give it a shot!
There are too many ways to get a graphical program to run in a LXD container.
If you do not require GPU hardware acceleration, you can even use ssh -X.
That is, ssh -X to the container that has the tool, then run the tool. The output for the window should appear on your desktop.
Thank you Simos, I knew of -X but worried since my goal is eventual juju charm deployment, will SSH -X impede that goal? Feels like I still need to forward X without SSHing…
I am hoping to juju deploy “app_name” on LXD, and the GUI will pop up and I can login.
I am not familiar with juju deploy. What happens under the hood when you run that comment?
I suppose you get to run something in the container (good). Do you also get to run something on the host?
I am not an expert on Juju nor juju charms, but there is what is called a Controller… which usually resides as its own VM in the target cloud (in my case LXD) … you can likely execute something in that controller… but no not the host …
Perhaps it would work just to get the node up… and I then SSH -X to complete the setup… but I am aiming for a more automated solution which requires less input from the end user (because it won’t be someone ssh savy)