View Single Post
Old 10-21-2019, 07:12 AM   #1
cikasole
Junior Member
cikasole began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2019
Device: none
New ebook-viewer in Linux - problem running as root

Hi,

After updating Calibre to version 4.20, I can not start ebook-viewer any more.

The problem is related to running the program with root privilege. I use Linux as root. I know it's not recommended, but there are reasons for that. Long story.
I can not use sudo or gksu to another users, it's too complicated, all my files are owned by root, don't ask me to explain.

When started directly from CLI, ebook-viewer gives the following:
--------------------------------------------
# ebook-viewer
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
[11856:11856:1021/130418.923392:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
--------------------------------------------
Also, when try --no-sandbox switch:
ebook-viewer: error: no such option: --no-sandbox
--------------------------------------------

What can be done regarding this problem?
TIA

cikasole
cikasole is offline   Reply With Quote