Giter Site home page Giter Site logo

Comments (10)

helfrichmichael avatar helfrichmichael commented on July 24, 2024 1

That's no problem, actually!

Reduce the window size of Cura in the docker or minimize temporarily. Then you can right click the desktop and click "File Explorer" visiting /prints should take you to your GCODE and STLs.

Example screenshot
image

from cura-novnc.

helfrichmichael avatar helfrichmichael commented on July 24, 2024

Hi @RealCommerzpunk ,

This is likely due to Ultimaker/Cura#12266. I tried a few things locally to no avail so we might have to follow along on the upstream bug.

from cura-novnc.

RealCommerzpunk avatar RealCommerzpunk commented on July 24, 2024

Thank you for investigating! I now just hope for a quick solution by cura, because I cant use the common workarrond "drag and drop into cura" because its a docker, lol. ;)

from cura-novnc.

Tamperold avatar Tamperold commented on July 24, 2024

Thanks first of all for the Docker image.
But is there also another solution for exporting the G-code?
Opening is quite simple via drag and drop.
Thanks!

from cura-novnc.

Ernold11 avatar Ernold11 commented on July 24, 2024

Hi, could you try this WO:

sudo apt-get install xdg-desktop-portal-gtk
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY

It should fix the problem of not showing the open file window.

from cura-novnc.

RealCommerzpunk avatar RealCommerzpunk commented on July 24, 2024

I tried, but i cant run the commands. I tried 2 ways: The "console" window from the unraid docker menu and second, the "terminal" window in the running GUI. Both result with "sudo: not found".

Then I tried the command without "sudo".
Inside the GUI it results with "E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?"
From unraid "E: Unable to locate package xdg-desktop-portal-gtk"

So I cant help, what am I missing?

from cura-novnc.

Ernold11 avatar Ernold11 commented on July 24, 2024

@RealCommerzpunk

On host:
sudo docker exec -it --user root <CONTAINER_NAME> /bin/bash

Then in container:

apt-get update
apt-get install xdg-desktop-portal-gtk dbus-x11 -y
service dbus start
export $(dbus-launch)
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY

Next open web browser, right click -> select terminal and paste:

export $(dbus-launch)
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORIT

And everything should working.
cura

@helfrichmichael
Do you think about adding this WO to your Dockerfile? It should resolve the problem until cura resolves it on their site.

from cura-novnc.

Ernold11 avatar Ernold11 commented on July 24, 2024

Unfortunately on the new container with Cura 5.1.1 fix is not working.

@update
It is more complicated now. You need to do all that steps above but then run cura using command:
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 /bin/sh -c /cura/squashfs-root/AppRun

I cannot find but in one of the open issue on cura was information to use:
Ultimaker-Cura-5.1.1-linux-modern.AppImage
for updated linux distros instead of normal version:
Ultimaker-Cura-5.1.1-linux.AppImage
That version should work.

from cura-novnc.

helfrichmichael avatar helfrichmichael commented on July 24, 2024

Thanks to Ultimaker/Cura#12266 (comment) I think we have a viable fix. Testing now and if all is good, I'll push shortly.

from cura-novnc.

helfrichmichael avatar helfrichmichael commented on July 24, 2024

Thanks for the patience!

https://github.com/helfrichmichael/cura-novnc/actions/runs/3238503566 is rolling out with the fix now. I'll mark this as resolved.

from cura-novnc.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.