# Can't use root in Dolphin

**URL:** <https://forum.endeavouros.com/t/cant-use-root-in-dolphin/8992>\
**Category:** Plasma\
**Created:** [October 16, 2020, 2:45pm UTC](https://forum.endeavouros.com/t/cant-use-root-in-dolphin/8992 "2020-10-16T14:45:47Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![just](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/just/32/16738_2.png) [@just](https://forum.endeavouros.com/u/just)\
**Post date:** [October 17, 2020, 2:04pm UTC](https://forum.endeavouros.com/t/cant-use-root-in-dolphin/8992/11 "2020-10-17T14:04:32Z")

</div>

Though Plasma devs tried to inhibit execution of certain apps with elevated privileges, all of them are still may by executed as root. These “potentailly dangerous” apps are:

1. dolphin
2. konqueror
3. kate
4. kwrite
5. systemsettings5

All of them may be executed as root using `pkexec`. The syntax is:

```auto
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true dbus-launch [appname]

where [appname] is the name of 5 application above

```

Example - starting dolphin as root:

```auto
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true dbus-launch dolphin

```

In some distros the use of `dbus-launch` is not needed. In such a case the syntax is a bit simpler:

```auto
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true [appname]

```

If you’re a member of `sudo`, `wheel`, another group, and that group is configuraed to execute any command, includig `sudo`, without askig for password, then `dolphin`, `konqueror`, `kate`, `kwrite`, `systmsettings5` may be prefixed with `sudo` and started without even asking for password.

The syntax is:

```auto
sudo pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true dbus-launch [appname]

```

Example - starting dolphin as root without being asked for password:

```auto
sudo pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true dbus-launch dolphin

```

Commands may be used in scripts, aliases, `.desktop` files, keyboard shortcuts, menu entries, etc. to comfortably execute any of them, without typing them in each time they are needed.

---

_[View the full topic](https://forum.endeavouros.com/t/cant-use-root-in-dolphin/8992)._
