Re4son / WSL-Kali-X

Tweaks to run Kali Linux desktop panels and gui apps on Windows 10
GNU General Public License v3.0
126 stars 36 forks source link

Enforcement: WSL dbus bug hotfix #8

Open diveyez opened 5 years ago

diveyez commented 5 years ago

If you find a better way to make dbus behave alike a good boy. Let me know. Much Love.


sudo service dbus restart
sudo systemd-machine-id-setup
sudo dbus-uuidgen --ensure=/etc/machine-id
export DISPLAY=:0
export LIBGL_ALWAYS_INDIRECT=1
bash -l -c "sudo /etc/init.d/dbus start"
bash -l -c "DISPLAY=:0 dbus-launch --autolaunch $(cat /etc/machine-id) --binary-syntax --close-stderr"
bash -l -c "DISPLAY=:0 xterm"
chmod u+s /usr/bin/Xorg