What | Removed | Added |
---|---|---|
Severity | Normal | Minor |
(In reply to Dr. Werner Fink from comment #8) > 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.