LinuxQuestions.org
Review your favorite Linux distribution.
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 07-10-2009, 11:01 AM   #1
n1wil
LQ Newbie
 
Registered: May 2002
Posts: 20

Rep: Reputation: 0
Sound on Ubuntu base install - not working until user logs in on local keyboard


Hi,

I have an application for which I built a small Linux computer. It is serving as a basic Music on Hold source for a phone system.

I installed a non-gui Ubuntu base install. It is just CLI and that's the way i want to keep it.

I have the following problem:

I get no sound when invoking VLC from /etc/rc.local The command i put in rc.local for startup on boot is:
su - john -c '/home/john/start.sh'

Contents of /home/john/start.sh:
cvlc -I http -Z -L /home/john/list.m3u

This is supposed to enable vlc playback of the M3U playlist and play it random and loop it indefinitely while enabling the HTTP control interface so that I can control playback from any web browser.

The vlc program launches just fine, but no sound comes out of the audio out unless a user logs in on the console locally.

There must be a way to do this. Can someone please help?

I want to make it so the system runs headless (no monitor, keyboard, or mouse) so that all they have to do is patch the audio to the phone system, and attach a power and network cable for control.

Please help.

Thanks.
 
Old 07-11-2009, 04:59 AM   #2
corbintechboy
Member
 
Registered: Sep 2003
Location: Kentucky
Posts: 480
Blog Entries: 1

Rep: Reputation: 51
You may be able to setup a auto login.

I could be off base here (I have never done this), but I would think it would be hard to give user null audio rights.

Sounds to me like a permission/group issue none the less.
 
  


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
iptables dnat working, but server logs local source IP instead of original source IP Nothsa Linux - Server 3 02-14-2008 05:34 PM
Ubuntu Studio 7.10: base install problem heakthephreak Linux - Newbie 2 11-29-2007 07:38 AM
Ubuntu Base System error on install MikRose Linux - Newbie 6 04-02-2006 07:43 PM
scratchy sound in GNOME as local user only...please help.... deepclutch Debian 4 11-10-2005 05:25 PM
Fail to add a local user in a computer working with NIS pwangee Linux - Networking 0 07-07-2004 10:01 AM

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

All times are GMT -5. The time now is 08:13 PM.

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