Open jaggzh opened 4 years ago
Running from git results in the same output and.. no window. $ npm start
Pencil@ start /home/jaggz/projects/pencil electron ./app
useHWAConfig: false Hardware acceleration disabled for Linux. Background web-printer started. Shortcut main service started. Shortcut: Super+F12 registered RENDERER started.
This is what I get in Debian Testing:
$ pencil
[183326:0121/230952.612439:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/pencil-3.1.0.ga/chrome-sandbox is owned by root and has mode 4755.
[1] 183326 trace trap pencil
This is what I get in Debian Testing:
I got that as well, and chmod'ded appropriately -- that gets it to the above point where it appears to run but no window appears.
$ pencil [183326:0121/230952.612439:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/pencil-3.1.0.ga/chrome-sandbox is owned by root and has mode 4755. [1] 183326 trace trap pencil
I'm experiencing the same issue as described in the initial comment, on KDE Neon 5.17, 64-bit.
I have the same issue with the debian package.
Why is a setuid root required at all?
Desktop software must not run as root at all (this includes sandboxes, those should run with the permission of the user that executes the software). I there any good reason for it?
same issue here. Installed from .deb on a kubuntu 18.04, ui won't show. version 3.1.0
We are not providing an official package for Debian. We would love to have one but we current don't have sufficient resources for doing that. The provided .deb are explicitly stated for Ubuntu and I have just tested it with a fresh VirtualBox image from osboxes for Ubuntu 18.04 and everything works just fine.
Why is a setuid root required at all?
Desktop software must not run as root at all (this includes sandboxes, those should run with the permission of the user that executes the software). I there any good reason for it?
The previous version of Pencil did not require such setuid bit iirc. Running an app with root privilege is a security risk, and should not be done. Couldn't that be fixed?
Otherwise, once the setuid bit is set, pencil seems to run great, except when you try to close it, then it freezes.
Had the same issue today on parrotOS. Stumbled upon issue #605 where @xnart 's solution worked for me.
I cloned the git, changed to the development branch and edited the package.json file (electron from version 6.0.1 to 8.0.1). After npm install I used npm start and pencil finaly made it to the main window. Works fine so far.
Edit: You should remove your .deb package installation beforehand. If you remove it later you may need to rerun npm install, as some needed dependencies may be removed.
I followed the advice from JPLettuce and I got pencil running, but it won't open or save files! I'm running KDE Neon 5.18
Running results in no window, no errors in /var/log, and the console output: ardware acceleration disabled for Linux. Background web-printer started. Shortcut main service started. Shortcut: Super+F12 registered RENDERER started. {sits here}