Build a PiKVM: Remote Out-of-Band BIOS/Boot-Level Access with a Raspberry Pi
PiKVM turns a Raspberry Pi into a real out-of-band KVM-over-IP device — giving you keyboard, video, and mouse access to another computer's BIOS/UEFI, boot menu, or a completely frozen OS, all remotely over the network, exactly like the expensive IPMI/iDRAC hardware built into server-grade motherboards. For a home shop running a CNC controller PC, a headless server, or any machine you don't want to walk over to every time something goes wrong at the boot level, this is genuinely useful.
What Makes This Different From Remote Desktop
Software remote-access tools (VNC, RDP, TeamViewer) only work once an OS has booted and is running networking. PiKVM operates entirely below that layer — it captures actual video output via HDMI and emulates a real USB keyboard/mouse to the target machine, meaning it works identically whether the target is in the BIOS, at a boot menu, mid-driver-crash, or completely hung. If a machine won't boot, software remote access can't help you; PiKVM still can.
Hardware Needed
ComponentNotes Raspberry Pi 4 (2GB+)The standard PiKVM platform — plenty of power for video capture and web serving HDMI-to-CSI capture adapterCaptures the target machine's video output; this is the piece that makes PiKVM specifically possible on a Pi (standard USB capture cards add too much latency for this use case) USB OTG cableLets the Pi emulate a USB keyboard/mouse to the target machine via its USB OTG port microSD card (32GB+)Runs the PiKVM OS image Case designed for PiKVMPurpose-built cases exist with proper cutouts for the HDMI capture ribbon and OTG cable routing — genuinely worth using over a generic Pi case for this buildFlashing PiKVM OS
- Download the official PiKVM image for Raspberry Pi from the PiKVM project's site
- Flash to the microSD card using Raspberry Pi Imager or balenaEtcher
- Before first boot, some setups require editing the boot partition's config to match your specific Pi model — check the current PiKVM documentation for your exact hardware revision
Physical Connections
- Connect the HDMI-to-CSI adapter to the Pi's camera connector (CSI port)
- Run an HDMI cable from the adapter to the target machine's HDMI output
- Connect the USB OTG cable from the Pi's OTG port to any USB port on the target machine — this is what lets the Pi present itself as a keyboard/mouse to that machine
- Connect Ethernet to the Pi for network access (WiFi works but wired is more reliable for something you're relying on when things go wrong)
First Boot and Web Interface
PiKVM boots to a web interface accessible at its IP address over HTTPS. Default credentials are documented in the PiKVM project's docs — change them immediately on first login, since this device has genuine keyboard/mouse control over whatever it's connected to.
- The web interface shows a live view of the target machine's screen, with a virtual keyboard/mouse overlay for input
- You can send full keyboard combinations (Ctrl+Alt+Del, function keys for BIOS entry) that wouldn't work through a browser-based remote session normally
- ATX power control (if wired to the target's power/reset headers, an optional additional step) lets you power-cycle a genuinely hung machine remotely too
Optional: ATX Power Control
For full remote control including power on/off/reset, PiKVM supports wiring GPIO-controlled relays to the target motherboard's front-panel power and reset headers, alongside monitoring the power LED. This turns PiKVM from "see and control what's on screen" into "fully manage the machine's power state remotely too" — genuinely useful for a machine in a spot that's inconvenient to physically access.
Realistic Use Cases for a Maker Shop
- A dedicated CNC/laser control PC that's sometimes finicky about drivers or occasionally hangs — remote BIOS/boot access without walking to the shop
- A headless server or NAS where you need occasional low-level access (BIOS settings, boot order changes) without permanently attaching a monitor/keyboard
- Any machine in a hard-to-reach or inconveniently located spot — a garage, basement, or outbuilding shop where walking over for a 30-second BIOS check is genuinely annoying
Security Note
PiKVM has real, low-level control over whatever it's connected to — treat access to it with the same seriousness as physical access to that machine. Use a strong password, keep it on a trusted network (or behind a VPN like WireGuard for remote access rather than exposing it directly to the internet), and keep the PiKVM OS updated.
This is a genuinely capable piece of infrastructure for not much money compared to commercial IPMI hardware — and once it's set up, "the shop PC won't boot" stops being a walk-over-and-check problem.
Related Guides
- Setting Up Tailscale VPN on a Raspberry Pi for Remote Access
- Building a PiKVM for Out-of-Band Remote Server and Workstation Management
- Build a Raspberry Pi E-Ink Digital Photo Frame (Wired or Battery-Powered)
- Build a WireGuard VPN Server on a Raspberry Pi: Secure Remote Access to Your Home Network
- Build a Raspberry Pi NAS with Samba File Sharing
- Build a Cyberdeck: Custom Portable Computer with a Laser-Cut and 3D Printed Enclosure
- Build a Raspberry Pi Whole-Home Audio Streamer: Volumio, DAC HAT, and Multi-Room Sync
- Build an ADS-B Flight Tracker with Raspberry Pi and RTL-SDR