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

 

1、问题

 

 

2、解决方法

root@DESKTOP-1N42TVH:/home/test2# vim /etc/profile    ## 在配置文件末尾追加如下两句
export XDG_RUNTIME_DIR=/usr/lib/
export RUNLEVEL=3

 

source一下:

root@DESKTOP-1N42TVH:/home/test2# source /etc/profile

 

 3、测试(刚才的问题解决)

 

posted @ 2022-04-27 00:37  小鲨鱼2018  阅读(4812)  评论(0编辑  收藏  举报