![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1205109
http://bugzilla.opensuse.org/show_bug.cgi?id=1205109#c9
Zim Tsui
Btw:
I see for
sudo emacs-gtk XDG_RUNTIME_DIR (/run/user/223) is not owned by us (uid 0), but by uid 223! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
this is an error I guess
`XDG_RUNTIME_DIR` is always resolved to `/run/user/0`, because the script `/usr/bin/emacs` set `XDG_RUNTIME_DIR` to `/run/user/$UID`, where UID and EUID both equal 0 within `sudo`. It has nothing to do with the regular user. Besides, I'm not asking for help, I'm simply reporting a bug, because I seldom use Emacs. -- You are receiving this mail because: You are on the CC list for the bug.