EloiStree / HelloRustBending

(V) ( ' ;,,;) (V)
0 stars 0 forks source link

Keyword: WSL on Window #15

Open EloiStree opened 3 weeks ago

EloiStree commented 3 weeks ago

Étape par étape en francais:

https://youtu.be/5HnQYqYgRjQ

image https://youtu.be/qYlgUDKKK5A

image https://youtu.be/QC7a9nowsz8

EloiStree commented 3 weeks ago

wsl --install wsl --update

App store

sudo apt-get update -y && sudo apt-get upgrade -y lsb_release -a sudo apt install -y xfce4

sudo apt install xfce4-goodies

Source: https://hub.tcno.co/windows/wsl/desktop-gui/ sudo cp /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.ini.bak sudo sed -i 's/3389/3390/g' /etc/xrdp/xrdp.ini

sudo sed -i 's/max_bpp=32/#max_bpp=32\nmax_bpp=128/g' /etc/xrdp/xrdp.ini sudo sed -i 's/xserverbpp=24/#xserverbpp=24\nxserverbpp=128/g' /etc/xrdp/xrdp.ini echo xfce4-session > ~/.xsession

EloiStree commented 3 weeks ago

Run GUI https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps#install-support-for-linux-gui-apps

EloiStree commented 3 weeks ago

sudo /etc/init.d/xrdp start localhost:3390

EloiStree commented 3 weeks ago

https://aka.ms/wsl2kernel

EloiStree commented 3 weeks ago

Reset password

https://youtu.be/HYGUz9mC7Hg

whoami root by default

passwd to reset the password

EloiStree commented 3 weeks ago

image

image image

image

Source:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup toolchain install stable
EloiStree commented 3 weeks ago

Chromium ? https://www.freshtechtips.com/2022/12/install-firefox-google-chrome-in-wsl.html

sudo wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb sudo dpkg -i google-chrome-stable_current_amd64.deb sudo apt install --fix-broken -y sudo dpkg -i google-chrome-stable_current_amd64.deb

EloiStree commented 3 weeks ago

I am lost _-----------------------

EloiStree commented 3 weeks ago

One week on WSL image https://youtu.be/LktFP0Dpl-c?t=150

code . in WSL after installing on Visual Code

WOOOOOOwwww That magic :)

image