Legion Docker
I found legion very flaky in the base Kali 2023.4 install. To fix the problem, I ran it via docker. Here are my notes on how to do this :-).
To Run Legion in Kali 2023.4
Use a screen resolution with a large vertical component (e.g. 1920 x 1080)
Open a terminal, and run the following commands to install Legion in a Docker Container:
sudo apt-get update
sudo apt-get install -y docker.io python3-pip -y
sudo groupadd docker #May not be needed, but won’t hurt
sudo usermod -aG docker ${USER}
pip install --user docker-compose
cd ~
git clone https://github.com/GoVanguard/legion.git
cd legion/docker
chmod +x runIt.sh
sudo systemctl enable docker --now
xhost +
Logout and log back into Kali. Open a terminal and execute the following commands:
docker run hello-world # make sure this works beforeproceeding.
cd legion/docker
./runIt.sh # if you get an error, run xhost + and try again.