Kali on your Pi Flux

Kali on your Pi Flux

Want Kali on your Pi Flux? Configure the following

Flash Kali onto a microSD, use Pi Imager, or grab one from the site link

Step 1: Pre-Boot Configuration

Before doing anything else, you need to tell the Pi how to talk to the screen (load the driver). Edit your config file:

sudo nano /boot/config.txt

Add these lines:

dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-dsi-waveshare-panel-v2,5_0_inch_a

Step 2: Fix the Boot & Login Screen

To stop the "scrolling text" and the login menu from being sideways:

  1. For the boot: * Open /boot/cmdline.txt and add fbcon=rotate:3 to the end of the line.

  2. For the Login Screen (LightDM):

    • Open /etc/lightdm/lightdm.conf.

    • Under the [Seat:*] section, add: display-setup-script=xrandr --output DSI-2 --rotate left

  3. Create a setup script:

    • Open /etc/lightdm/setup.sh and add: xrandr --output DSI-2 --rotate left

Step 3: Fix the Desktop & Touch Input

Once you log in, the mouse might move one way while your finger moves another.

  1. The Desktop: Go to Settings > Display and manually set rotation to Left.

  2. The Touchscreen: You need to "re-map" the touch coordinates. Run:

    • sudo nano /etc/udev/rules.d/99-waveshare-touch.rules

    • Paste this in:

      ENV{ID_INPUT_TOUCHSCREEN}=="1", ENV{LIBINPUT_CALIBRATION_MATRIX}="0 -1 1 1 0 0"

Previous post Next post