LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-14-2003, 04:19 PM   #1
BlackCell
Member
 
Registered: Nov 2003
Location: Netherlands
Distribution: Debian Unstable
Posts: 61

Rep: Reputation: 15
rights stuff and desktop environment


Hello All, just read a post on rights weher it was sai never to start X as root, I used to work always as root until I figured it out it's better not to... So I quickly changed and created a user, now my next problem arises. I have installed gnome as desktopmanmanager. When being in X I always listen to music with XMMS. Now I start x as user and not even the the sound is working. I have to open up a terminal type su, start xmms and go back to normal working. I think this is stupid. How can I give myself in user mode acces to start xmms under gnome. and also how can I change the xlogin window from xdm to the gnome one, I hear the gnome one looks better.

Tx
 
Old 11-14-2003, 04:45 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Check the permissions of
/dev/dsp*
/dev/mix*

If users have no rights on them ...

I don't know how debian handles things
like that, I'd suggest creating a group
sound, change group ownership of
the devices above to sound

chgrp sound /dev/dsp*
chgrp sound /dev/mix*

and then add your normal user
to the sound group.

Cheers,
Tink
 
Old 11-14-2003, 05:58 PM   #3
BlackCell
Member
 
Registered: Nov 2003
Location: Netherlands
Distribution: Debian Unstable
Posts: 61

Original Poster
Rep: Reputation: 15
Tx 4 a reply ;-)

I checked out the permissions and those devices belonged to root and gropu was root, I changed the group of those devices to audio just as you suggested, (the owner remained root though)

I also added the user to the group audio by doing chmod -G audio username

unfortunateley there is still no sound for me, It is a permissions issue because when I open up xmms and want to play something he tells me to check for rihgt permissions.

Tx for any other suggestions
 
Old 11-14-2003, 06:09 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Just out of curiousity... for all I know
new group memberships only get
picked up in X environment after
a login ... did you?

Quote:
by doing chmod -G audio username
Huh? :) You meant to type
usermod, right?

Cheers,
Tink
 
Old 11-14-2003, 06:31 PM   #5
BlackCell
Member
 
Registered: Nov 2003
Location: Netherlands
Distribution: Debian Unstable
Posts: 61

Original Poster
Rep: Reputation: 15
...I have sound now...but still, weird stuff

Ok, first of all you were right heheh I used

$ usermod -G ....

sorry for the confusion, you sort of pushed me into the right direction, I changed everything with the slightest soundish thing on it to the group audio :-)

I now have sound being a normal user!

In the gnome panel there is this sound control thing and that remains on mute even if i am listening to audio right now. So it is not muted :-) though the volume indicator says so, when I unmute it it remains complaining that /dev/sound/mixer cannot be accesed.... whihc is logical since it doesn't exist on my machine.
When I am root, the volume indicator works as supposed to. i checked but also than there is no /dev/sound/mixer directory. Any idea's on this one?

Oh yes I use Alsa drivers, I log in after every change, and also restart the alsa deamon (etc/init.d/alsa restart)

Tx for your help once more
 
  


Reply


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
Stuff on your desktop? Matt.Ramos Linux - Newbie 5 07-15-2004 06:36 PM
which desktop environment? rgiggs Mandriva 2 04-09-2004 09:47 PM
i don't have a desktop environment CodeZero Linux - General 3 02-23-2004 12:14 AM
Which Desktop Environment You Use? xoros Linux - General 43 10-21-2003 07:04 AM
Desktop Stuff gsibble Linux - Newbie 10 08-11-2003 06:52 AM


All times are GMT -5. The time now is 08:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration