Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Linux Software

The Thin-Client Challenge? 44

An Anonymous Coward asks: "A friend of mine showed me this webpage which basically asks this question and offers a challenge to create a UNIX-ish Thin Client that can connect to a Windows terminal server. He really is serious, and has attempted this on his own before. Any hope out there in the Linux world for a small, easy to deploy thin-client only distro?" This is not the first time this question has come thru the pipe before, however I figure if someone can answer this challenge, all will benefit. Does anyone think this can be done? If so, speak up, if not, please give reasons as to why.
This discussion has been archived. No new comments can be posted.

The Thin-Client Challenge?

Comments Filter:
  • Too late (Score:5, Funny)

    by rw2 ( 17419 ) on Friday November 16, 2001 @03:03PM (#2575747) Homepage
    I was going to answer his question, but burned through $150 of billing time reading his page and typing this reply. :-(
  • wow...$150 (Score:2, Insightful)

    by ReidMaynard ( 161608 )
    I have nothing more to add at this time

    except

    this sounds like a stupid idea...btw, whats a w2k terminal server do?
    • by kneecap ( 4947 )
      What does a w2k terminal server do?

      what else, crash and/or get hacked.
    • Windows Terminal Server is Microsoft's lame attempt at an X implementation. It is also Microsoft's lame attempt at a Citrix MetaFrame implementation. In other words, if you aren't familiar with those products, it's a way to run Windows remotely.

      I don't however think it's such a stupid idea, what better way to start integrating Linux into a Windows environment than to start using it to do Windows tasks. Terminal Services Client (TSC) on Windows as a thin-client just doesn't work, and really doesn't make any sense. I've seen a few places that boot up a bare-bones Windows install and then launch TSC. But first you have to log on the local machine, then the remote, etc. it's pretty messy. Linux would suit the task perfectly.
  • Rdesktop.... (Score:2, Informative)

    by L.J. Hanson ( 936 )
    Shouldn't be to hard to make. I was fairly certain someone had a two floppy X11 distro. There is a base, just add in rdesktop and your done.

    L.J. Hanson
  • who wants the $150? (Score:2, Interesting)

    by spike666 ( 170947 )
    go here:
    [ltsp.org]
    http://www.ltsp.org/contrib/diskless-windows-how to .htm

    why do i suspect that this guy is gonna pay someone $150 and then turn around and charge a client $15000 for it? maybe i'm just too cynical after reading about the Fink deal.
    *sigh*
    • I agree. A client/server consulting company is looking for someone to do some work on a flexible, widely-applicable software project, basically for free, that will definitely be used to replace "a load of Windows boxes."

      Surely, as a software consultant, he realizes that you don't consult for free, especially if the client is better situated to make money on it than you. Did you notice how everything has to be under the GPL or BSD license? I notice that their software doesn't appear to be free... is it so that you don't have a chance of making more money on the deal than $150?

      He would already have a working set-up on his hands if he either a) made clear his intentions to resell, and arranged for some kind of money-sharing agreement, or b) offered a real sum of money for the proposed purpose (back to that "load of Windows boxes"). But the people who can do this quickly and professionally are going to expect to maintain a professional, i.e., reasonably beneficial, relationship.

      His 'challenge' is for someone to do something for nothing, which is not at all what free software is about; custom setup (despite his pleas for l33t hax0rs to take the job, this is more of s'kiddie job) is always expensive, end of story.

      • Oops, didn't mean to submit so quickly- I also wanted to mention, he expects it to be tested in VMWare and in a Norton Ghost-compatible image, which costs considerably more than he's paying.

        Sure, you can use VMWare's 30-day trial, but I doubt 'commercial use' is covered under their trial license, and having just checked, I know distributing ghost images for deployment on multiple machines is prohibited by the Ghost Personal Edition license.

        These are (IMO) very minor issues, but the point is that they wouldn't even be raised if the offer was reasonable- the offer is so unreasonable that it can't cover expenses.

  • I've been looking at the Sun Rays and have wondered how they've run out in the real world. Has anyone had any experience with these or other systems?
    • We use them (SunRay) in our office. We started out with an Ultra10 to support 5 users. This was pretty slow, we have since switched to a 420 (gotta love the dot com bust :) and it works great. We all run Ximian Gnome, Mozilla, play MP3s and I abuse XEmacs and the machine is still very snappy.

      The thing we learned it to have plenty of memory and CPU. We tried to go cheap and it didn't work too well. We are all Unix sysadmins yet it's nice not having to maintain different boxes, IOW, it allows us to do our "normal" jobs.
    • I have only had one experience with Sun Rays, and it was bad, very bad.
      At java one 2 years ago sun had something like 500(maybe even 1000) sun rays set up around moscone center. When you picked up your badge for the show, you got your smart card which got you onto the sun rays. before the show really started, and there were no many people, they were working ok, not fast, but ok. By the end of the first day of the show they werent really usable. it was taking several minutes to logon, and doing anythign was painfully slow.
      The next morning, the sun rays were all gone. They had all been replaced by ultra 10s.
      If sun cant even get them to run in a workable state, i have no faith in sun rays. Keep in mind that the network they were running on proably wasnt the most ideal, because they only have 5 days to setup the show. But still having to replace the $500 thin clients with $6000 workstations just doesnt look good.
      If the network was the computer, then we all using a giant abacus.
  • Not too difficult (Score:3, Interesting)

    by uslinux.net ( 152591 ) on Friday November 16, 2001 @03:43PM (#2575981) Homepage
    This sounds fairly trivial, actually. From his specs, assuming a standard set of hardware, it wouldn't be too hard to build a stock kernel, X with standard SVGA, use the splash screen patches to hide the messages, and install rdesktop (which, for those of you who are unfamiliar, is similar to the Citrix client).

    In fact, he could even do a thin-client boot from the network and go diskless (which would make maintenance even easier), though for his specs, mounting most the partitions read-only and running reiser or ext3 on anything which changes would probably suffice).

    I'm fairly sure I could do this in very little time, but I'm sure someone with more free time (since this project isn't paying enough for those of us who need to pay our rent) will beat me to it :-)
  • Here's how (Score:5, Informative)

    by RGRistroph ( 86936 ) <rgristroph@gmail.com> on Friday November 16, 2001 @03:55PM (#2576063) Homepage
    First, check out DemoLinux [demolinux.org], and see if it has rdesktop on it or if you can get them to add it by sending a polite email. If so, then you are mostly done. Otherwise:

    To start, look at the files in this minimal distribution that runs X:

    2-Disk Xwindow Linux [btinternet.co.uk]

    Look at other minimal distributions including the various floppy linuxes and bigger ones like Peanut Linux. [ibiblio.org] Ibiblio's list of distributions [ibiblio.org] is probably the place to start. Look at some of those distributions that come on busincard sized CDs.

    So pick one of these that seems configurable and set up a machine with the hardware you have in mind and install it (or boot from the floppies) and start adding to it. First do X, then your rdesktop client, whatever that is. Here's a hint: don't worry about removing compilers, unused libs, etc until you are done. Even then, keep several CDs of the "development edition" around, because you may need all that stuff to add more things in the future.

    To get your automatic boot up and start of the client and etc, look at how Mandrake does the automatic log in thing, and simply put all the commands you want to be run in your .xinitrc file, and then have the window manager be the last command. Look at man xinit for details.

    The final step would be to trim it down and set it up. My approach here would be to make it a bootable CD like Finnix. In fact, what I would do is start with Finnix, add X and the other stuff, and if I still had space on the CD, stop. Free space on a read-only medium is useless, you might as well put every single thing you think you might need on there until you fill it up.

    Some modifications I would make to Finnix would be putting all of the /etc directory in the ram disk, so you could re-configure things on the fly, and if your machine did have a local harddrive, maybe you could use that for swap. Running off a CD means that the user can just turn off the machine when done -- there is no disk to fsck, everytime it starts up it thinks it is the first time, so to speak. I've been playing with modifying finnix, I copied the cd to disk and modified some stuff, and got busy and never burned my new copy to see if it would boot.

    But in the long run, you have to realize that you are not going to get someone to do this for you for $150. You might try out DemoLinux [demolinux.org] and see if it already meets your needs as is -- I would expect that you would need to add that rdesktop thing. You have to either pony up the money, or do it yourself.

    Inspite of what some Zealot Hypesters may have told you about Linux being as easy to use as the interface to a coke machine or whatever, you have to come to the realization that Linux is about Freedom. It will always be easier not to be free. Worrying about "is linux ready to meet this bulletized list of requirements" is like worrying whether you might have to walk around a lot and get rained on sometimes and have to get a job if they let you out of prison. If you have any self-respect, it doesn't matter: a free system is the only choice. This means that you have to either put up with not being able to do what you want with computers, or bite the bullet and spend some of your own personal time reading and learning how to install things and configure stuff. Just like you spend your personal time reading the newspaper and going to vote.

    If I sound like a dirty gnu hippie Stallman-worshipping fanatic, it's because I am, and I'm proud of it.

  • Go to www.lnxbbc.org [lnxbbc.org] and a copy of the bootable business card cd. You can get the latest copy out of cvs, get a copy of their simple little build script and add whatever you want to it. I've got my own personal copy that I've added a few things to, one of which is rdesktop(and X11 rdp client).

    It has XFree86 on it, and runs on the framebuffer, so it should work on darn near anything. It's got drivers for every nic I've tried it on, already on the disc. And it's worked fine with every pcmcia nic I've tried.

    Shouldn't take too much effort to make it boot straight to X, and start an rdesktop connection. Anywho, it's a place to start.

    Pat
  • by Usquebaugh ( 230216 ) on Friday November 16, 2001 @05:47PM (#2576666)
    Firstly, this is not really a difficult problem, I've submitted far harder and had them refused :-( If you're a programmer and know how to search the web you can probably achieve most of this within a week.

    Secondly, it's worth a damn sight more than $150 That's the real problem, It's not some hacker with a pet peeve or needs to know if some tech is available, it's a company asking for free consultation. Shouldn't this be posted in the OSDN jbs section?

    Go on mod me off topic, until /. has a daily article for people to bitch about /. I'll continue to post off topic.
  • Done. (Score:5, Informative)

    by Nailer ( 69468 ) on Friday November 16, 2001 @06:17PM (#2576790)
    Runs on a commodity Pentium-class or higher (assume approximately ~166 MHz or higher) x86 hardware, 32 MB of RAM, preferably within 16 MB of RAM.

    Sounds reasionable. Use Keith Ps TinyX X server, which is used on Microwindows any many oother embedded Linux systems.

    Is very barebones - I do not need a full distro. Under ~128 MB in size would be great.

    My work [cyber.com.au] does embedded Linux consumer devices for Large Unnamed Japanese Electronics Company. 128MB is doable.

    Pico or VIM is okay for a default editor.

    They're unecessary too. Obviously the end user won't modify text files. Keep the whole development on a seperate OC and cross compile - this keeps the shit off the small box and means you can compile things faster.

    Requires no user intervention to boot, get a DHCP lease, load X-Windows, start the rdesktop client, and connect to a machine with the DNS name of "termserver" or other similiar handy name.

    Cool. Autologin to X by a particular user is supported by most display managers. Then in whatever users .xinitrc or .xsession (I can never remember which is which) put:

    START

    #!/bin/bash

    # Change the background color and cursor
    xsetroot -solid rgb:39/6d/a4 -cursor /terminal/cursor.xpm /terminal/mask.xpm

    # Set the variable lasthost to the content of the .rdplasthost file
    lasthost=`cat .rdplasthost`

    # Set the variable host to the stdout of Xdialog
    host=`Xdialog --stdout --icon rdesktop.xpm --no-cancel --ok-label "Connect" --inputbox "" 400x200 $lasthost`

    # If we can ping the host, continue. If not, fuck off :)

    # Seems good. Lets remember it for next time.
    rm -rf .rdplasthost
    touch .rdplasthost
    echo $host >> .rdplasthost

    # Run an rdesktop session on the host
    rdesktop -g 1152x864 -f $host

    END

    Provides a clean, friendly method of powering off the machine without causing data corruption on the file-system level (ie, after disconnected, will prompt for re-connection or shutdown).

    Have the button on the front force a shutdown. This is easy with most embedded hardware. You'd also use a journalling filesystem.

    Supports at least three commodity network cards

    Linux can do that if you want, but I don't think you want that. Buy an untra tiny embedded box from Advantech that fits in the back on an PCD display. This way the hardware is a `known quantity' and problems are a lot easier to troubleshoot - less variables equals less things to go wrong, which is important to anyone making embedded boxes. How often do you change the hardware on your NCD thinterm RDP terminals? That's right - not very often.

    Supports a VESA standard SVGA video card, with X-Windows running in 800x600 @ 8 bit color (256 colours). The Windows 2000 Terminal Server will not support anything higher than 256 colours so its not needed to support high/true color modes.

    Cool. But fuck 800 x 600. Give them 1024 LCDs. You know you want to, and you'll sell more boxes.

    Hides all boot messages from the kernel etc, and instead replaces them with a friendly "Please Wait" message.

    Linux Progress Patch [freelords.org] will do exactly that.

    Is distributed to me in the form of a ghost-compatible image that when restored to disk is ready to run as described above.

    Ghost is a waste of money unless your doing multicast installs. For the rest of us, PartImage [partimage.org] will perform the same function more reliably with
    far less expense.

    Testing under VMware shouldn't be a problem, but again, I'd test on the actual device.

    Everything I've mentioned is BSD / GPL license compatible (including PartImage).
  • Jailbait + rdesktop (Score:2, Informative)

    by waerloga01 ( 308176 )
    This is amusing, it appears he is going to pay $150 for someone else to do his job for him.

    However, my $0.02 into the conversation is: Jailbait [sourceforge.net] and of course rdesktop. I have said equipment running on my iopener (another legacy from the .bomb) to connect to a test machine I whipped up running Win2k AS. You can also use it's built in VNC client to connect to any VNC server (xwindows is pretty nifty on VNC) or remote X display. and it even comes with enough software to run on its own if nessary...needs more ram than default though.

    Anyway, that's my $0.02
  • Comment removed (Score:4, Informative)

    by account_deleted ( 4530225 ) on Saturday November 17, 2001 @03:51AM (#2577823)
    Comment removed based on user account deletion
  • In the company I'd been working previously (until it went under) we've done a set-top box that, among others, had Netscape (4.7x) with ICA plugin.

    The user was able to securely connect to Citrix server(s) and work on M$ Windows. Or just browse the web.

    The STB had also support for smart-cards to authorize end-users, plus used IPSec to protect user data.

    All this was packed into 32 MB of flash memory.

    No text editor though, except from one you got from your server.

    The whole thing wasn't GPL-ed, as our CEO wanted to protect the code developed by the company. Sigh.

Get hold of portable property. -- Charles Dickens, "Great Expectations"

Working...