[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Getting GNOME to start from Enlightenment



*- On  8 Nov, Alisdair McDiarmid wrote about "Re: Getting GNOME to start from Enlightenment"
> On Mon, Nov 08, 1999 at 12:36:15PM -0500, Brian Servis wrote:
>> *- On  8 Nov, Patrick Kirk wrote about "Getting GNOME to start from Enlightenment"
>> > I want to elegance of E with the usefulness of GNOME.  But
>> > when I try to start GNOME from an eterm, I get this...
>> > 
>> > $ panel
>> > /dev/dsp: Permission denied 
>> > 
>> > Anyone seen it before?
>> 
>> I don't user either but this looks like a simple permission problem. By
>> default /dev/dsp is is owned by root with group audio.  So your user
>> must be in the audio group.  'adduser <user> audio' should get you past
>> the above problem.
> 
> I think you mean `addgroup <user> audio'. 

No I don't.

% man adduser

NAME
       adduser, addgroup - add a user or group to the system
[snip]
       adduser --group [options] [--gid ID] group
       addgroup [options] [--gid ID] group

       adduser [options] user group
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[snip]
   Add a system group
       If adduser is called with the --group option, or  addgroup
       is called, a system group will be added.

       A  GID  will be chosen from the range specified for system
       UIDS in the configuration file.  The GID can be overridden
       with the --gid option.

       The group is created with no users.

   Add an existing user to an existing group
       If  called with two non-option arguments, adduser will add
       an existing user to an existing group.
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


>                                            And check that /dev/dsp
> has group `audio' too.
> 

Good advice.

>> You might have to restart X to get the group
>> noticed, use the 'id' command to check that the current shell knows you
>> are in the audio group.
> 
> You'll have to log out and back in again to get it to work.

It has been my experience that if I add a user to a group and then open
a fresh xterm then the user is not recognized as in the group.  If I
exit my X session and start it back up then the user is recognized as
belonging to the group.  I don't know why, I haven't really
investigated it, but I am sure someone else can explain the details.


-- 
Brian Servis
-- 
------------------------------------------------------------------------
Mechanical Engineering              |  Never criticize anybody until you  
Purdue University                   |  have walked a mile in their shoes,
servis@purdue.edu                   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Reply to: