Live data from Hacker News

Guacamole – HTML5 Clientless Remote Desktop

guac-dev.org

51–60 of 81 posts

Re: Guacamole – HTML5 Clientless Remote Desktop

#52
post #44
post #41

Earlier quoted context omitted.

> and RDP narrowly I don't suppose[1] it supports RDP 8's new ability to play video on a remote desktop by streaming the media across and decoding it locally (works in the Win/Mac official clients). I was amazed and dumbfounded the first time a YouTube video played in a remote session with perfectly in-sync audio and video and instant response to mouse clicks and now find it hard to go back... [1]: Can't test this my…

RDP8 also supports RDP over UDP which further enhances performance in high-latency scenarios. I'm assuming that is also not factored into that claim either

WebRTC tries UDP before falling back to HTTP/S. I'm betting guac will be even faster when they move to that from websockets.

I haven't seen any solid implementations of clientserver communication with webrtc compared to websocket, though - but I haven't looked very hard.

Re: Guacamole – HTML5 Clientless Remote Desktop

#53
post #47

I wonder if this can be used to set up a multi-headed workstation environment, where each user has their own desktop (Linux) on the same large, megalithic server? I have a machine with 128gigs of RAM and 1TB of SSD .. this seems like the perfect situation where I can give a desktop to 3 or 4 users on the same machine. Anyone know how well that works with Guacamole yet?

It doesn't seem like a particularly elegant solution, but with that much memory, you could almost certainly carve out 4 VMs, each running a separate guac instance, right? Getting to them might be trickier, though...

Re: Guacamole – HTML5 Clientless Remote Desktop

#54
post #45
post #40

Just wondering: what features of HTML does Guacamole use to make this HTML5-only? Is it video tag? Canvas?

https://github.com/glyptodon/guacamole-client/search?q=video... By looking in the code I think they use Canvas, streaming video would be interesting. Looking at guacamole-common-js/src/main/webapp/modules/Tunnel.js I think they use WebSockets with a XMLHttpRequest fallback?

Looks like it also uses audio - https://github.com/glyptodon/guacamole-client/blob/5ae22ce20...

Re: Guacamole – HTML5 Clientless Remote Desktop

#55
I've found remote desktop setup immensely frustrating in the past. Every six months or so I'll think "Wouldn't it be cool if it I could have an Ubuntu AMI on EC2 I could boot and remote desktop into?" Then it's hours of googling and config settings editing. Hopefully someone will point me to the easy way I've been missing?

Re: Guacamole – HTML5 Clientless Remote Desktop

#56
post #41
post #7

I run Guacamole on my home network as an RDP client to my Windows and Linux boxes. It's a fantastic piece of software. It beats VMC widely in terms of speed, and RDP narrowly when used across the internet. I run guacd on my home server and use that to access my interior network from any computer. It's stable, consumes low memory, and works nicely over HTTPS with apache reverse-proxying the Java webapp. A+ amaze your…

> and RDP narrowly I don't suppose[1] it supports RDP 8's new ability to play video on a remote desktop by streaming the media across and decoding it locally (works in the Win/Mac official clients). I was amazed and dumbfounded the first time a YouTube video played in a remote session with perfectly in-sync audio and video and instant response to mouse clicks and now find it hard to go back... [1]: Can't test this my…

While guacamole doesn't support video encoding and streaming itself, it's still fast enough to watch 480p-sized videos on LAN at 30fps, along with forwarded sound. Tested streaming from a Windows 8 desktop to a Core 2 Linux laptop running Chrome.

Re: Guacamole – HTML5 Clientless Remote Desktop

#57
post #48
post #46

Earlier quoted context omitted.

It is, but I'm using Firefox on Arch Linux and it works fine for me. H.264 has been supported in Firefox on Linux for a few versions now, although you need gstreamer installed with the relevant plugins.

Hey I'm on firefox (latest -31) on arch as well. Thing is vimeo doesn't load for me either. I do have the packages `gstreamer0.10` and `gstreamer0.10-base` installed, however in `about:plugins` in firefox, there are no plugins installed. So does this mean I have to have some such 'plugin' here for h264 to work?

Kinda. You need H.264 codec support in Gstreamer. Try installing the Gstreamer libav (an FFMPEG fork) plugin: https://www.archlinux.org/packages/?name=gst-libav

That should give your Gstreamer support for all formats libav supports.

Re: Guacamole – HTML5 Clientless Remote Desktop

#58
post #47

I wonder if this can be used to set up a multi-headed workstation environment, where each user has their own desktop (Linux) on the same large, megalithic server? I have a machine with 128gigs of RAM and 1TB of SSD .. this seems like the perfect situation where I can give a desktop to 3 or 4 users on the same machine. Anyone know how well that works with Guacamole yet?

Mmph, have done this with XenServer (can just self-built OSS) and just standard RDP clients for the short while I had access to a machine about that powerful. That worked beautifully and gave me (yes, just me :P) a bunch of very practical isolated environments on which I concurrently ran various heavy workloads (and one as my 'standard desktop' on which I watched YouTube videos whilst waiting for things :P).

I only use Linux/OSX for local machines, but RDP was substantially more responsive than any VNC server I could get my hands on (including RealVNC Enterprise).

Layering Guacamole shouldn't cause any real trouble beyond that - the dashboard needs to run on a separate Unix machine and so can be pointed at all those desktops just fine once you set up the network interfaces.

Re: Guacamole – HTML5 Clientless Remote Desktop

#59

There already have been a few nice VNC web clients around for a few years, like NoVNC ( http://kanaka.github.io/noVNC/ , python server-side, used in Openstack and others). Unfortunately, there's no magic: you need your VNC/RDP server, then your "clientless server" (proxy socket websocket or alike), then your web server to host the "clientless" client. It's becoming to be interesting when your VNC/RDP client directly…

Guacamole and NoVNC are very different conceptually. NoVNC is a client for the VNC protocol that runs in your browser, and a dumb TCP-to-Websockets proxy script that you run on your server if your VNC software doesn't already support Websockets in addition to TCP. Your browser and the server still communicate using the VNC protocol, and you'll get performance no better than TCP VNC (bad performance over the internet, in my opinion).

Guacamole has much better performance. Your browser and the guacamole server communicate using a custom, better-performing protocol (http://guac-dev.org/doc/gug/protocol-reference.html). While guacamole can still connect to your server with VNC, it also supports RDP, which is also faster. Even when using Guacamole as a proxy for VNC if your guacd and VNC servers are on LAN together, because the guacamole protocol works much better over high latency connections than VNC does.

Edit: also, Guacamole doesn't use Websockets, which makes it much easier to proxy with your standard HTTP proxy software like apache, which didn't get a Websockets proxy module until 2.4 (Ubuntu 12.04 is 2.2).

Re: Guacamole – HTML5 Clientless Remote Desktop

#60
post #26

Can I use this for a setup where multiple users look at the same "screen"? I combed through the documentation and am attempted to say no...

That sort of setup need to be handled by your VNC or RDP server itself. Guacamole will play nice with whatever your target server is doing in that regard.
Post reply on HN