Hello, my story begins in with this thread: https://forums.opensuse.org/showthread.php/529883-Lightworks-missing-libcrypto-so-10
We basically concluded that Lightworks will NOT work on Tumbleweed.
I had the idea to create a docker image to run it.
Here are my files:
RUN apt-get update -y && apt-get upgrade -y
RUN apt-get install wget -y
RUN wget "https://www.lwks.com/index.php?option=com_docman&task=doc_download&gid=194" -O lightworks.deb
RUN dpkg -i lightworks.deb || true
RUN apt-get install -f -y
RUN groupadd -r lightworks && useradd -r -g lightworks -G audio,video lightworks && mkdir -p /home/lightworks && chown -R lightworks:lightworks /home/lightworks
And the execution:
docker run -it --net host -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY --device /dev/snd --device /dev/dri -v /dev/shm:/dev/shm --name lightworks lightworks
It doesn’t work, it just exits after a second or so. What did I do wrong?
You might want to take some time and browse some of the many plugins and images that have been written to support X11 instead of trying to pass the most basic commands as you’ve done…
What’s available is fast changing all the time, so I don’t know that recommending anything specific today will still be recommended tomorrow, but here are a couple to take a look at…
Plumlee is a gaming company that maintains and updates their own dockerized nvidia image (for those using an nvidia GPU)
Don’t reinvent the wheel they say. Thx
UPDATE: there’s apparently a bug in the openSUSE docker package - the docker init binary is missing. Trying to resolve it with the owner of x11docker here: https://github.com/mviereck/x11docker/issues/23
If you have any questions, ask there, I don’t really know what it means.
There is also some useful information on how to run lightworks properly in x11docker.
I may find some time over the weekend to take a look at this.
Your github issue contains some long code snippets…
Have the both of you considered posting the code separately in a gist or a pastebin? - That would allow a person to quickly skim through your discussion without being forced to also scroll through every line of code (That makes for easier continuity following your discussion).
Need info to replicate your setup…
Besides TW, what is your Desktop (am guessing KDE/Plasma from what I read) although it also looks like you installed PCManFM (which is largely built on gnome). BTW - When I encounter this kind of situation, I usually turn to virtualization like VBox immediately, and re-build with a Gnome based Desktop (eg LXDE in your case) instead of installing all those additional packages into your KDE system.
Anything else that’s relevant besides your Desktop.
I assume you’ve installed Docker form the OSS.