You are not logged in. Login Now
 0-24   25-32         
 
Author Message
veek
Thin-clients (X terminals) and getting audio on it Mark Unseen   Feb 6 05:28 UTC 2009

Hey, I got my hands on a demo thin client for a few days to play with at
home (It runs Ubuntu - they didn't even know that, the funny thing is
that the solutions-provider knows even less!). 

Anyway, getting the desktop up and running was pretty easy with my
Debian box, but I'm fiddling with audio and having a hard time getting
that to work..

I checked the HOWTO's and the web. There is something called the LTSP
project (has built in support for audio), but I can't use that because
the TC (thin client) uses Ubuntu, and LTSP looks like a lot of work in
terms of getting it to work with this client. Other than that, you can
install something like ESD, aRts, or NAS at the client end, and stream
the audio from the server - problem is that I'm worried about f!ing up
the thin-client by installing pkgs on it; also I couldn't figure out
what pkg-manager Ubuntu uses???

Anyway, after poking around I discovered it had ALSA already installed..
so is there a way to use that?? Any comments/feedback on all this..


32 responses total.
keesan
response 1 of 32: Mark Unseen   Feb 6 14:16 UTC 2009

Does it have mplayer?
veek
response 2 of 32: Mark Unseen   Feb 7 11:25 UTC 2009

umm.. not exactly.. it's a thin client, it's supposed to only contain
whatever the server provides. Basically mplayer would run on the server
and the display would be exported to the thin-client.. so.. the Ubuntu
is a heavily stripped down version, with just some basic tools
(ifconfig, ps, X, etc).

*sigh* it's b0rking with the Debian at wrk.
keesan
response 3 of 32: Mark Unseen   Feb 7 16:48 UTC 2009

How big  is a 'stripped down' Ubuntu?  I am running a full linux (with
mplayer) in about 75MB.  Several browsers.  Works with 32MB RAM.
veek
response 4 of 32: Mark Unseen   Feb 8 02:32 UTC 2009

Well I vaguely remember that it had a 500MB flash drive with 2
partitions: windows+syslinux and Linux-Ubuntu with (<100MB)
veek
response 5 of 32: Mark Unseen   Feb 8 03:32 UTC 2009

Re #3: oh darn! you weren't being literal. Hmm.. god! i hate how people
sometimes use the written media! Are you asking me how big the stripped
down Ubuntu was, or are you wondering why in heavens name they don't
provide mplayer on the thin client? I'll assume the latter since the
former is covered by #4: They can provide mplayer on the thin client and
given that this little love-bunny has 512MB RAM.. but that's not the
point.

1. What if you need to upgrade mplayer? You can't send the thin-client
back to Taiwan for re-flashing of drive. The drives can't be written to
because they have no moving parts and are supposed to be very stable and
long-lasting (secure, no viruses etc). I know flash drives support being
written to.. but it reduces the life of the drive.
2. Thin clients are good for assembly line type work [coding <g>]
3.Cost reduces (no need for a sys-admin, control over code theft, etc
etc)

keesan
response 6 of 32: Mark Unseen   Feb 8 05:18 UTC 2009

I thought you could write to them 10,000 times or so before they failed. What
exactly does this thing look like?
veek
response 7 of 32: Mark Unseen   Feb 8 06:35 UTC 2009

a tiny rectangular box - size of a brick. It's got ports where you stick
your mouse and kybrd and stuff (USB mostly). A port for display..
Theoretically it's 10K times, but in practice it feels like a lot
lesser. Anyway, I told them to ask their Taiwanese guys to tell emm if
we could write to the drive. 
keesan
response 8 of 32: Mark Unseen   Feb 8 15:15 UTC 2009

It came with a small Ubuntu already installed?  Can you stick in an external
USB hard drive and boot to it and use your own software?  Or just run
additional programs from external devices?
veek
response 9 of 32: Mark Unseen   Feb 9 01:42 UTC 2009

