You are not logged in.

#1 2021-02-11 21:20

YourFriend4Ever
Member
Registered: 2021-02-11
Posts: 6

XDG_RUNTIME_DIR errror

I have a problem when I try to use the following command:

sudo konsole -e "sudo xterm"

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

Anyone could tell me what I have to do?

Thanks!

Offline

#2 2021-02-12 09:25

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,246
Website

Re: XDG_RUNTIME_DIR errror

The command just works, however you see the warning message. You can verify that:

First you need to have xterm installed:
$ sudo apt install xterm

Now run:
$ sudo konsole -e "sudo xterm"

Offline

#3 2021-02-12 15:58

YourFriend4Ever
Member
Registered: 2021-02-11
Posts: 6

Re: XDG_RUNTIME_DIR errror

The thing is that when I run that command you said (sudo konsole -e "sudo xterm"), the terminal returns two warnings about "QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'.

Is there a way to set XDG_RUNTIME_DIR to one default directory to make that warning disappear?

Offline

Board footer

Powered by FluxBB