Setting Up Your Own Diskless Workstations with LTSP - page 4
The Whys and Wherefores of LTSP
To support multimedia applications on the workstation, yopu will have to configure sound support. This brings up a rather thorny problem because in reality all the applications are executed not on the local station, but rather on the main server. This means that we need to transfer all sound streams from the server to workstation via the network.
Initially, this seems to be a difficult task, but such software already exists to handle it--a special package called ltsp_sound can do all of these things, which can easily be downloaded from the LTSP developers site.
This package isn't available as an RPM, so after downloading, we need to unpack the archive file into a temporary directory and execute script included in the package as superuser (root). Remember, make sure, the PATH statement contains /sbin and /usr/sbin:
export PATH=$PATH:/sbin:/usr/sbin ./install.sh LTSP Sound v3.0.1 by Andrew Williams (email@example.com) Originally created by Boris Reisig (firstname.lastname@example.org) Bash Version=2.05a.0(1)-release Installing Base package. Please make sure to unset LD_PRELOAD before you use this if have a previous ltsp Sound package installed About to install the libs, Are you sure you want to continue? [Y/N]: Confirm (Y): Putting files in /opt/ltsp Setting up Environment variables adding ltsp-sound.sh Would you like to install the nasd sound utilities package? [Y/N]: Confirm (Y). Nasd - it's special sound server: Putting files in /opt/ltsp Setting up Environment variables adding ltsp-sound.sh Would you like to install the nasd sound utilities package? [Y/N]:y Putting files in /opt/ltsp Setting up Environment variables adding ltsp-sound.sh Would you like to install the nasd sound utilities package? [Y/N]:y Installation *Complete* !!NOTE: Please read "/opt/ltsp/i386/etc/lts.conf.sound" for more info You *SHOULD* turn down your workstation speakers as this package is installed default to ramp the sound volume on loading of the sound daemon Have Fun!!!
We now just have to modify the configuration of the network's workstations. In the lts.conf file, in the settings section, we will add these lines:
SOUND = Y SOUND_DAEMON = nasd # This can be 'nasd', or 'esd' at this time VOLUME = 100 # Speaker & WAVE volume pecentage MIC_VOLUME = 100 # Microphone volume CD_VOLUME = 75 # CD Audio volume SMODULE_01 = auto # sound chip auto detect Nasd - it's special daemon, which receives/send media data over network. VOLUME - software settings for volume range. MIC_VOLUME - software settings for microphone sensivity. CD_VOLUME - software settings for CD audion input sensivity. SMODULE_01 - name of loadable module of soundcard or auto for autodetect.
If your soundcard cannot be autodetected, you can configure it manually:
SMODULE_01 = soundcore SMODULE_02 = uart401 SMODULE_03 = sb io=0x220 irq=5 dma=1
In this example, by the way, we are configuring a Sound Blaster-compatible card.
After the workstation reloads, we can use xmms and many other multimedia applications.
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 2Linux Top 3: Debian Dumps SPARC, Ubuntu Takes Over Linux 3.13 and the Core Infrastructure Initiative
- 3Linux Top 3: Fedora, Ubuntu and Gluster Lose Community Leaders
- 4Red Hat Enterprise Linux 7 Finally Hits the Big Time
- 5Linux Top 3: Tails 1.0, OpenMandriva Lx 2014.0 and Debian 7.5