Re #8: yup, maybe, yup. problem with 3 is that I'll have to static-link
any app i run AND how do i go about compiling stuff for a VIA Eden
processor (i need to look into this)??? 2 - I can't find a boot prompt
to go into the BIOS. Anyway I suppose Del ought to work, but I'm yet to
try that or stick in a USB disk because of the compilation thingy..

eventually I think I'd get it to work :) so far i've just managed to get
it working with GDM (xdmcp) darn thing was b0rking at wrk because I was
running it on an external interface (non 192.168) - apparently some sort
of GDM security measure
keesan
response 10 of 32: Mark Unseen   Feb 9 03:07 UTC 2009

What is GDM?
veek
response 11 of 32: Mark Unseen   Feb 10 02:04 UTC 2009

Gnome Desktop Manager (google that you beast!) Anyway, what you do is,
run "X :0 -connect GDMServer" on your thin client. The thin client will
connect to the server which is running GDM, and GDM+greeterProgram will
send you a GUI-Login prompt (just the image) which is rendered by your X
program on the thin client's display. You will then wind up with your
Desktop, which is running on the server, but which is displayed
(rendered) on the thin-client. The thing is, theoretically, because of
shared libraries, with 50 users, your memory usage ought to reduce and
so might CPU usage.. but practically speaking I think the whole thing
sucks monkeys dick (as Chad is won't to put it :)
veek
response 12 of 32: Mark Unseen   Feb 10 02:16 UTC 2009

seriously this is disgusting, the guys selling the client only know how
to do it on WindowsCE, so I have to hoof it and I'm not even getting
paid for all this. I've got it working and I'm finding it hard to
let-go.. was wondering what kind of performance you'd see, and if the
switch will die first (I'll need to plot cpu/memory/netwrk usage)..? How
the heck do you measure memory usage in Linux even! I'll use Xming to
load the server :)
They've got a quad processor :) :) with 2GB RAM and a 6-10Mbit link
:)for "downloading" Debian :) In fact i ran out of movies to dl because
I wasn't aware of the names..
keesan
response 13 of 32: Mark Unseen   Feb 10 02:18 UTC 2009

Type 'free' for memory usage (in a terminal or equivalent).
veek
response 14 of 32: Mark Unseen   Feb 10 04:27 UTC 2009

Re #13: very funny. use exmap instead. there are some articles by Lunas
Lubos (KDE dev) on why ps and free sux.
keesan
response 15 of 32: Mark Unseen   Feb 10 05:00 UTC 2009

What is funny about 13?  Exmap appears to require GTK (which wastes memory).
veek
response 16 of 32: Mark Unseen   Feb 13 13:27 UTC 2009

Re #15: Sindi, free isn't going to be of much use - it clubs usage. The
thing is that with thin clients, usage is going to be bursty, so they
would need to plot usage over a month (MRTG for that), but data
collection has to be accurate (vmstat 2 :)). With 25 users/server,
running Xming on the client (XP - they don't have enough thin clients),
it should be a accurate..

Pfft, GTK may "waste" memory, but data presented nicely can save time
given that we aren't the Borg just yet. I like your minimalistic life
thing, but ya shouldn't turn into a sloth.. (consumes very little, but
winds up not "doing" much). Mind you, I haven't exactly got exmap
working.. it requires a kernel compile on Debian, and I'm feeling lazy.
Debian rocks! It's rock solid! My TFT was f!ing up on Fedora 10 and I
put Etch on it and bingo! And apt-get -t seems to be an interesting
option. I think I'd better give up on Fedora permanently!
veek
response 17 of 32: Mark Unseen   Feb 13 13:32 UTC 2009

You really should move over to the dark-side and consider Windows or
GUI-Debian. Frugality is nice but rarely at the cost of wasting time
learning stupid commands! You should check out olvwm :) rocks! I'll send
you my cfg files, or XFCE which I didn't like very much but it's better
than KDE/GNOME in terms of bloat.
veek
response 18 of 32: Mark Unseen   Feb 13 13:57 UTC 2009

