M
M
mkone1122021-01-31 03:07:48
linux
mkone112, 2021-01-31 03:07:48

How to run konqueror as root?

I find konqueror to be the best file manager. Sometimes I need to walk around the system directories (for example, in search of logs). But to access the system directories you need root rights. I've used dolphin before and
sudo dolphin
it worked great, but when I run it it
sudo konqueror
says

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
[17867:17867:0131/025339.331882:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

https://crbug.com/638180 leads to an old bug of chromium crashing when running as root with 'fixed' status, reading the discussion thread didn't really help me solve the problem.

sudo konqueror --no-sandbox
gives out:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
konqueror: Unknown option 'no-sandbox'.

How to run konqueror as root?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Kharchenko, 2021-01-31
@AVX

A few years ago, as far as I remember, there was a fashion to prohibit running any programs with gui as root (or via sudo), even then I saw indignation in several articles on Habré, and ways to bypass it, some even found the right byte and patched some kind of binary itself in system. But further - more, and many programs now do not work under root, this is done intentionally. Yes, all sorts of system ones, such as gparted and the like, work. But now I checked - neither dolphin nor konqueror work, even kwrite swears at all sorts of different things, but in the end it saves what it needs where root rights are needed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question