Live data from Hacker News

Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

mtlynch.io

101–110 of 284 posts

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#101
post #55
post #38

the best thing in this article is the immediate link named "I don’t want your life story; just tell me how to build it "

Haha, that was inspired by my experience of searching cooking recipes online.

Which begs the question - which cooking recipes start off with a biography of the author? Now I want to see those!

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#102
I have a similar solution in place. For reasons ... I have a machine that is 100% locked down by the client. I cannot install software on it, nor does it have any sort of remote access tools installed on it. To keep my work space clear, and negate the need for second monitor (as I need to be able to see the screen of this machine AND my main machine at the same time), I use an Elgato CamLink HDMI dongle[1] to capture the video output of the machine, and I use VLC to display it in a window on my main desktop. I use a bluetooth keyboard and mouse combo to control it. The latency on the video capture is very low (it doesn't feel any more laggy than a normal remote sesson), and as an added bonus I can screen capture the video stream, which is really useful for documentation. The CamLink is locked at 1080p, so as long as the machines desktop resolution matches that, I get a very crisp picture. I've been using this setup for almost two years now, on a daily basis with no issues.

--

[1] https://www.elgato.com

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#103
post #70

Fantastic project. Amazing how you overcame each obstacle, and very well written to boot. Kudos. Quite funny how you brought 1000 ms latency down to 200 ms. I wonder how this compares to iDRAC and that Raritan device.

I manage a machine that has an AST2500 (competitor to iDRAC in smaller vendors like Gigabyte, it rocks), and I didn't notice latency, so it's probably under 200ms.

Most iDRAC type products actually use that same Aspeed ASTxxxx with vendor firmwares. If a server reports "Matrox G200e" as display adapter it's it.

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#104
Nice, I had thought about an HDMI capture device but plugged it in, played with it for about 5 minutes trying to tune out the latency(I'm not exactly and ffmpeg pro) and didn't make much head way. I was also using either a pi 2 or 3, so that maybe have been part of the problem too. I'm glad someone actually had the time to see it through and put together a solution. Having one of these would have been super useful the past few days when I was having kernel panics due to a failing root disk on my home server, but I had any spare monitors stored away because I'm in the middle of moving. I'll have to give this a look once I get all settled in again.

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#105
There was another approach to the same problem posted on HN just yesterday[0], which took a very different route! Very interesting to compare/contrast the two appraches. That one doesn't do video, just gets you a terminal. (Not sure if it would let you mess with the BIOS or install a new OS like this one does? Not familiar enough with serial ports to assess.)

But anyway, TinyPilot is super cool! I'd love to get it set up one day. And the "life story" as to how it came to be was really neat, and made me feel like I understood the whole solution. Great article!

[0] https://news.ycombinator.com/item?id=23915777

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#106
post #65

Earlier quoted context omitted.

Thanks and that StarTech doesn't have HDMI. Maybe its cloud VMs that are removing the need for KVM over IP. I still want it.

I wouldn't say cloud VMs have removed the need, they've just made infra admins have to live without it. For the most part it's fine on well supported and tested OSes but before the container/kubernetes revolution I managed some personal VMs with esoteric distros in various clouds and so many things have to go right for that to work. A bad update or install of grub, initrd, dhclient, a handful of system services and m…

Google Cloud also provides read/write serial ports over SSH: https://cloud.google.com/compute/docs/instances/interacting-... -- but I think AWS still doesn't.

One thing I've ran into was root not having a password since the cloud images are typically SSH key auth only. That was annoying when trying to fix something simple like iptables or entering maintenance mode for a disk check.

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#107
post #2

Author here. Happy to answer any questions or take any feedback about this post.

Would a Pi Zero W work for this, or do you need a full-size Pi 4? I would think that with the HDMI dongle doing the hardware MJPEG encoding, a Pi Zero might suffice. It'd be really neat to A) bring the cost down another $30 and B) be able to package everything into a tiny 3D printed case.

I think you might run into a lack of connectivity on the Pi Zero W. Since the only data USB port has to run in device mode, I would assume you can't connect the HDMI capture device.

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#108
post #64

This is pretty cool (for managing servers cheaply), but I remain disappointed that remotely controlling computers over a network with low latency is still a difficult task. I've been trying to find a way to use a bunch of machines remotely over my LAN (for gaming / media playback on multiple devices), and have been somewhat disappointed at the quality / latency of the various options I've played around with. It's esp…

Have you tried out https://github.com/moonlight-stream/moonlight-qt ?

If all your host machines are Windows 8+, then Parsec is fantastic and has clients for every major OS other than iOS.

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#109
post #42

Earlier quoted context omitted.

I did this for a while, the problem is that there's really no such thing as a high-quality USB switch. They are all garbage and mess with USB devices in some way (at least at the consumer level).

I have an old Belkin USB 2.0 switch from god-knows when that works beautifully. I use it to share a hub with a keyboard and mouse attached. I’ve given up trying to find a 4K60 x2 DisplayPort KVM that doesn’t suck.

I have been using this at 4k60 (but 1 monitor) flawlessly for 8 months.

https://www.startech.com/Server-Management/KVM-Switches/2-po...

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#110
post #91

Hey OP, I was reading your linked HomeLab article and you mentioned you'd rather have gotten a mobo with integrated GPUs next time. Actually, motherboards do not include integrated graphics, it's all in the CPU/APU. The mobo you linked would not provide graphics either. AMD unfortunately does not have a high end APU released to consumers right now (there are some 4000 series, but only to OEMs I believe). However, for…

For years and years, many motherboards did have graphics sets integrated in. These days, you'll still see that on a lot of server-class motherboards.

e.g. https://www.supermicro.com/en/products/motherboard/M11SDV-4C... -- the line about AST2500 BMC graphics? That runs a VGA port.

Post reply on HN