Pi-KVM can do all the same, and it also supports IPMI, VNC, and Mass Storage Device emulation. The only difficulty is that for the USB dongle to work, you need to add a couple of options to the config, because it's not yet supported out of the box. Everything else will work on its own.
I'd say, in short, Pi-KVM is more feature rich, while TinyPilot is simpler and more approachable with less functionality. Pi-KVM has several nice features that TinyPilot doesn't yet have, including power management, mouse support, authentication, TLS, and USB storage mounting. TinyPilot has a quicker install. Pi-KVM requires you to compile the OS locally, which takes about an hour. If you've got a Raspberry Pi OS system (aka Raspbian) already, you can configure it for TinyPilot with two commands, and the install takes 5-10 minutes. One of my goals with TinyPilot was to avoid a requirement for soldering/jumper cables, but if you don't mind soldering, that might not matter much to you. Pi-KVM works without soldering as well, but the documentation assumes soldering/breadboards. I hope that there's space for both projects, and Max and I have talked about ways to potentially collaborate.
I do too! Much healthier when multiple projects are tackling a problem from multiple perspectives. Your write-up has already shown both projects benefiting. I wouldn't have heard about this space at all without this article.
I'm looking to build a new home-server and was looking at mobos with management support. No need for that now though! Now looking for ways to keep the Pi inside the server case. Ideally want to have a ethernet, power jack and HDMI end built into a PCI bracket so it remains movable. Thanks for the detailed reply. I'll likely give both projects a go.
I tried something like this, but instead of a KVM, a remote "terminal" for multiseat in Linux. usbip worked fine, but I couldn't get video to work for a damn. The idea was to have the main computer stream video from one seat to the RP and act as a client for the keyboard and mouse attached to the RP using usbip. Had I been able to get the video portion to work, then next step would have been setting the RP to boot to a fullscreen vlc (or what have you) which displayed the gdm login screen from the main computer.
This is cool. Any chance this would scale for many machines? I have a ~15 machine lab with no KVM setup right now, and could really use something like this if it works for a large number of devices.
I'm not really into electronics, but I imagine it wouldn't be that difficult to control the switch of a cheap KVM-switch with the GPIO pins of the RPi. One might even control multiple KVM-switches and daisy-chain them.
Haha, I am kind of the opposite: I work on electronics, and am not much of a sys admin. One of the problems I've run into is that I haven't found a single switch solution with enough connections. I could build a multi-level multiplexer with many switches, but that's too much effort. If TinyPilot can support multiple KVM-over-IP connections, it would be a perfect fit for me.
> If TinyPilot can support multiple KVM-over-IP connections, it would be a perfect fit for me.
RPis only have 1 OTG port, though. A device that could get it to handle more machines with that single port would functionally be a KVM-switch. I don't think there's a way around that, at least not one that'd be cheaper or more practical.
I don't think there's a way to get the Pi to capture video or impersonate keyboards for more than one computer at a time. A neat idea a friend proposed to me was to buy a "dumb" KVM that supports switching through keyboard hotkeys and use that to scale it to multiple machines. See my comment here: https://news.ycombinator.com/item?id=23928251
Maybe a bit of an overkill, but if one would use an RPi ZeroW, you could simply stack multiple of them (together with a video-grabber) in one case, each providing KVM for one host. If you only want to use one network port, add an internal network switch to the package, have one the RPis doing the frontend to it (requires a second network port on it).
I respect this effort, I think it's a great accomplishment.
I think most people are better off building their own home (lab) server with a motherboard that supports IPMI (KVM over IP) natively. Supermicro (only brand I've experience with) or other brands that build server motherboards all include IPMI with HTML5 support. Doing so will save you a lot of trouble. Maybe you may not be able to run the kind of hardware you want, but it's all a tradeoff. You have to choose. I have HP Microservers (quiet) and a Proliant (loud) all with ILo (HP IMPI) and it's awesome.
So the recent Supermicros have a HTML5 iKVM, but mine originally came with a Java-only thing. When I had to send my box away to get repaired (Intel C2000 bug) it magically came back with a newer firmware that wasn't listed on their site and supported HTML5. I haven't been able to get remote ISOs working with the new interface, though.
At my last job, some of the Supermicro servers I worked with needed their SSD firmware updated. The hosting company's firmware update tool didn't actually update the SSD firmware (ugh) and it took forever, so I started doing the updates with remote ISOs, but some of the hosts had gone through the hosting company's tool which sometimes updated the IPMI firmware even though I didn't tell it to (double ugh). For those, I ended up loading the ISOs via PXELINUX's ISO loader. Kind of gross, but it got the job done -- might be an option for you?
Yeah, I think PXELINUX and iPXE are using the same kind of tricks to load ISOs like this (if anyone wants to do a writeup I'd love to read it). I think I'm going to have to dig in and understand the "redfish" API that also appeared with the update.
Comments (279) 64 threads
Earlier commentsI'm happy doing some soldering. Is there anything that TinyPilot has that Pi-KVM doesn't?
Has Pi-KVM added support for the HDMI dongle you used?
I'd say, in short, Pi-KVM is more feature rich, while TinyPilot is simpler and more approachable with less functionality.
Pi-KVM has several nice features that TinyPilot doesn't yet have, including power management, mouse support, authentication, TLS, and USB storage mounting.
TinyPilot has a quicker install. Pi-KVM requires you to compile the OS locally, which takes about an hour. If you've got a Raspberry Pi OS system (aka Raspbian) already, you can configure it for TinyPilot with two commands, and the install takes 5-10 minutes.
One of my goals with TinyPilot was to avoid a requirement for soldering/jumper cables, but if you don't mind soldering, that might not matter much to you. Pi-KVM works without soldering as well, but the documentation assumes soldering/breadboards.
I hope that there's space for both projects, and Max and I have talked about ways to potentially collaborate.
I'm looking to build a new home-server and was looking at mobos with management support. No need for that now though! Now looking for ways to keep the Pi inside the server case. Ideally want to have a ethernet, power jack and HDMI end built into a PCI bracket so it remains movable.
Thanks for the detailed reply. I'll likely give both projects a go.
RPis only have 1 OTG port, though. A device that could get it to handle more machines with that single port would functionally be a KVM-switch. I don't think there's a way around that, at least not one that'd be cheaper or more practical.
Continue this thread — 3 replies
I don't think there's a way to get the Pi to capture video or impersonate keyboards for more than one computer at a time.
A neat idea a friend proposed to me was to buy a "dumb" KVM that supports switching through keyboard hotkeys and use that to scale it to multiple machines. See my comment here: https://news.ycombinator.com/item?id=23928251
I think most people are better off building their own home (lab) server with a motherboard that supports IPMI (KVM over IP) natively.
Supermicro (only brand I've experience with) or other brands that build server motherboards all include IPMI with HTML5 support.
Doing so will save you a lot of trouble. Maybe you may not be able to run the kind of hardware you want, but it's all a tradeoff. You have to choose.
I have HP Microservers (quiet) and a Proliant (loud) all with ILo (HP IMPI) and it's awesome.
All comments shown.
Couldn't load more comments. Check your connection and try again.