LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-29-2011, 07:12 PM   #1
0zMe
Member
 
Registered: Jun 2009
Posts: 85

Rep: Reputation: 15
Question No sound anymore after some changes


Hello guys,

I did some changes to my system.
First off all I hadn't any login manager at startup, so I activated it by changing /etc/inittab

Then I had the problem, that my user was not listed in /etc/shells.
So I modified my /etc/passwd and added /bin/bash/ to my user account.

Everything worked except the sound.
My xfce4-mixer gave me the error below:
Quote:
GStreamer was unable to detect any sound devices. Some sound system specific GStreamer packages may be missing. It may also be a permissions problem.
If I login as root, I get also the same error, but I have sound.
If I login with my user account, I get the error and don't have any sound

I'm always using xfce4 as window manager, but if I login with kde4, I also have sound.

Before the systemchanges, I had no problems with my soundsystem.

Does someone know how to solve this issue?
 
Old 01-29-2011, 07:27 PM   #2
rody
Member
 
Registered: Jan 2011
Location: kernel
Distribution: Slackware - Arch
Posts: 77

Rep: Reputation: 3
Hi
try add your user name to /etc/group

audio:x:17:root,user
 
1 members found this post helpful.
Old 01-29-2011, 07:41 PM   #3
vivanguarda
Member
 
Registered: Sep 2008
Location: RJ-Brazil
Distribution: Slackware
Posts: 166

Rep: Reputation: 4
I'm having a bad experience using Pulse Audio because Dropline Gnome install. I got some tips here, then check if your user account is part of the audio group or only root.
 
Old 01-29-2011, 08:30 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,052
Blog Entries: 1

Rep: Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373
Hi,

Quote:
Originally Posted by 0zMe View Post
Hello guys,

I did some changes to my system.
First off all I hadn't any login manager at startup, so I activated it by changing /etc/inittab

Then I had the problem, that my user was not listed in /etc/shells.
So I modified my /etc/passwd and added /bin/bash/ to my user account.

Everything worked except the sound.
My xfce4-mixer gave me the error below:

If I login as root, I get also the same error, but I have sound.
If I login with my user account, I get the error and don't have any sound

I'm always using xfce4 as window manager, but if I login with kde4, I also have sound.

Before the systemchanges, I had no problems with my soundsystem.

Does someone know how to solve this issue?
If as root you create accounts via adduser a lot of what you have attempted manually would have been performed. You are prompted for account information for the user. Be sure to read the prompts so things can be answered properly.

Suggested groups after pressing up arrow;
Quote:
users floppy audio video cdrom plugdev power netdev
Be sure your users are in the above default groups.

Quote:
excerpt from 'man shells';

shells - pathnames of valid login shells

DESCRIPTION
/etc/shells is a text file which contains the full pathnames of valid login shells. This file is consulted by
chsh(1) and available to be queried by other programs.

Be aware that there are programs which consult this file to find out if a user is a normal user. E.g.: ftp dae-
mons traditionally disallow access to users with shells not included in this file.
Why do you think there is a need to add your user name to the '/etc/shells'?

As to editing the '/etc/inittab', that's fine. But you could have just used 'startx' to test things out.

Just a few links to aid you to gaining some understanding. Sure some may seem beyond a newbie but you must start somewhere;



SlackwareŽ Essentials
SlackwareŽ Basics
Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
LinuxSelfHelp
Bash Beginners Guide
Bash Reference Manual
Advanced Bash-Scripting Guide
Linux Home Networking



The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
1 members found this post helpful.
Old 01-30-2011, 02:45 PM   #5
0zMe
Member
 
Registered: Jun 2009
Posts: 85

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rody View Post
Hi
try add your user name to /etc/group

audio:x:17:root,user
Thanks @rody, it worked but I still have problems using GStreamer.

@onebuck, many thanks for the links. I didn't add my username to /etc/shells, I just added /bin/bash to my user account in /etc/passwd.

After that I got some permission problems with some tools, like GStreamer and NetworkManager.

I was just aiming to get the login manager work, but it prompted me that my username was not listed in the shells.
 
Old 01-30-2011, 07:14 PM   #6
rody
Member
 
Registered: Jan 2011
Location: kernel
Distribution: Slackware - Arch
Posts: 77

Rep: Reputation: 3
Quote:
I was just aiming to get the login manager work, but it prompted me that my username was not listed in the shells.
Try create new user


root@slackware ~> adduser

Login name for new user []: user

User ID ('UID') [ defaults to next available ]: 500

after that hit enter and change password and when new user complete add it in /etc/group
 
Old 01-30-2011, 10:59 PM   #7
icqraid
LQ Newbie
 
Registered: Jan 2011
Location: Oregon USA
Distribution: Slackware13.1 Ubuntu10.10
Posts: 25

Rep: Reputation: 0
I would do the same thing that Rody suggested. If one or two things on the user account are off, there could be more. Best just to add a new user and set all the permissions that way.
 
  


Reply

Tags
sound


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Sound isn't working anymore 0zMe Slackware 13 02-06-2010 02:25 PM
sound won't work anymore baronobeefdip Linux - Hardware 2 07-19-2009 04:06 PM
no sound anymore carlyno Linux - Desktop 2 10-26-2008 08:07 AM
no sound at all anymore 0pal_t0ad Linux - Hardware 0 04-03-2004 02:12 PM
lindows doesn't sound so good to me anymore micr8000 Linux - Hardware 2 01-01-2003 08:51 AM


All times are GMT -5. The time now is 06:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration