Hi,
now that Melroy and Dave want to spend time in improving x2go it came to mind that we are still lacking a long-requested feature: USB forwarding. So apart from implementing unit tests and doing code refactoring this is a great chance to make yourself immortal ;-)
Uli
Am 26.05.20 um 10:12 schrieb Ulrich Sibiller:
now that Melroy and Dave want to spend time in improving x2go it came to mind that we are still lacking a long-requested feature: USB forwarding. So apart from implementing unit tests and doing code refactoring this is a great chance to make yourself immortal ;-)
I actually looked at the USB-over-IP project's documentation a while ago, when a potential customer might have needed USB support. It seems, however, that their approach is unidirectional, unless you're using Linux on both ends. In other words, with what they offer, it's possible to share USB devices connected to a Linux box (i.e. remotely controlling a USB scanner, to save the file directly on your client), but not connected to a Windows or macOS box. So it wouldn't work for passing through client-side USB webcams to the host, for example.
If somebody proves me wrong here, I'd actually be happy about it. ;-)
References: <https://www.heise.de/select/ix/2016/2/1454730392228766> (in German) <http://usbip.sourceforge.net/> (in English)
-Stefan
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
https://github.com/cezanne/usbip-win talks about a window usbip server.
Uli
On Tue, May 26, 2020 at 10:37 AM Stefan Baur <X2Go-ML-1@baur-itcs.de> wrote:
Am 26.05.20 um 10:12 schrieb Ulrich Sibiller:
now that Melroy and Dave want to spend time in improving x2go it came to mind that we are still lacking a long-requested feature: USB forwarding. So apart from implementing unit tests and doing code refactoring this is a great chance to make yourself immortal ;-)
I actually looked at the USB-over-IP project's documentation a while ago, when a potential customer might have needed USB support. It seems, however, that their approach is unidirectional, unless you're using Linux on both ends. In other words, with what they offer, it's possible to share USB devices connected to a Linux box (i.e. remotely controlling a USB scanner, to save the file directly on your client), but not connected to a Windows or macOS box. So it wouldn't work for passing through client-side USB webcams to the host, for example.
If somebody proves me wrong here, I'd actually be happy about it. ;-)
References: <https://www.heise.de/select/ix/2016/2/1454730392228766> (in German) <http://usbip.sourceforge.net/> (in English)
-Stefan
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
x2go-dev mailing list x2go-dev@lists.x2go.org https://lists.x2go.org/listinfo/x2go-dev
Am 26.05.20 um 10:47 schrieb Ulrich Sibiller:
https://github.com/cezanne/usbip-win talks about a window usbip server.
Innnteresting.
However, before we implement USB support, wouldn't it be better to support generic additional port (and possibly socket?) forwarding in X2GoClient? USBIP could then hook into that code, and port forwarding is a feature request that pops up occasionally.
(Socket forwarding could help in getting SSH agent forwarding added to X2Go, I guess... unless newer libssh versions already support that by themselves?)
-Stefan
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
On Di 26 Mai 2020 10:59:34 CEST, Stefan Baur wrote:
(Socket forwarding could help in getting SSH agent forwarding added to X2Go, I guess... unless newer libssh versions already support that by themselves?)
Annnddd.. the socket forwarding code should then use unix domain
socket on the server side (instead of localhost IP ports)... SSH 6.7
and upwards does support that.
DAS-NETZWERKTEAM c\o Technik- und Ökologiezentrum Eckernförde Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde mobile: +49 (1520) 1976 148 landline: +49 (4351) 850 8940
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
Maybe this is just a feature proposal/improvement that needs a separate bug ticket.
Could somebody document all this somewhere?... That would be nice, right?
Best regards, Melroy van den Berg
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ Op dinsdag, mei 26, 2020 8:37 PM, Mike Gabriel <mike.gabriel@das-netzwerkteam.de> schreef:
On Di 26 Mai 2020 10:59:34 CEST, Stefan Baur wrote:
(Socket forwarding could help in getting SSH agent forwarding added to X2Go, I guess... unless newer libssh versions already support that by themselves?)
Annnddd.. the socket forwarding code should then use unix domain socket on the server side (instead of localhost IP ports)... SSH 6.7 and upwards does support that.
Mike
DAS-NETZWERKTEAM c\o Technik- und Ökologiezentrum Eckernförde Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde mobile: +49 (1520) 1976 148 landline: +49 (4351) 850 8940
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
x2go-dev mailing list x2go-dev@lists.x2go.org https://lists.x2go.org/listinfo/x2go-dev