dbus: Unable to set up transient service directory: XDG_RUNTIME_DIR "/mnt/wslg/runtime-dir" can be written by others (mode 040777)
I am unsure what is causing this to pop up in my terminal every time I start it, but both .wslconfig and .wsl.conf are blank. Could someone help me get to the root of this?
I am also seeing this in my /mnt/wslg/stderr.log:
[08:14:49.777] <5>WSLGd: FontFolder:16: FontMonitor: start monitoring /mnt/wslg/distro/usr/share/fonts
[08:14:49.778] <5>WSLGd: FontMonitorThread:230: FontMonitor: monitoring thread started.
[08:14:49.778] <5>WSLGd: DumpMonitorFolders:127: FontMonitor: monitoring /mnt/wslg/distro/usr/share/fonts, and it is *not* added to X11 font path
dbus[18]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/mnt/wslg/runtime-dir" can be written by others (mode 040777)
dbus[15]: Unknown username "pulse" in message bus configuration file
/opt/st/stm32cubeide_1.17.0/icon.xpm: unrecognized file header 0x2f 0x2a 0x20 0x58
glamor: 'wl_drm' not supported
Missing Wayland requirements for glamor GBM backend
Failed to initialize glamor, falling back to sw
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Unsupported maximum keycode 569, clipping.
> X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
could not load cursor 'grabbing'
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
Same issue for me.
Try this: chmod 0700 /mnt/wslg/runtime-dir
Try this: chmod 0700 /mnt/wslg/runtime-dir
@rodrigoptrln Unfortunately I still have the same error and the mode has reverted to its original value upon WSL restart.
it is caused by dbus: dbus-launch --auto-syntax
Turning on systemd seems to fix this issue, but might break other stuff:
# sudo vim /etc/wsl.conf
[boot]
systemd=true