Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
GUI Open Source Software X Linux

Ask Slashdot: Open Source Remote Application Access? 113

First time accepted submitter taikedz writes "Citrix Xenapp with Receiver/Metaframe allows publishing individual applications installed on a Windows server to users on remote machines. These applications open in their own windows, along side others as if they were installed locally. I am looking to do the same at home, with free software, publishing applications from Mac, Linux, and Windows machines (and yes, I've verified the license agreements for the apps I am going to do this with!). Up until now, the only alternatives I have found are full-on remote desktop login, not seamlessly-integrated. Can you recommend any tools that can achieve the goal of remote individual application access across platforms for free or at low-cost?"
This discussion has been archived. No new comments can be posted.

Ask Slashdot: Open Source Remote Application Access?

Comments Filter:
  • by aglider ( 2435074 ) on Tuesday January 29, 2013 @01:08PM (#42727939) Homepage
    Read the friendly manual!
    • by julesh ( 229690 )

      Read the friendly manual!

      Given that the desktops are almost certainly running Windows, this by itself is only half of the solution. The other half is cygwin's X server with the -rootless or -multiwin command line options (the former requires you to run a native X11 window manager, the latter uses Windows' desktop window manager to provide window decorations).

    • Might be a little bit more complicated than this. Some of the remote application systems I've seen allow seamless access to files on the client machine. Some of the systems don't run the app on the server, but rather on the client with some fancy encapsulation, so you don't have to worry about latency and the application can even be used offline if it's cached. The submitter wasn't very specific on how they want it to be implemented, but just keep in mind that there are many different ways of doing this an
  • by 93 Escort Wagon ( 326346 ) on Tuesday January 29, 2013 @01:09PM (#42727961)

    So, X11.

    • by Anonymous Coward

      You can have either total speed/efficiency or the "burden" of separating the back-end from the front-end (you know, basic software engineering principles unheard of in the Windows world). It's a trade-off. And like making sure you don't have out-of-bounds accesses or random jumps, and that your inputs are formal languages (e.g. finite-state machines), I think it's damn worth it.

      But I've only been software engineer for the last 20 years... so what do I know?

      • Feeling a bit defensive, are we, Mr. Scheifler?

      • Perhaps instead of waxing on about software design like you have a clue you should join the real world and realize the MS RDP implementation gives you both, not one or the other.

        Just because your software sucks doesn't mean it all does.

    • I've thinked in Java Web Start!
  • X forwarding (Score:5, Insightful)

    by Hatta ( 162192 ) on Tuesday January 29, 2013 @01:11PM (#42727985) Journal

    This has been a feature of X since before X11. It's even easier to use now with SSH supporting X forwarding. And if you're using it across the public internet, you can get good performance with FreeNX.

    Unfortunately, this is all likely to go away if X is deprecated in favor of Wayland.

    • Re: (Score:2, Insightful)

      I must be doing something wrong or GUI toolkits these days aren't designed as well for X forwarding, but anything slower than a LAN connection (and even then!) and it's painful to watch the screen update. My last attempt was last semester using Matlab off of my college's Unix servers so I wouldn't need to buy my own copy for homework and it didn't take long for me to pony up the $100.
      • Whoops, I replied to the wrong comment. I'm going to have to look into FreeNX in the future.
      • Freenx [berlios.de] is a great solution for less shitty X11 forwarding. It compresses and caches stuff and doesn't need nearly as much bandwidth.

      • I must be doing something wrong or GUI toolkits these days aren't designed as well for X forwarding

        Quite frequently. Many of the problems which modern replacements of venerable older parts of GNU/Linux are being designed to solve are caused not by bad tools but by people who don't know how to use them.

        They would, of course rather nuke the entire system and rebuild from scratch than learn the old tools. This means that the new systems frequently repeat ancient mistakes and corner case bugs that were hammered

        • by jgrahn ( 181062 )

          I must be doing something wrong or GUI toolkits these days aren't designed as well for X forwarding

          Quite frequently. Many of the problems which modern replacements of venerable older parts of GNU/Linux are being designed to solve are caused not by bad tools but by people who don't know how to use them.

          X11 is neither GNU nor Linux; it began as another lump of free software ... but apart from that, +1.

          Back in the 1990s, it was understood that X11 programming had an network efficiency aspect. For example, forcing a network roundtrip for some common user-level operation was considered bad, because N*x milliseconds can easily become a long time.

      • by TheCarp ( 96830 )

        actually, this is a serious issue, and I am not sure the cause, likely its morre than one.

        I can think of a couple of apps recently where I had serious issues. The first was "virt-manager" which is, biog shock, a gui virtual machine manager. I don't usually use it myself, but i was building a VM Host for a friend with a small web design firm who was passing files around the office on USB sticks! I found I could run it fine locally, or over the LAN, but, over an SSH connection? Slow to the point of unusable.

        • by pnutjam ( 523990 )
          My home server runs OpenSuse and FreeNX. i access it across the internet all the time. They even have a java client that allows you to access it from PC's that don't have the client installed. No support for Android yet...
        • by unrtst ( 777550 )

          I can think of a couple of apps recently where I had serious issues. The first was "virt-manager"...

          Just a guess, cause I'm running virtualbox instead of virt-manager, but does it display a thumbnail of the vm's state? If so, that'd likely explain it, because it's essentially doubling the rdp/x11 traffic.

          Second one was....filezilla of all things. I was at work and needed to test an external service. So I ssh into my home box, and fire up filezilla from there. I ended up packing up and driving home to do the test, it was THAT slow.

          First, the upload speed on cable (typical home access) is often horrible. That'll probably hit bandwidth constraints right there with most apps (partially because most apps these days use bitmapped graphics for drawing all their ui elements, as opposed to something like mwm or xwm and apps using the x11 t

          • SSH is ridiculously slow for things that aren't text sessions (and the amount of advice which is "do your backup over SSH" is staggering considering this).

            Over any reasonably fast link you need to be running the HPN-SSH patchset to get performance above 2 mb/s in my experience. The MT-AES cipher also helps (though breaks if your application forks, though I've found very few cases where this is a problem currently in practice).

      • by SuperQ ( 431 ) *

        X has never forwarded well over anything but LAN. Back in the '90s I did remote X forwarding to sun/sgi machines to be able to run some stuff on my linux while in school. Of course the only non-lan back then was modems.

    • by vlm ( 69642 )

      And for mac and windows apps I've had some luck with virtualbox displaying over Xwindows.
      Yes I know he wanted app level not full on remote desktop, but you can visually simulate that into being apparently identical without much effort, at least for windows stuff. Ends justify the means and all that.
      VNC into a windows desktop on virtualbox works pretty well too.

    • X is completely useless over anything more than a local network. Between South America and Europe, the only viable approach I've found is to run an Xvnc session remotely and then VNC to that. This is more or less what is proposed for remote Wayland, so we lose absolutely nothing by switching from X to Wayland (once all the necessary parts are implemented). Not sure where this unrealistic pro-X anti-Wayland FUD comes from. Nostalgia for dying 80s era technologies?
      • by jedidiah ( 1196 )

        Use VNC?

        That's funny.

        VNC is a pig even on a LAN.

        Caching and compression with X is much more effective.

        While X haters were busy repeating 20 year old arguments, the rest of the world caught up with Unix. Now if you gut remote desktop access, you will just be making Linux look like it's 20 years behind.

        You've got to bake this stuff in. You can't just ignore it. There's really no way around it. Otherwise you end up with stuff like what Mac users are stuck with.

        • <<VNC is a pig even on a LAN.>> That's weird because it works fine for me quarter-way around the world with a 200ms RTT. I'm not trying to watch YouTube, though. Maybe we have different expectations. VNC works well enough at this distance to let me do what I need to do, whereas X fails completely. I would sing X's praises if it actually performed. FreeNX maybe works, if I could find packages, although it seems pretty much abandoned on Debian. Even the x2go stuff doesn't have a server available.
        • Maybe if you have brand new applications written properly then X is okay. However, I have old legacy apps that require many round-trips between the X client and server to do the simplest things. For a cross-country link with 60ms ping it is *FAR* faster to use VNC than to use X.

      • by Hatta ( 162192 )

        Have you tried FreeNX?

        • <<Have you tried FreeNX?>> No, I haven't. I'm just trying to figure it out right now. If it is comparable to my VNC session (i.e. I get responses back in a time roughly comparable to the RTT) then I'll switch.
      • X is completely useless over anything more than a local network. Between South America and Europe, the only viable approach I've found is to run an Xvnc session remotely and then VNC to that. This is more or less what is proposed for remote Wayland, so we lose absolutely nothing by switching from X to Wayland (once all the necessary parts are implemented). Not sure where this unrealistic pro-X anti-Wayland FUD comes from. Nostalgia for dying 80s era technologies?

        Experience with VNC. Slinging pixels sounds like a horrible idea if you've ever used VNC. Of course the issue is VNC is just slow, since obviously if I can stream 1080p from YouTube my quad core i7 should be capable of doing something similar with it's desktop output.

        That said, it does seem like a missed opportunity in Wayland not to let applications pass some type of sub-information about drawable window space up to the compositor for this purpose - Wayland deals with them as flat buffers, there's no proto

        • You can stream 1080p compressed across the Internet because someone spent considerable CPU power to compress the video in advance that you can not possible do in real time.

          Per-recorded versus real time.

  • Two easy solutions (Score:5, Informative)

    by Burning1 ( 204959 ) on Tuesday January 29, 2013 @01:14PM (#42728017) Homepage

    First, if you haven't already read up on Xwindows networking model, you really should. X natively supports what you're requesting, and has for decades. In most cases, it's as trivial as opening a ssh connection to the remote machine, using the -X flag. E.g. 'ssh -X remotehost'

    If you need to support Windows applications, you can use RDP in seamless mode. Newer RDP clients for windows support this natively, with a little configuration work. There is some support in the linux RDP client, but when I tried it about a year ago, it required a special helper application to work. Be aware that RDP is no where near as fast as Citrix.

    Finally, if you simply want Windows applications to seamlessly integrate with a linux desktop or visa versa, VMWare player/workstation supports a seamless virtualization mode. It would not surprise me if KVM or Xen have a comparable feature, but I haven't played with them on the desktop long enough to know.

  • rdesktop (Score:4, Informative)

    by doas777 ( 1138627 ) on Tuesday January 29, 2013 @01:18PM (#42728087)
    Have you looked at these solutions? https://help.ubuntu.com/community/SeamlessVirtualization [ubuntu.com]
  • NanoX makes X usable even over slow links. There is a free version. It is quite a joy to use and is superior to RDP/VNC implementations.

  • by scorp1us ( 235526 ) on Tuesday January 29, 2013 @01:40PM (#42728393) Journal

    http://www.nomachine.com/ [nomachine.com]
    I'm sorry, my mind pulled the server, not the client side of the question.

    The NoMachine server/client is amazingly fast.

    • Also of note - the server runs only on Linux/Unix, however as asked in the original post, NX Server will allow you to run just a single application at once, and with careful setup (ie: virtualGL), you can even run very graphics-card intensive applications on the server, accessing the server's graphics hardware for GL, and send that rendered application to the client. It's free for limited personal/educational use, and requires a license for large-scale access.

      It supports awesome features like restoring
  • by Anonymous Coward

    Windows Server 2008 has fairly well-rounded support for seamless application sharing, it's very similar to Citrix Xenapp but not as full-featured. 2008 R2 expanded this even further. Read up on Remote Desktop Services, you may find everything you need is already built-in.

    • Hardly "for free or aqt low cost" though is it?

      • You do realize if he spends an extra week finding and setting up a solution rather than just using Windows.than his paycheck will be more costly than just buying the licenses, right?

        Cost is a big picture thing, not a single item/aspect.

  • http://www.ulteo.com/home/ [ulteo.com] is a simple drop in replacement for citrix.
  • For home use I recommend Window Switch. [winswitch.org] You could roll your own DIY solution with a combination of xpra, X11, vnc, rdesktop, ssh and so on but WinSwitch already does all that for you.
    • by higuita ( 129722 )

      Agree, winswitch/xpra is a good solution and now with a new active development.
      x2go is also a very good option, its the freeNX with better support apps and before the nomachine closed freenx4

  • No machine's nx server/client does exactly what you want. http://nomachine.com/ [nomachine.com]
  • It's been years since I used it but the free version used to work on both Linux and Windows. The website says it works on Mac ,Solaris, and HP. http://www.realvnc.com/ [realvnc.com]
  • by Anonymous Coward

    Option 1. (if your software is linux-native or runs stable under wine, needs no fancy gfx)
    xrdp + wine - a remote desktop solution, integrates well, authenticates well
    rdesktop can haz a seamless mode, preferred corporate solution
    can be tunneled via ssh or vpn to add security
    ubuntuwiki/xrdp [ubuntuwiki.net]

    Option 2. (if your software is linux-native or runs stable under wine, needs no fancy gfx)
    ssh -X remotemachine "wine remoteapp"
    to integrate: ActiveDirectoryAuthentication [ubuntu.com]

    Option 3. (if your app only runs only on windows, you

  • by Richard_J_N ( 631241 ) on Tuesday January 29, 2013 @03:07PM (#42729735)

    What I'd like to know is whether we can have a way to time-share Windows applications. Consider an office of 100 people. At the moment, they all of MS Office installed, just in case they get an attachment that LibreOffice can't handle. That's 100 copies of the MSO license.

    We'd like to move them to Linux, and LO, but still need that MSO capability just occasionally. So the obvious way is to set up 100 free desktops, and put 5 Windows+MSO machines in the corner, people can then walk over, queue up, and use the MSO machines if they really must. Result: only pay MS for 5 licenses, and start escaping lock-in.

    But that's really ugly. Is there any elegant way to do this seamlessly for the end user, with VNC or similar? We need to ensure that 100 people can all (potentially) access MSO in their own environmnent (own PC, own view of the fileshare, if possible, own preferences), but with some sort of queuing system that shares out the access.

    I'm aware of the ugliness if 6 people need MSO at the same time, and that this might not work well for video, or advanced powerpoint. But otherwise, how might it be done? (And given that MS might not *like* it, how do we stay legally covered. IMHO, this is perfectly fair, because MSO is only ever installed on 5 PCs, and only ever used by 5 people at a time).

    • by stefpe ( 256175 )

      I'm not sure you can do this legally.
      That is, the 5 PCs in the corner should be ok. But according to this blog post (which, granted, is over 5 years old,) RDP / VNC is not:
      http://blogs.msdn.com/b/mssmallbiz/archive/2007/08/08/4298215.aspx [msdn.com]

      Quote: "Terminal Services does not change the number of devices accessing and using a software application, it merely provides another avenue to access the software through. So licensing Microsoft Office doesn't change at all regardless if Terminal Services is used or not.

      • This is the question. What I'm trying to do is arrange the "5 MS machines in a corner, walk over there and take your turn" approach, but without the walking. The company would generally have zero users making use of MSO; it just needs to know that all 100 of them could, if they had to, have occasional access. The Windows machine could be a single-user box, running a single shared "public" account.

        Otherwise, what would it take to have a system that could script MS Office, to provide, say, a web-service that

      • by mvdwege ( 243851 )

        I have recently worked through a license assessment with Microsoft, and I can confirm that the company line is that you need an Office licence for every client device accessing office.

        Even if it is the same user accessing Office from their office workstation or from home using the company VPN, each device they use to access the server hosting Office counts as a seat for licensing.

        What makes this confusing is that host access using RDP can be licensed on a per-user basis.

    • The viewers for all Office components are free downloads. You could also set up Office Web Apps server (also free if you have a Software Assurance agreement) which will integrate itself into your Exchange 2013 environment to view all Office documents in Outlook's preview pane.

      Or... you could get a few subscriptions to Office 365 for $8 a month per user if the usage is infrequent...

      • Interesting point about the Office 365. The problem with the MS viewers is that they can't save the document in a non MS-format. And LibreOffice can't perfectly import the more awkward bits of MS documents.

  • by Anonymous Coward

    This sounds like exactly what you're looking for:

    http://stanev.org/winconn/

  • I know it's not free, but didn't SCO Taratella do this? It's now Propalms TSE, but it looks like it only provides a Windows server and multi-platform clients. Sad if so.

  • http://en.wikipedia.org/wiki/Comparison_of_remote_desktop_software#Operating_system_support [wikipedia.org]

    NX has already been mentioned, but giving more details. Personally, I do think that Linux needs a good, fully GNU, non-MS-tied graphical RDP client/server (especially for businesses trying to go completely Linux). However, I think NoMachine/NX is probably what you're looking for based on the question. Also, as already mentioned, you can use VNC or X11 forward calls to your machine or even use xrdp on server wit
  • I haven't tried it myself, but stumbled on it few years ago.
    Ulteo (download links) [ulteo.com] should provide you with seamless application integration regardless of the platform.
    Downside: the webclient is java based
  • Try XRDP. It doesn't have all the features MS RDP has but the features it has work well. You can use different rdp clients like mstsc, rdesktop, freerdp and thin clients. http://www.xrdp.org/ [xrdp.org]
  • A little known add on for Windows clients: RemoteApp for Hyper-V. It allows Windows clients (XP+) to be used as seamless application hosts for RDP clients.

    http://www.brianmadden.com/blogs/gabeknuth/archive/2010/01/06/RemoteApp-for-Hyper_2D00_V-_2D00_-Microsoft_2700_s-single_2D00_user-app-solution.aspx [brianmadden.com]

    Caveat: does not require Hyper-V

  • by raymorris ( 2726007 ) on Tuesday January 29, 2013 @08:08PM (#42733025) Journal
    No matter what protocol you choose, the right color palette can make it MUCH faster. most business applications look fine with 256 colors. modern desktops typically use millions of colors. 256 colors is SO much more responsive than 16 million.
  • To publish Linux-based programs (and Windows-based ones which run fine on Wine) you might want to have a look at x2go [x2go.org], a project based on NX. I've used it for a few years without problems over all sorts of networks. Clients are available for 'the big three' (Linux, Windows, OSX), the server runs on Linux. Performance is good over a wide range of networks, all the way down to GPRS/dial-up.

    • * NX is now closed source (v4 onwards) and the old branch (v3) is no longer maintained.
    • * Xpra [xpra.org] absolutely kills everything else in terms of performance and features.

    If you need a GUI on top of that (not sure you really do):

    • * Xpra has a limited GUI session launcher (but only for connecting to existing sessions at the moment)
    • * NX has a number of management tools - beware, most of them are abandoned or buggy and insecure..
    • * winswitch [winswitch.org] handles both and more (VNC, RDP, ssh -X, ...)

    Disclaimer: Xpra and winswi

  • Why is everyone insisting on open source software?! Did they guy ask for advice on what was open or not? Quoting "Can you recommend any tools that can achieve the goal of remote individual application access across platforms for free or at low-cost?" It doesn't matter if NoMachine's v 4 is closed source. What counts is that it WORKS! And who said NX 3.5.0 is not maintained any more? What nonsense!!!! As a long-term customer of NoMachine's v3.5.0 eagerly awaiting v 4 to come out of Preview, I can assure ev
    • by pnutjam ( 523990 )
      He's probably confusing freeNX, which does appear to be abandoned, with NoMachine 3.5. People seem to think a mature code base that doesn't need constant bug fixes is abandoned.

Math is like love -- a simple idea but it can get complicated. -- R. Drabek

Working...