Man! Managers blabber like deranged loons (Virtualization)! Grr! How
could virtualization solve fundamental CPU/Mem issues! And that guy is
drawing 9 lakhs in salary and comes in at 9AM! I had to go to the
clients place, and it's not even my project, and this guy was saying
"they don't know anything, relax etc etc" and we got our asses handed to
us! None of our guys knew anything about Linux and obviously the client
had the 2-team-leads (Java-devs) interrogating us and this manager-bozo
had got the requirements wrong even (apparently JBOSS/MySQL was supposed
to run on a per user basis!)
veek
response 19 of 32: Mark Unseen   Feb 13 14:01 UTC 2009

http://lwn.net/Articles/104179/ *snicker* That's what the devs nailed my
ass on :(


keesan
response 20 of 32: Mark Unseen   Feb 13 16:06 UTC 2009

We used XP to print a photo because it has the printer drivers, but it takes
much much longer to boot or accomplish anything else.  My linux can boot in
under 10 seconds from when you push the on button.  Lynx loads instantly. 
Knoppix or Ubuntu are nearly as slow as Windows, loading all sorts of
irrelevant junk, and I find guis annoying and they force you to use a mouse
which also slows down everything.
veek
response 21 of 32: Mark Unseen   Feb 14 15:04 UTC 2009

Re #20: what sort of BIOS/monitor do you use - It takes 17 sec for me to
get to GRUB (Celeron 400Mhz i810 board). Does Lynx support tabbed
browsing or do you wind up opening 8 consoles for 8 web pages? What
distro, processor, RAM do you use? 10sec is pretty much an impossibility
unless it's heavily tweaked or re-built from scratch - my Debian takes
around 40-60 seconds after GRUB loads. X/olvwm on the other hand takes
5seconds to load with 4 xterms. Have you actually measured stuff? I
pretty much keep the default install (because of lib dependencies) but
switch to runlevel 2/3 and avoid starting the default X. Instead I just
untar olvwm and use startx.

What about wine, java/javascript browsing, downloading yahoo mail and
cd/dvd burning? What editor do you use? Xemacs is marginally more of a
memory-hog but you can squeeze more lines into it, ditto xterms. That
improves readability and with color-highlighting.. you should check out
olvwm with my cfg files (the default cfg sucks).
keesan
response 22 of 32: Mark Unseen   Feb 15 04:25 UTC 2009

I installed linux to a laptop with 96MB RAM that runs at 120MHz.  16MB is also
adequate if not running a graphical browser.  Lynx runs in one console and
if you want to see a previous page you hit backspace and choose from history
(or back arrow for previous page).  My linux is Basiclinux based on Slackware.
I normally don't use X at all, just to run OPera if I need javascript at some
page.  Otherwise lynx, if I need embedded graphics link2s.  I don't use wine,
or java, or yahoo mail.  I don't download mail, I use pine at grex or sdf.
I can burn CDs.  I don't have a DVD burner.  I can play dvds with mplayer on
a 500Mhz machine with -hardframedrop, using X or svga.  I use Xvesa but a
larger X would be faster (accelerated) though taking more memory.  I use pico
as a text editor (or e3pi) or nano if I want more features.  Or vi.  Or Jim's
4K DOS text editor under dosemu, which will also run a 35K DOS 3D CAD program.
Lynx can access fastmail account (so can any other browser with SSL support).

I set up the laptop to dual boot 2K or linux.  A few seconds to the boot menu,
then 9 sec to load linux.  Takes longer with a larger partition (this one is
about 100MB) because it checks the drive briefly.  In 75MB I have links2,
links2, lynx, elinks, opera (I could add dillo and netrik and arena), and
mplayer.  I forget if that includes timidity midi player (takes up a lot of
space with patch files).  I can listen to streaming mp3 or ogg or rm files,
or watch low-bandwidth internet TV.  I can burn CDs, display images, print
them with netpbm or ghostscript, display pdfs with ghostscript using svgalib
program svp as a frontend (or xpdf but it is slower and needs X).  I have
kermit with ftp, dbclient and dropbear (ssh client and server) telnet, httpd,
wget, and many other things.    I have an excel to html and a powerpoint to
html convertor, and a word to text convertor, and a collection of fonts (I
can convert Russian from .doc to something readable with linux).  I have
msmtp, an authenticating mail program, and base64 to encode attachments.  CD
and wave players.  PDA software.  scp for secure file transfer.

A small window manager jwm (or icewm) with calendar and clock and menu, and
an X-based viewer xli.  I rarely use it.

I have pcmcia support and can use modem or network card or other cards.;
I have gone online at the library with the laptop.  2K was taking 13 minutes
to boot until I unchecked all the startup items (including AVG) and half the
processes using msconfig from XP - I don't have a LAN, or smartcard, or UPS,
etc.  Got it down to 2.5minutes, but adding back a virus checker added another
3 minutes.  My linux does not need antivirus.

It does not come with 50MB of printer drivers so I have not succeeded in
printing color photos in the correct colors, but I can print them in black
and white just fine.  

I have sqlite database and sqlite spreadsheet.  A small console calculator
plus the graphical one.  Magicpoint presentation software.

I run out of memory rotating large photos in less than 90 degree increments,
or trying to view large websites with Opera, in 24MB memory.  But even 96MB
is not enough to keep Win2K from slowing to a crawl.  

There is a solitaire game and a few others.  I don't do games.
I can view files in Russian, Greek, Armenian, and other console fonts.
I can view various numbers of lines and columns.

I can do almost all of this without a mouse.
I can use this as a terminal plugged into a serial port, or via a network
card, or parallel port, or wirelessly, with kermit or ftp or ssh, or as a
server, to share a modem connection or do file transfer.  I can network with
Windows and run linux programs in Windows that way (use linux as a server).
veek
response 23 of 32: Mark Unseen   Feb 16 13:29 UTC 2009

Show off :p you could have just said that it meets all your requirements
<g> though It's almost like archaeology :) 

pfft! -hardframedrop doesn't work all that great on avi and mkv files -
the whole trouble here is that you don't pirate stuff, ergo your media
is limited <g> . I get almost no excel or powerpoint stuff, but I see a
lot of chm, pdb, pdf and html files (pirated books). Music wise, I
seldom listen to streamed audio. What sort of pkg manager does
BasicLinux use - tar.gz and compile with deps? Do you have any
experience configuring GUI's (i'm just asking, I know it's unlikely -
I've been pondering the mysteries of removing all the garbage on the
default menu and adding my own menu in Gnome/KDE/XFCE)??

I like my GUI-Desktop, but I wish I had more GUI apps like a decent
FileBrowser (explorer.exe, Konqueror is slow and works nicely only on
KDE) or a burner which wasn't so damn slow (K3B is slow).. On the whole,
I'd rather avoid Linux, if I could, because of the lack of a decent GUI
and the need to tweak :p unfortunately, in practice, I spend most of my
time on Linux :p btw check out sshfs, awesome tool!
keesan
response 24 of 32: Mark Unseen   Feb 16 15:31 UTC 2009

installpkg, removepkg in the 'newer' version of my linux, or a little script
'pkg' that simply untars on / and runs the install script in the 'older' one
and remove things manually.  But I don't install entire packages, I just copy
over what I need, symlink, and make sure I have dependencies.  You can edit
the menu of any window manager with a text editor.  I have never tried to read
a chm file.  svp is a nice svgalib frontend for ghostscript to read pdf, or
you can convert it to bitmap or extract the images or text.  pdb is a palmos
database and I have compiled some convertors and sql.  I have never had to
view an avi, just dvds.
 0-24   25-32         
Response Not Possible: You are Not Logged In
 

- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss