PiKVM
π Resources π
RPi 4 PiKVM V2 DIY
π¬ Hardware
Raspberry Pi 4 board with 16GB MicroSD card.
PiKVM SD card image used is the one For HDMI-USB dongle (or For HDMI-CSI bridge) - download here and flash the MicroSD card with RPi Imager tool
RPi4 Power consumption ranging from 2.7W to 6.4W depending on the workload
For power supply and USB connectivity, I have chosen the "Variant #2: Power supply + Y-splitter based on power blocker" from the PiKVM v2 guide with:
x1 Raspberry Pi Official USB-C Power Supply
x1 USB C splitter (male->double females)
x1 USB-A to USB-C cable (male-male)
π as power blocker for the VCC of the USB-A male connector that goes into the PC/NAS, I've used a small piece of tape over the right-most pin on the connector to block the 5V pin (cut the single specific VCC wire inside the cable later)
Similar diagram as my setup:

The "USB C to Double USB C Splitter" used:

For the video capture device I've used an HDMI-USB dongle for my testing lab (changed with a HDMI-CSI bridge board later).
π Anyway, a HDMI-CSI bridge board is better for video encoding, resolution and latency.
Check Geekworm models here, and Amazon links:
On-boot configuration
Setup WiFi SSID & Password if necessary in the pikvm.txt file from the SD Card (on another PC), by adding the following variables:
PiKVM Shell commands
Authentication
Check Authentication - PiKVM Handbook for SSH root access, default credentials and changing them
Wake-on-LAN
(Extra) Disable "ATX" menu
Configuration for single device WoL
Configuration for multiple hosts WoL
KVM Dashboard

Mass Storage Drive
Insert the USB into an RPi USB3 port.
Open the PiKVM Terminal/Shell. Use the following procedure.
Identify the USB drive and its filesystem type using, ensuring it's recognized (e.g.,
exfatfor Ventoy)Add a mount entry in
/etc/fstabto automatically mount the USB drive at boot, with read/write access and permissive permissionsEnsure the mount point exists and is writable, using
mkdir,kvmd-helper-otgmsd-remount, ormount -o remount,rwas neededManually mount or reboot the system to apply changes, allowing access to the USB contents under
/var/lib/kvmd/msd/usb
Tailscale on PiKVM
Tailscale VPN - PiKVM Handbook
read above docs for Tailscale Certificates
Last updated