You are not logged in.
Pages: 1
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
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
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
Pages: 1