This message was deleted.
# elemental
a
This message was deleted.
w
Hi @dazzling-midnight-86! are you running X+xhost inside a container?
d
in elemental server
w
Okay, and is the X server running?
d
I dont think so
w
Alright, been a while since using X but you probably need it running (
startx
might do it?)
d
Startx could not be installed as it has been deprecated, do you have any other way to enable Xhost command?
I have also tried to install xorg-x11-server but didnt work
w
Hmm, elemental and sle-micro are not really built for running X and desktop apps.. what use-case are you trying to achieve?
d
I need to run GUI application via Docker on elemental OS
Hi @witty-table-40840 we need to run services like cockpit, grafana etc on elemental OS, so whenever OS start, our service auto prompt with GUI so we can directly use those services without interact with terminal. If you have any other way to achieve it, please let me know?
w
Hi @dazzling-midnight-86! I think I might be missing something.. Cockpit and Grafana should both be able to run inside k8s deployments and exposed to the network using an ingress or service.. I'm not sure how the GUI comes into play.
d
@witty-table-40840 Yes, we can expose it via ingress, however for that we need to run application via some browser Example: grafana:9000 but we want that as when we deploy an application on k8s in elemental OS, it auto-prompt the application via GUI without any manually putting <application-name:port-no> on some browser. For Refrence - https://medium.com/geekculture/run-a-gui-software-inside-a-docker-container-dce61771f9
w
Hmm alright then we are back to why X is not starting.. what display-manager are you using? maybe try running
systemctl start <display-manager>
?
d
I could not find any display-manager in elemental OS
w
Fair enough, you will need to install it in the same way as your other deps
d
@witty-table-40840 i am trying to install display manager but its giving error. Please suggest something to install display-manager
Hi @witty-table-40840 gently reminder
w
Hi @dazzling-midnight-86! Hmm, you can make the rootfs writeable by booting with kernel cmdline
rd.cos.debugrw=1
d
@witty-table-40840 I did it.. but could not install display manager as shown in above screenshot
w
alright, did you try increasing the size of the overlay? should be 25% of memory per default.. maybe up it to 35%? (
OVERLAY: "tmpfs:25%"
) in /system/oem dir)