在个人home 目录下将

export XDG_RUNTIME_DIR=directory #a specific directory you specify 
export RUNLEVEL=3

添加到:.bashrc 然后 source .bashrc