selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
DezKVM logo

Self-host DezKVM

DIY multi-port IP-KVM using standard USB hardware

AlphaOpen SourceGPL-3.0
Updatedlast month
LanguageGo
Setup difficultyAdvanced
Stars
140
Port
9000 (HTTPS web UI and API)
Requires
ALSA (Advanced Linux Sound Architecture), Build-essential, Libv4l-dev, Linux kernel, V4l-utils, v4l2 (Video4Linux2)
Install with Go
DezKVM web UI dashboard showing KVM port overviewDezKVM web UI remote console viewDezKVM web UI settings or device configuration

What is DezKVM?

DezKVM is a DIY IP-KVM (Keyboard-Video-Mouse over IP) system that runs on standard Linux single-board computers or mini PCs. Unlike commercial KVMs or PiKVM, it uses only upstream Linux drivers (V4L2 for video, ALSA for audio, USB HID for keyboard/mouse) with off-the-shelf USB capture cards and UART-to-HID chips, requiring no custom kernel patches. Each KVM port is a separate USB module containing an HDMI capture device (MS2109), a CH9329 UART-to-HID bridge for keyboard/mouse, and a CH552G MCU for ATX power control and mass-storage switching. Multiple port modules connect to the host SBC via a USB hub, enabling simultaneous multi-port and multi-view operation. The dezkvmd Go daemon provides a web UI on port 9000 with HTTPS, WebRTC streaming, virtual media (ISO mounting), ATX power control, and a file manager for the mass-storage device. The project is in early alpha and not yet production-ready.

Should you self-host DezKVM?

DezKVM scores 36/100 on selfhost.directory (how scoring works) and ranks #22 of 23 in Remote Access. It has 140 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is advanced: plan for several services and some ongoing maintenance. It is GPL-3.0-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is ESP-KVM (57/100, 562 stars). It scores higher overall, so compare the two before you pick. See DezKVM vs ESP-KVM side by side.

Features

  • Password Authentication

DezKVM README

How to install DezKVM

Install DezKVM with Go

cd src/dezkvmd/ go mod tidy go build

sudo ./dezkvmd

or use ./dezkvmd -h to show all start options

Requires Go compiler and Linux kernel 6.1+ with v4l2/alsa

How to configure DezKVM

  • AudioCaptureDevicePath/dev/snd/pcmC1D0cPath to the audio capture device

    Path to the audio capture device

  • AuxMCUBaudrate115200Baud rate for auxiliary MCU communication

    Baud rate for auxiliary MCU communication

  • AuxMCUDevicePath/dev/ttyACM0Path to the auxiliary MCU device (CH552G CDC ACM)

    Path to the auxiliary MCU device (CH552G CDC ACM)

  • CaptureResolutionFPS25Video capture frame rate

    Video capture frame rate

  • CaptureResolutionHeight1080Video capture height in pixels

    Video capture height in pixels

  • CaptureResolutionWidth1920Video capture width in pixels

    Video capture width in pixels

  • ListeningAddress:9000Address and port the web server listens on

    Address and port the web server listens on

  • USBKVMBaudrate115200Baud rate for USB-KVM UART communication

    Baud rate for USB-KVM UART communication

  • USBKVMDevicePath/dev/ttyUSB0Path to the USB-KVM UART device (CH340C)

    Path to the USB-KVM UART device (CH340C)

  • VideoCaptureDevicePath/dev/video0Path to the video capture device (MS2109)

    Path to the video capture device (MS2109)

More in Remote Access

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…