Just had issues with Freecad 0.19 AppImage not liking being run as Root in Fatdog811.
Problem comes down to their new changes, that the FreeCAD team have decided to use the QTWEbengine instead of the Webkit in previous versions.
Fix is realatively easy.
1. Unpack the appimage
cd to the folder where the file is, ensure it is set to be executeable over permissions, and in a console enter:
Code: Select all
./FreeCAD_0.19.3-Linux-Conda_glibc2.12-x86_64.AppImage --appimage-extract
2. Browse the appimage. In the folder you should find "squashfs-root" - Right mouse button on it and "look inside"
3. At the top level folder is a file "AppRun" - edit it
4. At just about any line (I chose to add after line 9) add the line "export QTWEBENGINE_DISABLE_SANDBOX=1"
Here is a snippet from that file with my line added
Code: Select all
export FONTCONFIG_PATH=/etc/fonts
#Added by Paulski
export QTWEBENGINE_DISABLE_SANDBOX=1
# export QTWEBENGINEPROCESS_PATH=${HERE}/usr/libexec/QtWebEngineProcess line
Don't forget to save the file
5. Repackage the App Image using the App image tool (lost link for that but its easy enough to find)
Code: Select all
./appimagetool-x86_64.AppImage squashfs-root
You should have a new app image for FreeCAD that won't complain in the background that "Runing as root without --no-sandbox is not supported" and will finally work in most recent Puppies.