Making an X Terminal from a PC
PSwiss writes: "I recently wrote an article for Linux Gazette on how to make an X Terminal from an old PC (486s work great). It's a neat application of Linux and would make a good project for some weekend." This is a nice step-by-step guide ... we posted a similar project not too long ago, about diskless linux kiosks.
yup, this is why we wrote svncviewer, an SVGA client for VNC. even the lowliest 386 with less than 4MB RAM could become an X terminal. it was small enough to fit into a single-floppy distribution. really useful in university labs with huge numbers of ancient machines.
ganesh
XFree really sucks with support for ISA bus and VLB bus cards. Most of those old clunky 486s use ISA and VLB bus. It is a real pisser to see 64K color display in Windows 3.1 but XFree can only do 8 bit 256 colors with the same card. XFree is brain dead with respect to any video card which isn't PCI bus. Some (very few) VLB bus cards can be used for greater than 256 colors with XFree, but only if the address bus on the card and the address bus on the motherboard can handle addresses higher than 16 MB. It is a damn shame that XFree can't make good use out of those old video cards and motherboards. Those oldies can look pretty good under MS Windows, but are a no-show for XFree86.
You are right. But unfortunately government wants to put machines in schools. If that is unavoidable, why not put cheap (or free, as in beer) machines like these and spend the money on teachers and books?
There is now a port of XFree86 to Cygwin. It's not all that mature... Xeyes doesn't work properly on my laptop...but if you need a Free X for Windows, use it, and I'm sure the team will be grateful for your bug reports.
http://www.cygwin.com/
--
Exactly. X allows me to use my new AMD box out in my fort from my crusty old Cyrix P150+ in the bedroom. It honestly is better than having two computers for the price of one, because the X terminal is much easier to maintain than a second PC. And since the Cyrix machine has a pretty good video card in it I honestly can't hardly tell the difference between sitting down at my actual machine. I even have gotten sound to work (with a little help from Gnome and esd).
Yeah, that makes sense. However, it's not too difficult to set up an X terminal using the formual in the article. Heck, I wish that I would have thought about using Debian base system as the base for my X terminals. I rolled my own, and it was quite painful.
As for your problem trusting your firewall. If your attacker is sniffing packets on your local area network you have bigger problems than the fact that they might eavesdrop on your X session. If that's the case then one of your devices has already been compromised.
Take care friend.
That is perhaps one of the most insightful things that I have ever heard on Slashdot. That was the original reason that I set up an X terminal as well. A buddy of mine was using them in his small business, and he wanted to know if sound would be possible. So I dug up some old hardware and I tried it out (it is).
When I was done I found that I had something useful for myself as well. Being able to use my fancy computer while I wasn't in my fort was very nice. Being able to introduce my wife to Linux without forcing her to go out into my fort (which she would then require I clean), was even nicer.
But mostly I did it to see how to do it. Come to think of it that's probably the prime motivation for nearly every piece of software on my home LAN.
Thanks for the conversation. It seems that every time I despair that /. has gone to the dogs something like this happens and my faith is restored.
Why use X, when you can do VNC. Terminal for any platform and you can resume your session from anywhere. http://www.uk.research.att.com/vnc/
Yes there's no disk spinning and with a 486 there's no CPU fan, but there's still the 'gentle hum' of the power supply.
We've got a few users in our dept with Tektronix X-terminals, and these are silent. They use black box transformer power supplies with no fans. These people value their silence, and would find even the hum of a fan annoying (especially on an old 486 which is going to start rattling and failing pretty soon! New PSU time...). It's hard to concentrate on pure mathematics with any distraction, they tell me!
So can anyone suggest silent power supplies that can be hooked up to a PC to make a truly silent X terminal? Has anyone done this? Can I just find a transformer with 9V and 5V and enough wattage and hack together a connector to the machine?
I've actually done the reverse - hacked a single PC power supply to drive three Tek Xterms! Noise wasn't a problem because there are other machines in that lab, but cost was. New Tek PSU's = about £80 = $100 each. Old 486 PSU = £free = $free. Fun hacking power cables off = priceless.
Baz
Relax, multiple xterms is the only reason Real Geeks run X anyway. ;)
There's a simple patch you can make to OpenSSH to enable the cipher 'none' (no encryption). I did that to let my PS/2 Model 55SX work reasonably for remote X applications, while keeping the familiar ssh interface.
If you want a 'pure' X terminal with no disk at all, you might as well send the X protocol straight over the network, no ssh involved. But if you have a mixed-use system with some local and some remote stuff, and you have a trusted network that isn't going to be eavesdropped, 'ssh -c none' is pretty neat. You can always go back to Blowfish or 3DES for connecting to stuff outside your local network.
-- Ed Avis ed@membled.com
So, you're brushing up on your Spanish to go to Brazil. Hmm...
by Mike Buddha -- Someday the mountain might get him, but the law never will.
We has one fellow here who created an ISO image on a bay-area PC (where we've got the CD burners) and stored the damn thing on his Desktop. Then he wondered why it took him 10 minutes to log on to the machine in his office.
-- Don't Tase me, bro!
...is a helicopter.
Now that we've clouded the issue with facts, let's all move along.
Bad Mojo
Bad Mojo
"If you can't win by reason, go for volume." -- Calvin
Before you buy, be sure to review the model information on the "Linux Laptops page"
If your laptop model is not there, I'd think a bit before buying it.
I've had great success with Linux on a few IBM notebooks (old and newer) with a little help from this website.
Hope this helps.
Regards,
Anomaly
But Herr Heisenberg, how does the electron know when I'm looking?
I created a bootrom and now the X-terminal boots from net. I use FreeBSD.
-- unix is for people without a social life - Patrick van Eijk
Unless that Dell laptop was in the sub $100 range, you're not even talking about the same thing.
What he's outlined is how to make good use of hardware that is affordable to almost anyone.
I once was asked by a non-profit group to help them make use of about 30 donated computers. (Donated by the NSA, no less - Beautiful IBM tempest cases and no hard drives.)
They had no budget. This would have been perfect for them.
Sure, in a perfect world, someone is going to donate 30 newish laptops with Wavelan cards, but I'm not going to hold my breath.
One of the major strong points about the whole Gnu/Linux movement is it's pricetag. Cutting hardware costs can put one more computer in front of one more user, who might not otherwise have a computer to use.
You really can't see this in a school or an adult training program or at a local library?
Doesn't anybody appreciate a good hack anymore?
Jim in Tokyo
Join the Great Fujisan Expedition!
-- My Weblog.
While this is certainly true, that old 486 would be hard pressed to run a more modern distro with KDE or Gnome and all of the bells and whistles that go along with it. On the other hand, my school had a bunch of old color X terminals in a nice quiet compsci lab, and I was able to use them to access my computer in my dorm room and run all of those neat things just fine. While a 486-based X terminal wouldn't be as fast as a more modern pc running the same apps locally(maybe) it certainly would be faster than running all of that stuff on the 486 itself - and thus a pretty decent allocation of otherwise obsolete hardware.
Ah... RS232 ports.
I can't believe people are abandoning support for RS-232 serial ports. I can't connect two computers using three wires and two USB ports. They're useless.
I fully believe if we ever make contact with an alien race, we will connect our computers via RS-232.
LinuxBIOS requires a Disk-On-Chip. I don't think it's possible without it. In addition, I don't think a Disk-On-Chip solution is possible without LinuxBIOS, as the only place you can typically install Flash is in the BIOS slot, and without a BIOS, well, you have to have LinuxBIOS.
Five years ago I came upon 3 (then old) labtam CT300 X terminal... Nice machine, 21 inch monitor etcetera. As time goes on the server that they are based on has moved up from a 486 to a pentium 200 (adequate, given enough ram), and will probably soon move up furthur.
.NET idea) after all.
The remarkable thing is, without significant administration, and no spare parts, they are ALL still working (made in about '91 remember) and in use. No software upgrades have come out since the comany stopped making them about 7 years ago, yet they run the latest mozilla, kde etc as fast as the server! Just upgrade the werver and the rest works like magic! (unforuntately enlightenment doesn't work very efficiently as it uses some new fangled x extensions, that are only 5-10 years old.)
Maybe there is something in this new fangled Network Computer (or hyper new innovative
Maybe the zero administration, low maintanence claims are true, you just need these!
Well I like the Roaming Profile thingy to some extent: it protects the user from losing things due to BSODs and is quite transparent to the user....It's not that transparent to users, since they have to wait quite a time whilist it does it. Let alone the utter mess they end up in if they log into more than one machine at once
.POL file examined). Even though it's prefectly possible for Windows to work with everything including Start Menu and USER.DAT only on a network drive.
:)
The big problem is the "writing" of the "My Documents" part. (You can redirect it to a mounted "drive" on your samba-server, i know, so it is fixable)
More to the point "My Documents" stays fixed. Some of the other registry keys Windows will rewrite back to the local HDD, regardless of what you do.
The problem is that it appears virtually impossible to disable the write back cacheing. (Especially if you want a
Very funny if nearly everyone leaves work at about 17:30.... It nearly takes half an hour to log out! (100Mps network...seen this personally)
This is hardly "user transparent"
StarOffice requires 5-10 minutes to load a 373 pages Powerpoint slide
That is 1.2 seconds a page, how fast does Powerpoint manage it?
X on a shared server is not a solution for high performance video games, or even for CPU hogging stuff like hires video playback or Flash playback or Java program.
Exactly how much corporate IT involves "high performance video games"? Sounds like the all too common confusion of someone's home PC with one used as a tool for actual work. If they need highres video then using a real cable TV network will work far better than trying to hack a computer network into working as one...
We then entered a nirvana like state for ten years or so where "dumb terminals" were the order of the day connected to remote servers; very little in the way of administration problems, all software installs under easy and obvious central control,
Also only needing to be installed a few times, typically once
net result: stability and satisfied users.
Also no need to specially shut down an if it breaks then you need someone with the skills of a porter to replace it.
Along comes the PC and within five years we have a complete organisational nightmare on our hands, no standardisation, users installing all sorts of crap and then blaming central support when it doesn't work, you know the score.
In addition you have a licencing nightmare, since all these programs have per seat rather than site licences let alone we end up with software apparently designed to be end user installed and virtually impossible to manage centrally!
...is a helicopter.
Or you could take a large gun fit wings, engines and a cockpit and wind up with an A10...
I don't think the re-using of old machinery is done by the common Joe-Sixpack: it will be done by knowledgable people (IT departements, geeks). Imagine: graphics card fried, no problem: some of the old machines will just serve as "organ donors".
Just because a machine is old does not mean it is useless. Indeed most nations would have no credible defence were it not for machines older than the people operating them. Thousands of people are flying right now in commercial aircraft built before Intel started making 486s. Let alone the number of machines who's design hasn't changed in decades even centuries.
In your argumentation everyone should be running a AMD Athlon 1.4GHz or a P-IV 1.4Ghz. Now, well: for most work this power is overkill (think secretary using Word, or Manager making a powerpoint presentation).
Not only is it complete overkill it's wasteful, effectivly they have an expensive machine for generating hot air. (If they need a machine to convert electricty to hot air then there are cheaper options.)
In your mind everyone should buy a computer every 6 months, which implies migration from one machine to another (data, preferences). This is a lot of work if you have a lot of data, eventually getting used to a new OS.
Which is very poor business sense, makes about as much sense as a bus company replacing all their busses every year or an airline getting new planes every 18 months.
On a side note, it's nice that the *nix's have this graphical server, but if they, and most specifially Linux, are going to make it in the desktop world, X needs to go. It's nothing short of a mess how these graphics card drivers have to deal with communicating between user and kernel space. X is an app, and what we really need is something on the system level to compete in the desktop market.
If you really think this is an issue there is nothing stopping you writing a standalone X server, which is the only thing which runs on the machine you are using as an X term.
Indeed this is exactly how machines built as X terms work.
that's because X *is* a bandwidth hog. It's certainly powerful and useful, but it is also quite bloated and bandwidth-heavy.
But nowhere near as much a hog as the Windows "write back" user profile mechanism.
An X terminal is great for some situations, like a school lab environment, where you have a server machine doing NFS for a bunch of terminals. But, in most situations, a standalone machine is better.
How is a standalone machine better, you'd be expecting the end user to act as their own sysadmin. (Though if you ran Windows on it this is the situation anyway.)
Help stamp out obsolete technology: destroy an older computer.
:)
So when will you be demolishing your house and car, both of which are far older technology than any computer
I used to administer a network of Sun workstations. We had a Sparc 1+ (the speed demon of the group, but no graphics card, only serial for a VT220) a Sparc 1, and several Sun4 and Sun3 systems. Only the Sparcs and 5 of the Sun4s :) Those were the days...
had hard drives, the rest did all filesystem
stuff through nfs. The main problem was that the Sun3 computers run m68k processors and therefore would have required an entirely seperate set of applications to run them standalone. That, and the fact that the Sun3s only had 8 MB ram, where we were able to deck out the Sun4s with at least 32 MB and the Sparcs with 16MB. So the Sun3s were X-terminals of Sun4s. Of course our Sun3s only had black and white graphics, but better than not having anything. No one could tell that it was an X-terminal, everything was already so slow
XML is like violence. If it doesn't solve the problem, use more.
If you have a sufficiently good machine, you may want to look into WeirdX or WiredX. Both are Java X servers, and at least WeirdX ran surprisingly well for me. WeirdX is GPLed.
XML is like violence. If it doesn't solve the problem, use more.
That depends what you mean by "compress". Just using lbxproxy might be a good compromise.
sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
You should try the new ones. The 980's are very cool and realy fast. 80MB ram, 100Mb ethernet, very cool. They blow our older x-terminals (we have about 150 total at work) out of the water.
Oh, and they can work with Linux too, but ours connect to HP-UX machines (but they run apps off of linux servers).
Today's X apps don't run on a 486sx 25 very well.
OK, after you've booed yourself hoarse and thrown all the rotten tomatoes you have handy, is there a freely available Windows client for doing this? I'm currently running VNC but that is SLOW. I'm familiar with EXCEED but not willing to pay for it. Everything else I've found is in extreme alpha stages and not usable for daily use.
"The legitimate powers of government extend only to such acts as are injurious to others." Thomas Jefferson.
The latter point is not academic. I've actually done debugging on XFree86, and it's a simple kill-edit-compile-restart debugging cycle. Few system crashes, little rebooting.
X being an app can actually speed things up. A complex draw that invovles numerous graphics operations can be built up in a buffer, then sent to the X server in one fell swoop. A system-call based architecture like Microsoft Windows generally requires one system call for each graphics primitive, which can be hellishly slow. In a few years, gigabit Ethernet, bazillion polygon/frame graphics cards, and monster Ethernet switches will be ubiquitous and dirt cheap. At that point, the centralized administration benefits of X will be tremendous, and the resource cost will be negligible. Even if X did have the supposed performance penalties today, they don't matter in the long run.-- ;-)
Kuro5hin.org: where the good times never end.
-- ;-)
Kuro5hin.org: where the good times never end.
I think it's really just a matter of time. Linux has only been a serious desktop contender for a couple of years, whereas Microsoft has been one since the early 80s and Gates's dream of 'a computer on every desk' (remember that catchphrase?). Linux/XFree86 multimedia stuff has so far had a few tens of millions of dollars spent on it; hundreds of millions has been spent on Windows. Hell, it's just in the past couple of years that the video card vendors have started actually cooperating with XFree86. Honestly, if we were willing to spend a couple of billion on X and throw it away three or four times over a period of about eight years, it would reach Window's state of performance: fast but inflexible. I'm willing to settle for steady progress and flexibility.
-- ;-)
Kuro5hin.org: where the good times never end.
I'd suggest doing a nfs mount of your apps so they can run on the PC...on a intranet, it should be pretty cool.
.NET, C# and whatever the X-box ends up morphing into.
This offloads processing power to the node -- a very, very good thing.
Another alternative would be java apps through a browser w/ the plugin.
This would give you a taste of the "Java Platform" -- central app servers and nodes that process applications downloaded/maintained on demand to network PCs -- something that Sun envisioned some 8 years ago and Microsoft is currently implementing with
Treatment, not tyranny. End the drug war and free our American POWs.
Treatment, not tyranny. End the drug war and free our American POWs.
See my user info for links.
The point of terminals like this is to have access to your computer from another room - you might want to get mozilla in your living room without bringing 4K$ of hardware with it. It isn't about sharing your computer with 200 people you don't even know.
---
They that quote Benjamin Franklin on liberty and safety deserve neither.
Oh yeah, any of these would be faster than reading a kernel image from a floppy disk. Also the machine would be less vulnerable to tampering.
Cryptnotic
My other first post is car post.
Excellent points. Actually, I do remember (dimly...I've had some wine tonight) running top on the 486, and it was pretty much all X and XSVGA-blah-blah-blah...it's been a few months (since upgraded the 486 running X over Ethernet to a 200MHz Pentium running apps directly) since running the configuration I mentioned in the post. But yeah, I think you're right: the compression & enryption asked too much. The main reason I went w/SSH was because of the easy setup of X forwarding. Well, that and a certain paranoia about the firewall I'm running my computers behind...might as well be safe rather than sorry, right?
Carousel is a lie!
It's all well and good to say don't reinvent the wheel, or read the howtos, but how do you get to learn about not only how to do something but all the pitfalls in doing so other than by doing the thing yourself and by screwing up in the process?
Carousel is a lie!
But I agree: doing something just to see how to do it is important. Sometimes you need to reinvent the wheel just so you can see how someone ever came across the whole idea of "round" in the first place.
Carousel is a lie!
This is how the Unix labs at the University of Queensland's CS school were setup until the end of last year (they now use "true" hardware-basd xterms AFAIK). The difference was that our xterms were truly dumb; they only ran the X server, everything else ran on a single dual-SPARC box (I think) and piped its output over the network to the relevant terminal.
Worked really well, unless you tried using it the day before a concurrent/communicating processes assignment was due...
Destroy your old AC -- render them permanently inoperative so no one else will have to put up with old obsolete trolling.
Obsolete trolling holds us ALL back! Destroy old ACs!
Modern day ACs shouldnt have "legacy" (old crap) relic features like sporks, hot grits, Heidi Wall or Natalie Portman posts, or DOS text mode FP's. These features are obsolete, and make ACs slower, less stable, and more costly.
Help stamp out obsolete trolling: destroy an older AC. The tech support workers of the world will thank you.
But fortuna was not with me: three weeks ago my workstation screen got busted (power-supply, *urks*). Then I remembered (well, I use it every day at work) that X-Terms could be used instead of logging in locally to the machine. It was some (slow, on the P120) surfing to find a HOW-TO and some hours of fiddling. I'm sure it is not the *best* setup aound, but it works. Everything is fast on my P-III and the P120 doesn't even swap when working.
Could I have done this with a Windows solution? Probably...but not without buying third party software (okay, I know about VNC....no flames needed). At least, I can do everything I need. X-terminals "converted" me: as soon as I have my screen back, I think I'll have some partitions to kill (or at least reduce...you know for the games *grin*)
See, so your so called "old technology" saved me from buying a new screen for the month the repair takes (yup, that's what they said at the shop...lazy worthless bunch!) and my work is done. Neat, isn't it?
Oh, and what goes for the comment about "bad video cards" in 486 machines. Ehm, it doesn't have to be the latest NVidia GeMaxiForce 3000. You know it is 2D most of the time, so think more like an older Matrox PCI card (very good in 2D!), with 8Meg video RAM you can easily display 1600x1200@24bit...My monitor doens't even do that.
Ahhh...the great dumpster continuum. Many a free computer will be found there. -- sowth (748135)
Have to agree on this one: Peanut is an excellent distro for older machines. I run the 8.4 right now on an older P120/32Meg....with KDE2 it slacks a bit now, but with KDE it worked really fine (not even swap was used!). And as an X-term, it works like a dream.
Ahhh...the great dumpster continuum. Many a free computer will be found there. -- sowth (748135)
Recycling old machines for more apropriate tasks is a noble cause IMHO. You give opportunities to people with a lesser income. Not everyone is able to buy a 1000$ machine (where I live, that's the about price of a low-end new machine) Don't count on second-hand machines (think P-II), they are in comparison overpriced to the new machines.
I'm not a tree-hugger, but think about the waste that is in older computers. Modern machines are built a bit more with environment-issues in mind (more easy to recyle the components), but older machines weren't at all. So dumping those machines just makes toxic landfill (lead for example) Of course, you can still argue that old machines use much more electricity.
I don't think the re-using of old machinery is done by the common Joe-Sixpack: it will be done by knowledgable people (IT departements, geeks). Imagine: graphics card fried, no problem: some of the old machines will just serve as "organ donors".
In your argumentation everyone should be running a AMD Athlon 1.4GHz or a P-IV 1.4Ghz. Now, well: for most work this power is overkill (think secretary using Word, or Manager making a powerpoint presentation). In your mind everyone should buy a computer every 6 months, which implies migration from one machine to another (data, preferences). This is a lot of work if you have a lot of data, eventually getting used to a new OS. I'd say: think again. A lot of people (even a lot of geeks) prefer to see a computer as an investment over a longer time. For me this period of time is 5 years. 1 year Top-machine, 2 years mid-machine and 3 years low-end machine. I am gratefull for 486 firewalls/router at home, and if I can get hold on another a nice fileserver will be implemented. Obsolete doens't mean unusable...it just means a bit more work (and fun) to continue to use it.
Ahhh...the great dumpster continuum. Many a free computer will be found there. -- sowth (748135)
The only thing keeping me so far from doing this kind of thing has been the time. I know it's not real expensive, but finding the hardware, then doing the actual setup is pretty slow going. Especially since you want to make sure you get everything right the first time.
This kind of thing bothers me. In 95 I did a Linux install which I moved a 486/25 from Win 3.1 to Linux. Back then you did these things the hard way, compiling it yourself.
We did this to use as, you guessed it, an X-Term for our Vaxes. Then, Xwin ran perfectly (8MB ram, i beleive), no gnome, no kde, just an X-term..
This raises the question...Why would XFree give bad performance TODAY on the same hardware, or is it just a matter of perceptions based of a preconceived notion of what good performace is?
Burn Hollywood Burn
you know, my more unixy friends have been extolling the wonders of xwindows to me for years, and i just started playing around with it recently. fun stuff.
anyhow, i'm using an old powermac 5200 as a combination tv/mp3 player/xterm for the bedroom. if you're interested, i wrote a brief document on how i set everything up. please be kind - it's a cable modem.
--saint----
Dude... I, too, am a time-traveller who remembers the nirvana-like experience of leaving my punch card machine and paper-tape machine for the simplicity of a terminals and, eventually, desktop PCs.
While having all that power on your desk is seductive, it's been a management nightmare in large organizations. Given the choice between managing software distribution to 10,000 PCs versus 10,000 net-terminals (sucking from a few servers), I'll scrap the PCs anyday!!
Unfortunately, the net-terminal evolution has not been very successful for typical corporate-drone environments. This is why the PC software industry has worked semi-hard at making PC management more net-terminal-like - think Novell ZEN, Windoze terminals, etc.
CrazyLegs
"Pork!!" said the Fish, and we all laughed.
I have yet to see a LTSP article here on slashdot. The K12LTSP story was okay but it was not phrased in such as way that people would flock to help ltsp development. the only reason i went to irc.openprojects.net #ltsp was because i saw it in Linux Journal and went to the website (www.ltsp.org).
What comes first, finding a teacher or becoming a student?
I personally don't think it's a huge deal on an internal network if you can trust the people; I use telnet on some of my internal 'boxen' - we've got a switch, and if someone's smart enough to get through my firewall and run a packet sniffer, then they can probably see that I've done nothing to secure any of the computers. Granted, now that I'm looking at reconfiguring everythign to allow outside access to my box, I'm having second thoughts....
________________________________________________
________________________________________________
suwain_2
I know that's true, but I think the original quote was made by some general well before helicopters were a big deal. It just sounded cool.
Anyway, a laptop is actually more like a helicopter than an ancient 486 is. :)
Likewise, the best way to remotely use a good computer is another good computer; not some POS 486 that should be used as a firewall. (Along with its 16-bit ISA 512K 800x600 graphics card and a fuzzy dim monitor.)
I use a laptop that I got cheap from the Dell factory outlet for this purpose. It is big and heavy with a huge, bright display and a relatively wimpy Celeron processor. I stuck a wavelan card in it and loaded most everything from the Red Hat 7.1 distro on it. No special installation steps needed.
I run web browsing and similar tasks locally (with snappy performance), and I use it as an X-terminal for editing and other tasks that need to use the files on my main machine. It works untethered anywhere in the house, too, due to the wireless network. (Don't forget to use ssh to start X sessions since the 802.11 encryption is "questionable".)
"The rest of the world has MOVED ON"? Actually, I'd be more inclined to saying that MOST of the world is still waiting to own their first PC. Do someone a favour and give them your old PC and show them how to use it. If the average /.er is like me, they know AT LEAST one person who, for whatever reason, doesn't have enough disposable income to buy one.
If nothing else, it'll give you the warm-fuzzies.
I could imagine one perfectly good use for cheap X terminals, and that's where money and computers are scarce. You could equip a complete computer lab in a 3.d world high school. Spend money on a fast, decent server, and set up obsolete HW as xterminals. Instead of the lab having 3-4 machines and kids getting one hour of use per week, it now has 20 machines, and the kids get 5 hours per week.
-- Another senseless waste of fine bytes.
Total access, ummm not quite..Interrupt handling does not exist at the user level, nor should it. Frame buffer flipping apps have performance problems due to piece-meal half user, half kernel graphics drivers. Also, I believe we're talking about two different points here. You are referring more to the interface between the running program and X. I'm talking about the interface to pass data to the graphics card quick and efficiently. And by the way, all the 3-D rendering and texturing in the world is not going to speed up 2-D frame based applications...i.e. live video etc...and it's a fact that X does not perform well in this area... If you write a video (movie player, etc..) app in Windows and in X. The Direct Show interface to the graphics hardware will win hands down...sorry to say it, I love Linux, but Windows wins that one...
"Karma can only be portioned out by the cosmos." -Homer Simpson
Be nice if details on setting up an ssh link between the two were included so that:
1. The X link is compressed.
2. The X link is encrypted.
That way we'd have the ultimate fast/secure connection, and it'd be a lot handier for folks that want to use their X Terminal from anywhere on the 'net...
Generally, a good article though. Note the age of the author - good stuff!
; -- the corruption of government starts with its secrets. a truly free people keep no secrets. --
I liked this better: www.solucorp.qc.ca/xterminals/
especially the nice setup.sh script.
I used this kind of setup in a project at some company I worked for one time, to support the warehouse management application I had written (*please* don't ask why a warehouse management app needed X... thank you). Beefed-up server (multi-processor, RAID, the works) and 10 diskless terminals w/ remote boot and root via NFS. And RedHat Linux 6.2.
Worked like a charm. The terminals were all cheapo 133 MHz AMD's with S3 graphics cards, worthless for pretty much anything else. Did so well as X terminals, they are still using them today. Of course, they were all on 100 Mb Ethernet though...
I did this with Linux 1.X- hooked a bunch of PCs up to be X terminals for our SGI. Worked swimmingly and really cut down my workload. Everything was great until some dork in Network operations found out we were using X11 across the "enterprise network". I learned something very important during the week following this revelation- X terminals are like Unix- they suffer from a bad name.
Cook up something like the SunRay- give it a funky LCD display (not included) and tie it to some proprietary server software and everyone thinks it's great. Do the same thing with X and "it's a bandwidth hog", "user's will never be able to figure it out" and on and on.
Non- Unix users don't give a damn about the power of X. They don't get why it's useful or appreciate the advantages. They like things they have to pay extra for or tie them down to a specific architecture- we in turn don't understand them or this attitude.
So, I did this in my house. My Cyrix 200MHZ became an X terminal for my kids to play tuxracer and cruise the net. Just don't tell them what's going on. Sell it at work the same way- don't say squat- just do it and spend the extra money on cool toys.
The first is at the Retriever Weekly, the college newspaper for UMBC. We have 3 P-90s w/ 16M RAM and S3 virge cards running as X-terminals from a P-II 300 w/ 128M RAM. It works great; they run KDE, StarOffice, Mozilla, etc. with no troubles. The same machines were unusable with Win98 on them.
The second is in a volunteer computer lab in Baltimore city at the Agape house (http://linux.umbc.edu/gits). Most of the machines there are 486s with 16M RAM, so they use IceWM and work just fine from a dual Celeron 400 w/ 256M RAM. Jeff Covey, the main person behind this lab, has set them up to netboot using the Linux Terminal Server Project (http://www.ltsp.org). The difference in noise level between 8 486s running with and without hard drives is very noticable! I'm hoping to set up the machines at the newspaper this way soon.
Sotto la panca, la capra crepa
WMBC freeform/independent online radio.
I'm posting this on a 486DX2/66 with 16 megs of RAM and a 1MB VESA video card...
It runs Xfree 4.. and uses esound for sound across the network
These things works great. My sister uses one, and I have a second so I can kill X when it locks up my good computer (which the X terms run their apps on)
If you can stomach 640x480 at 8bit... a 386 will do that fine too!
Beauty of these is the sound level... jam the fan in your 486's powersupply, and it's 100% silent!
Using config files based on MAC adresses works really great too. The machine boots, and checks if it has an existing X config file named as it's MAC address. If not, it runs xf86config, gets you to set the initial settings, and saves it for future use.
A p150 with a good video card, even on 10Mbit feels like the local machine. It's really nice.
Back in the day when 3/486 machines were more expensive and there were tons of 286 boxes readily at hand, I used to experiment a lot with TCP/IP networking using 286 boxes running DOS with Microsoft's LanManager Client (still available for free at Microsoft, btw.) connecting to Samba shares and telnetting into my cherished Linux (1.0 and 1.2 kernel) box from all around the house. 3C501 10base2 ethernet cards (eeek!) were $2.50 a pound at the local surplus store and life was grand.
It seemed to me at the time that what was really needed was a good, free X Terminal package to run on older boxes themselves not capable of running Linux.
These days, '486 hardware is the 'low end' and it might not be as important as it once was to use the really slow boxes (they're a waste of electricity to leave on, some would say) but it seems like ridiculous overkill to run a Linux kernel on something as simple as an X Terminal. The services running can be cut way back, etc. but it's still overkill for the machine to need a processor with Memory management (386 or greater) when even simpler hardware should work fine.
Theres nothing quite like the horror of running X on a 2MB M68000-powered black & white NCD X Terminal.
the 19" monochrome monitor looks cool in an old-skool way, but its unbelieveably slow.
After i bought this machine, i was hit with the shocking realisation that i am indeed a hopeless *NIX geek, and there is no going back.
I gots ta ding a ding dang my dang a long ling long
You can download STunnel and do this on your own, it's definitely not a hard task to do.
Want Root?
...for these X terminals would be to be put in public schools here in Brazil. Some public schools don't have even a single PC. If we could make people donate their old hardware to these schools, and buy a powerfull machine as the server, we could make some computer labs, and better, introduce young people to GNU/Linux. Here in my state, in the south of Brazil, public schools are already using preferentialy GNU/Linux, but that's another story.
:) )
But the people who should know how to do this are the responsibles for the schools' machines, most of the slashdot crowd had already thought and learned how to do that.
The bad thing is that most 486 didn't have good videocards, and the performance (no XAA?) of XFree86 with ISA cards is not great, even as an X-terminal only. I remember the performance of XFree with my Trident VLB, which sucked, even for that time. The only nice card in a 486 with XFree I used was a S3 VLB, but those are hard to find, even used, of course.
It would also be great if those IDE "disks" based on flash memory were cheaper. We could make very silent, self-sufficient (no network or floppy boot) machines. The devices don't even need a large memory, or "disk". Good to make some "NCs" (fancy name for something that exists for at least 10 years in the X world
I thought that we had gotten away from this by the early '90s when PCs became common and powerful enough that you could operate relatively comfortably without the support of some big iron. After all, wasn't the whole big-iron-to-desktop transition about self-empowerment? I thought so, because I didn't have to worry about pissing off some sysop when I compiled my newest Linux kernel on my 386 with 8 megs of RAM.
But now we have this crap about creating X terminals now. Don't we learn anything? We have all immensely enjoyed the personal freedom accorded to us by having enough local processing power to get the job done, no matter how many times the remote server crashes and burns. Besides, I have better ways to allocate my network's bandwidth than with a ton of X packets. Like, say, playing Quake III or browsing the web, or transfering files to my Windows 98 box from my NT server.
Plus, we are confronted with the fact that 486s probably won't have very nice video cards to begin with, so you can pretty much kiss a decent-looking display goodbye.
Is your company running tools written by ma