Slashdot Mirror


Open Source Guacamole Puts VNC On the Web

tbitiss writes "A new open source project dubbed Guacamole allows users to access a desktop remotely through a web browser, potentially streamlining the requirements for client support and administration. Guacamole is an HTML5 and JavaScript (Ajax) VNC viewer that makes use of a VNC-to-XML proxy server written in Java. According to its developers, Guacamole is almost as responsive as native VNC and should work in any browser supporting the HTML5 canvas tag. Supporting 10 Linux desktops in 10 browser tabs? I like the sound of that."

31 of 180 comments (clear)

  1. bucng of layers by sourcerror · · Score: 3, Funny

    Please, can't we have some more abstraction layers? My machine is just so fast I can't handle it. (Yeah, I know, we use the extra performance to services which were unfeasible earlier blah, blah...)

    1. Re:bucng of layers by c++0xFF · · Score: 4, Funny

      Please, can't we have some more abstraction layers?

      Maybe we should make a new project called "BeanDip" ... it has 7 layers, including Guacamole.

    2. Re:bucng of layers by physburn · · Score: 4, Informative

      Yes please, lets turn all the screen output to XML, before turning it back to screen output, because XML, is so cool. That would be so much faster than streaming X11 (not).

  2. 10 desktops by macbuzz01 · · Score: 2, Interesting

    Eavesdropping 10 Linux desktops in 10 browser tabs? I like the sound of that.


    There, fixed it for you

  3. Re:Slashvertisement? by dotancohen · · Score: 4, Informative

    Ack! TFA (yeah, I went for it) splashes some ad that didn't make it past my hosts file. You might want this link instead, which goes to the sourceforge page and not the techworld blog:
    http://sourceforge.net/projects/guacamole/

    --
    It is dangerous to be right when the government is wrong.
  4. Great.... by macintard · · Score: 5, Insightful

    "Almost" as responsive as VNC? So it sucks even more?

    1. Re:Great.... by NormalVisual · · Score: 4, Informative

      It's not a matter of it being open source. VNC is sending huge blocks of pixel data anytime anything changes on the source display, whereas RDP sends much more high-level commands which the client can then use to reconstruct the desktop locally instead of having to retrieve each and every pixel across the wire. XDMCP is another protocol that's somewhat comparable to RDP, and takes advantage of the fact that the X window system was designed to work over a network and thus sends X commands instead of big blocks of pixels. XDMCP offers performance light-years better from the user's perspective than VNC in my experience, and I find it to be almost indistinguishable from sitting at the workstation itself when used over a 100 megabit network. NX is similar to XDMCP in concept, but offers a number of improvements and generally performs better.

      Also, RDP is a Windows-specific, proprietary protocol, so while there are Unix RDP clients that can connect to a Windows server, the fundamental differences in the way X and Windows generate their displays make it difficult to create a good RDP server for non-Windows systems. VNC's performance is usually pretty awful, but because it's just moving blocks of pixels around it's fairly easy to create a VNC server for any operating system.

      --
      Please stand clear of the doors, por favor mantenganse alejado de las puertas
    2. Re:Great.... by Abcd1234 · · Score: 2, Informative

      The X11 folks tried to fix that by creating Low-Bandwidth X (LBX), which may be what you're thinking of. It never really took off, both because it didn't really help much and few commercial Unix vendors (remember them?) bothered to implement it.

      Nah, he probably just got his acronyms mixed up. My bet is he really meant the Differential X Protocol Compressor, or DXCP for short. DXCP would be the precursor technology that lead to NX.

  5. Back ... TO THE FUTURE! by Jeffrey+Baker · · Score: 5, Informative

    Plain old vncserver had this capability since at least 1998. I remember using it once at a customer site and their staff gathered around gawking. "He's got xterms in Netscape!"

    1. Re:Back ... TO THE FUTURE! by Anonymous Coward · · Score: 2, Informative

      Yeah, but not with XML, Javascript and HTML5. That was a Java applet. So not cool.

    2. Re:Back ... TO THE FUTURE! by Jeffrey+Baker · · Score: 2, Insightful

      This piece of crap is a JavaScript/HTML5 hack plus a server-side Java process. The worst of both worlds!

      Guacamole is a HTML5 and JavaScript (Ajax) VNC viewer, which makes use of a VNC-to-XML proxy server written in Java.

    3. Re:Back ... TO THE FUTURE! by hax0r_this · · Score: 5, Interesting

      How is that the worst of both worlds, or a hack? This uses Java and Javascript both in the environments in which they work best. And I'm not even sure why you would call this a hack. Do you have a problem with working with XML in a Java server? Java is far from my language of choice, but thats hardly a hack. Or is it the drawing in an HTML5 canvas that you consider a hack? Because thats exactly what its for.

    4. Re:Back ... TO THE FUTURE! by lwsimon · · Score: 2, Insightful

      But it's open source, so stop whining and go rewrite it in Python, or Perl, or Assembly or something. Or Brainfuck.

      --
      Learn about Photography Basics.
    5. Re:Back ... TO THE FUTURE! by moosesocks · · Score: 2, Interesting

      Javascript's gotten fast/mature enough to be taken seriously as a real programming language. Google in particular have made some truly impressive progress with Chrome.

      Although the server-side Java applet seems annoying to have, and indeed hack-y, it's awesome that we're starting to see "real" applications in the browser.

      We'll hopefully start seeing lots more of this sort of thing, thanks to Apple's "war on flash."

      --
      -- If you try to fail and succeed, which have you done? - Uli's moose
    6. Re:Back ... TO THE FUTURE! by Dynedain · · Score: 2, Insightful

      The hack is in using XML (which has a high-overhead due to it being a "human-readable" plain-text format) to transfer large amounts of data that have no need to be "human-readable" or interpreted by different parsers.

      --
      I'm out of my mind right now, but feel free to leave a message.....
  6. NX by blkwolf · · Score: 3, Interesting

    I'd like to see something like this using the NX protocol as the response time is much faster than VNC.

  7. Re:Old news by cbuosi · · Score: 2, Interesting

    Yeah, but LogMeIn is an private, non-free app. Wake me up when an zero config behind-router to behind-router VNC-like app hit the road. The remote desktop integrated app used in MSN (live or whatever is its name now) is very good, but have some flaws (send EVERY FRAME of the remote desktop, becaming slow very fast) and its Windows/MSN only.

  8. Gee, what are the chances... by Locke2005 · · Score: 5, Funny

    that Guacamole would be announced on Cinco de Mayo?

    --
    I've abandoned my search for truth; now I'm just looking for some useful delusions.
  9. What's old is new by rwa2 · · Score: 4, Interesting

    Heh, all the way back since the late 90's I've been logging in to my VNC sessions via the built-in java client (just go to http://vnchost:5801/ instead of vnchost:1 ). I guess that means that HTML5 + JIT compiled Javascript is the new Java?

    If you like Guacamole, you'll probably also like AJAXterm, which can give you a webpage-based shell. It works well with GNU screen. It's nice for workplaces that block SSH but have an HTTPS proxy. Can't find a definitive webpage for it, but it's not too hard to set up from the debian repository. But it does seem to work a bit better than Mindterm (the Java ssh client from the 90's).

    For mobile phone use, I've been fairly content with the java MIDPSSH. Unless your smartphone has a native ssh client, of course.

    1. Re:What's old is new by Jeffrey+Baker · · Score: 2, Insightful

      The difference between a 4-digit user ID and a 7-digit user ID becomes increasingly clear.

    2. Re:What's old is new by al.caughey · · Score: 4, Funny

      I've got 10 digits but I'm only using two of them to type this message

  10. Re:Unencrypted by tepples · · Score: 2, Informative

    If you type passwords into a VNC session, you definitely want to tunnel it through something secure.

    Fortunately, HTTP has been tunneled over TLS since TLS was called SSL.

  11. Layers? by twoallbeefpatties · · Score: 4, Funny

    Would you prefer a seven-layer Guacamole dipswitch?

    I'm sorry, but I must not be the only one who's facepalming over a post about Guacamole being posted on Cinco de Mayo.

    --
    Libertarians somehow believe that private businesses should be stronger than governments but weaker than individuals.
  12. What are the benefits of this? by _bug_ · · Score: 2, Insightful

    The client (read:web browser) doesn't need Java installed. That's about it.

    If you have Java installed on your machine you can run a Java-based VNC client. The Java-based VNC client could be stored on a web server. So the benefits of cross-platform compatibility or use-anywhere accessibility aren't new or unique to the HTML5 client.

    But you don't need Java. But you do need an HTML5 capable browser. Both solutions require you install an application of some kind. But everyone has a browser, you say. Well, HTML5 isn't set to be ratified until 2012. Changes to the spec could still happen. Changes that might break this HTML5-based client. Whereas the Java-based client, I know, will work right now and will continue to work.

    What's worse, you're introducing a new point of attack/failure into the system. If you're paranoid enough to want an encrypted VNC connection you now have to worry whether or not the VNC/XML server is encrypting it's connection to the VNC server. You can't prove that it is, you just have to trust that it is. Whereas with a Java-based client you can setup a tunnel through any number of means and know that your direct connection to the VNC server is safe.

    You might argue the HTML5 client approach is more user-friendly; a less-technical user would find this solution far more convenient. A system admin might like the solution too as there's no need to worry about installing a JVM on the client or teaching the client how to start a Java application. But those arguments don't fly. Whether it's a JVM or a browser you will have to install some piece of software on the client machine. And a Java application can be delivered and launched over the web just as easily as some embedded HTML5 client. The ease-of-use to the end-user is the same.

    It's a nice hack to showcase what HTML5 can do, but that's all it is.

  13. Name? by DaFallus · · Score: 4, Insightful

    Why do so many open source projects have the dumbest names? Whats next? Ketchup? Towel? Come on guys, put the bowl down for five minutes and come up with a name that isn't related to the munchies in front of you or the stains on your shirt.

    --
    No one cares what your captcha was

    Houston TX, USA
    1. Re:Name? by hansamurai · · Score: 5, Funny

      Dude, your username is DaFallus.

    2. Re:Name? by TheQuantumShift · · Score: 3, Insightful

      Would you prefer "Remote Access Desktop Professional Ultimate - Browser Edition 9 (SP4)"

      Of course there is a happy medium, descriptive plays on words and acronyms (Rhythmbox, Gnumeric, Gedit, etc.) But why not have totally off the wall names like Pidgin, Gimp, Bluefish, etc. It makes things distinctive. Open source is about having fun (usually) so why box it in?

      --

      Shift happens. Fire it up.
    3. Re:Name? by AK+Marc · · Score: 2, Interesting

      I had an IT director that required I buy a Microsoft server and setup RADIUS on it because he refused to buy something called Steel-Belted RADIUS from Funk Software. His business excuse was that he'd never heard of "Funk" and didn't trust them to be able to give support because it's got a stupid name.

      So, what's in a name? Geeks think it's cute, and the people with the buying power pass it over, that's what.

      Though if done again now, he'd probably spring for it, since it's now Juniper and not Funk.

    4. Re:Name? by oatworm · · Score: 2, Informative

      If I had mod points, I would give you all of them.

  14. Re:HTTP has benefits by somersault · · Score: 2, Interesting

    Well apparently version 1.0 was released in 2006 so it's not that new.. but I've definitely noticed that too.. like I'll have never heard a word before in my life and then it'll turn up two or three times in as many weeks..

    --
    which is totally what she said
  15. Re:Hmmm... by fang0654 · · Score: 3, Insightful

    My company uses FormFlow Filler extensively, for filling out government forms. It was bought by Adobe and killed, with the end of life in 2004. It barely runs on XP, let alone anything later. If it was open sourced, I'm sure even with my meager coding skills I could at least keep it functional, since it is still heavily used. Point being, proprietary software being shelved sucks much more than open source software being shelved.