Skip to main content
added 223 characters in body
Source Link
mYnDstrEAm
  • 5k
  • 19
  • 75
  • 143

When running sudo commands such as sudo dolphin I'm getting this strange error:

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

What does it mean and how can I fix it?

I think I got this error since install and I did not change any standard paths or something alike: I'm still new to GNU/Linux.

I'm running Debian 9.1 with KDE.

Edit: you should never run Dolphin with sudo! This allows vulnerabilities in the file-explorer to be exploited. You shouldn't run most other GUIs as root either (these should only prompt you for your sudo password).

When running sudo commands such as sudo dolphin I'm getting this strange error:

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

What does it mean and how can I fix it?

I think I got this error since install and I did not change any standard paths or something alike: I'm still new to GNU/Linux.

I'm running Debian 9.1 with KDE.

When running sudo commands such as sudo dolphin I'm getting this strange error:

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

What does it mean and how can I fix it?

I think I got this error since install and I did not change any standard paths or something alike: I'm still new to GNU/Linux.

I'm running Debian 9.1 with KDE.

Edit: you should never run Dolphin with sudo! This allows vulnerabilities in the file-explorer to be exploited. You shouldn't run most other GUIs as root either (these should only prompt you for your sudo password).

Notice removed Draw attention by mYnDstrEAm
Bounty Ended with zeppelin's answer chosen by mYnDstrEAm
Notice added Draw attention by mYnDstrEAm
Bounty Started worth 50 reputation by mYnDstrEAm
Source Link
mYnDstrEAm
  • 5k
  • 19
  • 75
  • 143

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' when running sudo commands

When running sudo commands such as sudo dolphin I'm getting this strange error:

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

What does it mean and how can I fix it?

I think I got this error since install and I did not change any standard paths or something alike: I'm still new to GNU/Linux.

I'm running Debian 9.1 with KDE.