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

./start-xfce.. Wrong directory with current WSL. #7

Closed diveyez closed 5 years ago

diveyez commented 5 years ago

WSL changed something, its not like it was when we first did this. It was trying to pull the files from the wrong directory. Thankfully my alienware notebook still has the kali and debian desktop w/ panels installed. well they remove my ability to have that nice /%APPDATA%/microsoft/packages path. Its not even putting home like linux should.

I will bridge the gap, and contact you with the fix. -oiut

diveyez commented 5 years ago

Re4son 👍 Before doing anything else, a home directory needs to be sorted. I had to manually reinstall the required dependencies by hand, before I could even set environment variables.

I am not sure how kali will take it, but apt install kali-linux-xfce4 xfce4-goodies -y && cd need to cd out of the datadirs microsuck put the WSL in Might just do it.

diveyez commented 5 years ago

Yeah, that worked on debain. panel is up. Act accordingly.

diveyez commented 5 years ago

!/bin/bash

taskkill.exe /IM vcxsrv.exe /T /F sleep 2 /mnt/c/Program\ Files/VcXsrv/vcxsrv.exe :0 -ac -terminate -lesspointer -multiwindow -clipboard -wgl & sleep 2 cd sudo /etc/init.d/dbus restart dbus-launch --exit-with-session ~/.xsession sudo /etc/init.d/dbus stop