LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-29-2007, 08:18 AM   #1
bobthehorrible
LQ Newbie
 
Registered: Aug 2005
Location: Kentucky
Posts: 24

Rep: Reputation: 15
Java Thin Client Sound


SLES 10 and Java 1.6
When I play sound through a java player it plays on the server and not the thin client. All other sound devices play fine, so I know esound is on and working just great. Any suggestions???? No error messages or anything.
 
Old 06-08-2007, 09:15 AM   #2
bobthehorrible
LQ Newbie
 
Registered: Aug 2005
Location: Kentucky
Posts: 24

Original Poster
Rep: Reputation: 15
Any Ideas yet

I have posted on multiple sites and gotten the same thing, nothing =). This is how to replicate

Install Suse Linux Enterprise 10 and enable XDMCP
Install Opensuse 10.2 on another computer
Make sure you have a fully supported sound card with Alsa and esound runnning on both client and server.
run for example from the client X :1 -query "server ip" -once
This will attach you to the server as a terminal client
Download and run http://java.sun.com/products/java-me...JavaSoundDemo/
The sound will play on the server and not the terminal client

Please note that this happens on ANY jave sound application the JavaSoundDemo is only an example.
I have tested this with java versions 1.4.2 all the way to 1.6.1.
 
Old 07-30-2007, 06:54 AM   #3
bobthehorrible
LQ Newbie
 
Registered: Aug 2005
Location: Kentucky
Posts: 24

Original Poster
Rep: Reputation: 15
Any Ideas yet, this is still an issue.
 
Old 10-09-2007, 11:45 AM   #4
bobthehorrible
LQ Newbie
 
Registered: Aug 2005
Location: Kentucky
Posts: 24

Original Poster
Rep: Reputation: 15
Solved

The issue was Java was playing to the server sound card and not the thinclients.

The solution was setting environment variables in the start up script of the Java application. Here is the variables I set.

export AUDIOSERVER=$XAUTHLOCALHOSTNAME:8000
export LD_PRELOAD=/usr/lib/audiooss/libaudiooss.so

Of course you have to obtain libaudiooss.so. Which is usually included in ltsp packages.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to redirect sound to thin client abd_bela Debian 1 07-05-2006 01:36 PM
Using Thin-Client cwairah Linux - Networking 1 03-29-2006 12:39 PM
Thin Client ps6000 Linux - Software 3 12-15-2004 10:54 PM
thin client + wireless thinclientlinux Linux - Wireless Networking 3 12-08-2004 03:25 PM
Thin Client Setup MattLaw Linux - Networking 2 04-09-2004 07:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration