Kali VM Workstation Setup Guide
1. Change Keyboard Layout
setxkbmap ch de
Permanent Change
sudo nano /etc/default/keyboard
XKBLAYOUT="ch"
XKBVARIANT="de"
sudo dpkg-reconfigure keyboard-configuration
sudo systemctl restart keyboard-setup.service
2. OpenVPN to HackTheBox
cd HackTheBox
sudo openvpn academy-regular.ovpn
3. 🛡️ Full Kali Linux Update and Cleanup Commands
sudo apt update && sudo apt upgrade -y && sudo apt full-upgrade -y && sudo apt autoremove -y && sudo apt autoclean && sudo apt clean && sudo apt --fix-broken install
✅ This fully updates, upgrades, cleans, and fixes your Kali Linux system.
sudo apt update
sudo apt upgrade -y
sudo apt full-upgrade -y
sudo apt autoremove -y
sudo apt autoclean
sudo apt --fix-broken install
note
Reboot after a full update (especially after a kernel update):
sudo reboot
4. Check if disk space is needed
df -h
📢 5. xfreerdp Bleeding Edge
(Remote Desktop on Kali Linux)
sudo apt update
sudo apt install build-essential git cmake libssl-dev libx11-dev libxext-dev libxinerama-dev libxcursor-dev libxv-dev libxkbfile-dev libxi-dev libxrandr-dev libxrender-dev libxfixes-dev libjpeg-dev libfuse-dev libusb-1.0-0-dev libpulse-dev libvte-2.91-dev libwayland-dev libsystemd-dev libavcodec-dev libavutil-dev libswscale-dev libavformat-dev build-essential cmake git pkg-config libssl-dev libx11-dev libxext-dev libxinerama-dev libxcursor-dev libxv-dev libxkbfile-dev libxi-dev libxrandr-dev libxrender-dev libxfixes-dev libjpeg-dev libfuse-dev libusb-1.0-0-dev libpulse-dev libwayland-dev libsystemd-dev libavcodec-dev libavutil-dev libswscale-dev libavformat-dev libcups2-dev libfuse3-dev -y
git clone https://github.com/FreeRDP/FreeRDP.git
cd FreeRDP
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_SSE2=ON ..
make -j$(nproc)
sudo make install
Confirm Installation
xfreerdp /buildconfig
🎯 Ultimate xfreerdp Connect Command
xfreerdp /v:<target_ip_or_hostname> /u:<username> /p:<password> /cert:ignore /compression +clipboard +fonts /network:auto /dynamic-resolution /gfx +gfx-progressive /rfx +async-update +async-input +async-transport /size:1366x768 /sound:sys:oss