Deutsch   English   Français   Italiano  
<ioE*7GJhA@news.chiark.greenend.org.uk>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: nntp.eternal-september.org!news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: Theo <theom+news@chiark.greenend.org.uk>
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Laptop as KVM to access RasPi
Date: 17 Jul 2025 12:39:24 +0100 (BST)
Organization: University of Cambridge, England
Message-ID: <ioE*7GJhA@news.chiark.greenend.org.uk>
References: <104pmc9$l3g$1@reader1.panix.com> <104q74q$1akmf$1@dont-email.me> <104qb31$1brog$1@dont-email.me> <1056c9f$8rog$1@dont-email.me> <1059176$tcjl$1@dont-email.me>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:93.93.131.173";
	logging-data="956"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-35-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([93.93.131.173])

mm0fmf <none@invalid.com> wrote:
> On 15/07/2025 21:04, druck wrote:
> > On 11/07/2025 07:30, mm0fmf wrote:
> >> On 11/07/2025 06:23, David Taylor wrote:
> >>> On 11/07/2025 01:37, vjp2.at@at.BioStrategist.dot.dot.com wrote:
> >>>> If I connect the RasPi to my laptop by USB is there any software
> >>>> which allows my laptop to be KVM (Keyboard, Video, Mouse)?
> >>>>
> >>>> PuTTY may work, but it doesn't have graphics.
> >>>
> >>> I recall PuTTY having some X11 extension, but I use VNC which, I 
> >>> suspect, is LAN/WiFi only.
> >>
> >> Setup RNDIS and you have a network connection between the two over USB.
> > 
> > The first search hit on RNDIS for Linux was how they are trying to 
> > expunge the horribly insecure Microsoft protocol from the Linux kernel!
> > 
> > ---druck
> Oh noes!!!!!! MS and insecure protocols.
> 
> Yes, RNDIS is insecure. But do you know what, if you allow someone to 
> plug any random device into your computer then insecure protocols are 
> the least of your problems. If it's your device and your computer then 
> it's no big deal.

If it's your device and your computer you could just use CDC-NCM instead. 
I've used that successfully between Pi-like devices (Beaglebone Black) and
FreeBSD servers.

Here's the script, based on the Beaglebone Linux's bb-usb-gadgets package:
https://github.com/CTSRD-CHERI/morello-bbb-ubuntu-image-builder/blob/master/morello/bb-start-acm-ncm-rndis-old-gadget

It does some combination of USB serial (CDC-ACM), mass storage, RNDIS and
NCM depending on which options you pick.

Theo