Skip to content

Commit 0a17251

Browse files
committed
Add fix for "Cannot spawn a message bus without a machine-id"
1 parent 5fe394f commit 0a17251

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wsl-init-script.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ install_asdf_plugins() {
157157
}
158158

159159
setup_gesttings() {
160+
print "Setting up gsettings..."
161+
sudo systemd-machine-id-setup
160162
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
161163
gsettings set org.gnome.desktop.interface icon-theme "Papirus"
162164
}

0 commit comments

Comments
 (0)