-
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathKalilinux.txt
More file actions
89 lines (55 loc) · 2.3 KB
/
Kalilinux.txt
File metadata and controls
89 lines (55 loc) · 2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
Install Gnome on kali Linux Latest via Windows 11 - WSL - How to install.
1. Paste in terminal
sudo nano /etc/wsl.conf
and add
[boot]
systemd=true
3. Reboot
4. Update All: sudo apt update && sudo apt upgrade
5. Install programs:
sudo apt install bash git npm wget curl nano sudo pipx dracut -y
sudo apt install gdm3* -y
sudo apt install gdm* -y
sudo systemctl set-default graphical
6. Install this small program..
pipx install hyfetch
pipx ensurepath
6.3: Paste This in terminal:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb -y
6.5: Reboot Linux...
7. Config GWSL and start from there - Linux Shell
8. Paste in Terminal: xdg-user-dirs-update
9. Paste in Terminal: sudo systemctl set-default multi-user.target
10. Time to install Gnome: sudo apt-get install kali-desktop-gnome
11. Copy this and paste in terminal: sudo nano ~/.wsl_x11_env
Then add this script to terminal
# Fyren - Vinberg - 2023 - SS Waffen script!
# --------------------
# Setting up essential environment variables for kali desktop
# --------------------
# Ubuntu default desktop (GNOME Shell variant)
# https://wiki.gnome.org/Projects/GnomeShell
export XDG_CURRENT_DESKTOP=ubuntu:GNOME
export XDG_SESSION_DESKTOP=ubuntu
export DESKTOP_SESSION=ubuntu
export GNOME_SHELL_SESSION_MODE=ubuntu
# Commonly referenced environment variables for X11 sessions
# https://specifications.freedesktop.org/basedir-spec/latest/
export XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
export XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop
export XDG_MENU_PREFIX=gnome-
export XDG_SESSION_TYPE=x11
export XDG_SESSION_CLASS=user
export GDK_BACKEND=x11
# Disables using Direct3D in Mesa 3D graphics library
export LIBGL_ALWAYS_SOFTWARE=1
9. Reboot
10. Install this - just paste all in terminal - Follow instruction...
git clone https://github.com/DamionGans/ubuntu-wsl2-systemd-script.git
cd ubuntu-wsl2-systemd-script/
bash ubuntu-wsl2-systemd-script.sh
10.5. Please Reboot.
11. Paste in terminal: . ~/.wsl_x11_env
12. Type in terminal: dbus-launch gnome-session
After install do this in terminal: sudo apt purge modemmanager <-- windows not supporting...