Slashdot Mirror


Sun Rays For Linux

Tarantolato writes "According to an eweek story Sun Microsystems will be debuting a Linux port of their Sun Ray Server at Linux World this week. This would allow Sun Ray thin clients to be run off of a SuSE or Red Hat box, where you previously needed a Solaris-SPARC setup to do that."

15 of 131 comments (clear)

  1. Not yet Available it seems by hypermike · · Score: 5, Informative
    SunRay for Linux will not immediately be shipped for Sun's own Java Desktop System, as a server version of JDS has not yet been completed. However, Baer says that users will be able to configure JDS to work with SunRay, and that a full SunRay-ready version of JDS is in the works.

    Wonder how long until thats available? Thats probable what most of the crowd here would use.

    --
  2. Re:So what is it? by tonyr60 · · Score: 3, Informative

    No, it is not an X server. It has no real intelligence and is little more than a framebuffer, keyboard, mouse and smart card slot connected to a network interface.

  3. Re:So what is it? by 0racle · · Score: 5, Informative

    Sun Ray is a Terminal Server/Thin Client thing. In addition to providing the thin client, they handle several authentication methods such as smart cards, and session management so you can detach from one thin client, authenticate on another, and resume your session as you left it.

    --
    "I use a Mac because I'm just better than you are."
  4. Re:So what is it? by tonyr60 · · Score: 2, Informative

    No, it is not like a VNC client, I should have been clearer in my earlier comment. There is no processing in the terminal, it is effectively all hardware.

  5. Re:So what is it? by Jahf · · Score: 5, Informative

    Not true ... the appliance is not an X client at all.

    SunRay server software keeps framebuffers for multiple X sessions on the server. Those sessions are sent over the network via a completely different protocol from X. Very similar in high-level concept to VNC.

    This allows some neat things, the neatest of which you also don't mention :) The SunRay terminals have smart card interfaces.

    To put in practical perspective (I almost skipped my Disclaimer: I work for Sun here since it should be painfully obvious), my employee ID badge is a smartcard that I can use for entrance to the building. When I get to my terminal I can plug that smartcard in before I log in. If I want to walk away, I pull my card and my session stays open on the server, but not on the terminal. I can walk to any other terminal in the building, plug it in, and my session pops onto the terminal. I can leave things running in the session, since it never dies. I don't -have- to use my smartcard. I can log in without it, but I lose portability for that session.

    It is quite cool.

    Now of course the OS needs support for smartcard stuff, so the easiest way -today- is to use Solaris SPARC, but put the smartcard framework on Linux and use the Linux SunRay Server software and voila, portable network Linux sessions (as you mentioned, but pointing out the portability).

    Additionally, the SunRay terminals have USB connectors and audio. With proper support (it's being worked on) these will really enhance things.

    There are other neat things that I really wanna talk about, but can't ... they know my ID here ;)

    --
    It is more productive to voice thoughtful opinions (reply) than to judge (moderate) others.
  6. Re:So what is it? by markov_chain · · Score: 2, Informative

    Actually, RDP, VNC, and SunRays *are* the same thing. Their client sides are all networked framebuffers, they just use different protocols to get the bits from the server to the client. In addition, some of them try to optimize things by adding compression, caching, and higher level drawing operations. Then, some of them add authentication features like the SunRay smartcards.

    To put it in terms of X, in a thin-client system, both the X clients and the X server are on the server side (thus the name). However, the X server doesn't draw pixels on a locally installed video card, but on the remote thin client. In fact, both Sunray and VNC use a modified X server to do this.

    --
    Tsunami -- You can't bring a good wave down!
  7. Re:So what is it? by spinozaq · · Score: 5, Informative

    I actually did an undergrad project reverse engineering these little things. Now, (not then) there are a few web sites online that have info on how they operate. Like someone said, very similar to VNC, The protocol is actually called THIN. There is a short paper from Sun on the protocol. It mentions how they ran quake 2 on it. There are a few extra auth tricks as well. For instance, after it gets a DHCP lease it expects to keep a TCP connection open to the server forever more, and do nothing with it by keep alives. Everything else is UDP packets. We had nearly 100 of these running off a single 8 way V880 server using a gigabit switch to feed dedicated 100t lines to each ray.
    My goal was to write a server in Java that could at least auth and issue a few commands, draw a rectangle, draw an image. They actually send images and image change data in ascii pixel maps. I was impressed.
    The coolest feature for college anyway was the smartcards. They could store your session key and you could go to any other ray and use the card to bring back the screen right where you left off.

  8. This is GREAT news! by Anonymous Coward · · Score: 5, Informative

    Kudos Sun!

    I for one am extremely happy if this goes through as planned. Hopefully, Sun will not charge for the server software and only cash in on Sunray sales.

    In a not so distant past, we fell on the following website of a university student's project to reverse engineer the sunray protocol. Our only hope (out of expensive SPARC gear) was that this guy's project would work out in the end. I guess this won't be needed anymore, at least not with the perspective of simply running the thing of a lintel box.

    Our environment at work is composed exclusively of Sunrays, approximately 25 of them to be accurate. When we close in the 20 concurrent user, it gets pretty bogged down, especially with our venerable quad cpu E450.

    Shelling out money for a better Sparc-Sunray-driving-server was not desired, mainly because of the price (a 4-way V880 costs 10-20 times the price of a quad opteron, and doesn't perform nearly as well). In other words, were stuck with the current setup. The least we could do was to run Mozilla and related apps of a separate Linux X86 box and X11 forward everything. Still, driving the graphical environment for 20 users tends to bring the machine to a crawl once in a while.

    For those who will ask, connecting through XDMCP on a Linux box to drive the environment was even worse: those little XSun processes would eat up to a single CPU under heavy usage of the desktop, and it would feel pretty slugish. Understandable, since the screen refreshes would go LinuxBox -> Sunray server -> Sunray (one hop too many).

    Enough said: I am thrilled with this piece of news. Sun has made my day (and I haven't said that in a LONG while). Running Sunray enterprise software on a quad x86 box is a dream come true.

    1. Re:This is GREAT news! by Anonymous Coward · · Score: 1, Informative
      From an administration perspective, they're interchangable parts. If you have a sunray die, you drop another one in place, punch in the smartcard (which has no storage, btw) and you have your old session back with no lost data. Not so if an old diskless X terminal keels over. The software also handles load balancing for the session servers (and may handle failover with Sun Cluster, not sure about that.)

      The smartcard is just a cryptographic session token so that the server can uniquely identify a user, not a workstation. Each workstation has the equivalent of a smartcard built in, but that requires two commands by the administrator to relocate a session to a different token. All storage is on the server.

      General desktop use isn't an ideal purpose for these -- it's gotten a lot better with Sun Ray Server Software 2.0 (SRSS), and from talking to a person at Sun, 3.0 will use quite a bit less bandwidth. What this is ideal for is where you have a limited set of applications and the employees are close to interchangable parts. Think a call center, or data entry, not an engineer.

  9. Re:So what is it? by bill_mcgonigle · · Score: 2, Informative

    The most impressive part of the Sunrays is definitely that they don't feel like thin clients. Things zap around like as if you were on a local computer

    Yeah, but you need a dedicated 100Mbps switched network for your SunRays.

    Other protocols may fair better under similar configurations.

    Don't get me wrong, they're Frosted Flakes great, but it's not for free.

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  10. I'm using a Sun Ray right now by Anonymous Coward · · Score: 2, Informative

    I work everyday on a Sun ray. I'm running KDE 3.2.2 on a Solaris Ultra Sparc III. It certainly does not feel like being at a local machine, but it's not far off. We're on a gigabit network here. Sometimes if somebody is bogging down the network, it becomes unusable, but that's pretty rare.

    Overall, I think I would rather use a Sun ray simply because of the silence. The constant sound of a high performance PC with 3+ fans in it gets to me after a while.

  11. Re:Do the Sun Rays still require a dedicated LAN? by Triumph+The+Insult+C · · Score: 3, Informative

    maybe we were just lucky, but we were running them over port-based vlans just fine. cisco 2924s, so it's not like they were high end switches. we also had a few hanging off an unmanaged switch (which was uplinked to one of the 2924s). this was about 18 months ago. over 10M was ok ... 100M was much better though

    --
    vodka, straight up, thank you!
  12. Re:Opening Solaris? by multipartmixed · · Score: 3, Informative

    > I think that sun should come out with a new open version of Solaris that is fully
    > compatible with the current version but integrates some flavor of BSD.

    How would that be more beneficial than simply opening up the current sources? What parts of BSD would you include? Certainly, you don't mean the kernel, because you want full Solaris compatibility.

    Oh, wait, you must be one of *those*.

    Here's how to transform your Solaris box into a BSD box:

    1. Install gcc and gnu make packages from sunfreeware.com
    2. usermod -s /bin/csh cow007
    3. Add this to your .cshrc: "setenv PATH=/usr/ucb:$PATH"
    4. Add this to all Makefiles: LOADLIBES += -lbsdmalloc -lucb

    That oughta do it.

    --

    Do daemons dream of electric sleep()?
  13. Re:Do the Sun Rays still require a dedicated LAN? by Anonymous Coward · · Score: 1, Informative

    I've been using sunrays on 10 Mbit hubs shared with computers without hassle since before the 2.0 version of the software. Of course it's not supported by Sun but it works, and pretty well on top of that.

  14. Re:Completely silent-Dead giveaway. by nathanh · · Score: 2, Informative
    Not sure what the pricing is like now, but I looked into buying 50 of them at one point. In the UK it was going to cost me around £500 per station, plus of course the extra beef the servers needed (our network was ok so at least I didn't need to upgrade that). I couldn't justify the cost in comparison to PCs, which we were buying at arouns £1k at the time; for £500 extra the PC could be repurposed as a build machine, a test server, or whatever a project needed; they also came with 40Gb of disk, which would have cost us $$$ on the server. We could also save on PCs by not buying a new monitor for each PC replaced.

    You only compared hardware prices. Throw in the cost of PC software (including all the support software like Ghost, Antivirus, etc) plus the extra maintenance of having to package software for deployment, and a SunRay solution suddenly is surprisingly cheap.

    User's PCs weren't backed up, everyone had space on the servers which was raided and backed up; the cost of providing that much disk space, and backing it up, with the Sunray solution was prohibitive, and it would have been a single point of failure.

    You don't have an entire PC image per user on the server, silly person. User directories run 1-2GB each. The system software is shared across all users. You can get away with 200GB RAID-1 for 50 users without any trouble. Get a V880 with 12x FCAL slots and you have in-box growth up to 1TB easily.