You are not logged in.

#1 2004-06-29 17:22:48

bdee
Member
From: Hungary
Registered: 2004-04-27
Posts: 10

Xmms not work as user

My xmms does not work as user, but works as root. I give permissions for users in devfsd.conf, but when I klick to play file it does not pick up the file. The file name does not appear in the window. With Mplayer is does the same.  What is the problem?

Offline

#2 2004-06-29 17:37:41

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Xmms not work as user

the problem may be your devfsd.conf. if you post it then someone may be able to point out mistakes if there are any.

also did you reboot or restart devfsd after adding the permissions? did you log out then in? it could be one of these as well but post your devfsd.conf first please.


AKA uknowme

I am not your friend

Offline

#3 2004-06-29 19:25:42

bdee
Member
From: Hungary
Registered: 2004-04-27
Posts: 10

Re: Xmms not work as user

her is my devfsd.conf:
# Richard Gooch  <rgooch@atnf.csiro.au>        17-FEB-2002
#
# Enable full compatibility mode for old device names. You may comment these
# out if you don't use the old device names. Make sure you know what you're
# doing!
REGISTER    .*        MKOLDCOMPAT
UNREGISTER    .*        RMOLDCOMPAT

# You may comment out the above and uncomment the following if you've
# configured your system to use the original "new" devfs names or the really
# new names
#REGISTER    ^vc/        MKOLDCOMPAT
#UNREGISTER    ^vc/        RMOLDCOMPAT
#REGISTER    ^pty/        MKOLDCOMPAT
#UNREGISTER    ^pty/        RMOLDCOMPAT
#REGISTER    ^misc/        MKOLDCOMPAT
#UNREGISTER    ^misc/        RMOLDCOMPAT

# You may comment these out if you don't use the original "new" names
REGISTER    .*        MKNEWCOMPAT
UNREGISTER    .*        RMNEWCOMPAT

# Enable module autoloading. You may comment this out if you don't use
# autoloading
LOOKUP        .*        MODLOAD

# Uncomment the following if you want to set the group to "tty" for the
# pseudo-tty devices. This is necessary so that mesg(1) can later be used to
# enable/disable talk requests and wall(1) messages.
#REGISTER    ^pty/s.*    PERMISSIONS    -1.tty    0600
#REGISTER    ^pts/.*        PERMISSIONS    -1.tty    0600

#
# Uncomment this if you want permissions to be saved and restored
# Do not do this for pseudo-terminal devices
#REGISTER    ^pt[sy]        IGNORE
#CREATE        ^pt[sy]        IGNORE
#CHANGE        ^pt[sy]        IGNORE
#DELETE        ^pt[sy]        IGNORE
#REGISTER    .*        COPY    /dev-state/$devname $devpath
#CREATE        .*        COPY    $devpath /dev-state/$devname
#CHANGE        .*        COPY    $devpath /dev-state/$devname
#DELETE        .*        CFUNCTION GLOBAL unlink /dev-state/$devname
#RESTORE        /dev-state

#
# Uncomment this if you want the old /dev/cdrom symlink
#REGISTER    ^cdroms/cdrom0$    CFUNCTION GLOBAL mksymlink $devname cdrom
#UNREGISTER    ^cdroms/cdrom0$    CFUNCTION GLOBAL unlink cdrom
REGISTER        ^sound/.* PERMISSIONS root.sound 660
REGISTER         ^snd/.* PERMISSIONS root.sound 660
# Uncomment this to let PAM manage devfs
#REGISTER    .*        CFUNCTION /lib/security/pam_console_apply_devfsd.so pam_console_apply_single $devpath

# Uncomment this to manage USB mouse
REGISTER    ^input/mouse0$    CFUNCTION GLOBAL mksymlink $devname usbmouse
UNREGISTER    ^input/mouse0$    CFUNCTION GLOBAL unlink usbmouse
REGISTER    ^input/mice$    CFUNCTION GLOBAL mksymlink $devname usbmouse
UNREGISTER    ^input/mice$    CFUNCTION GLOBAL unlink usbmouse

# If you have removable media and want to force media revalidation when looking
# up new or old compatibility names, uncomment the following lines
# SCSI NEWCOMPAT  /dev/sd/* names
#LOOKUP        ^(sd/c[0-9]+b[0-9]+t[0-9]+u[0-9]+)p[0-9]+$    EXECUTE /bin/dd if=$mntpnt/1 of=/dev/null count=1
# SCSI OLDCOMPAT  /dev/sd?? names
#LOOKUP        ^(sd[a-z]+)[0-9]+$    EXECUTE /bin/dd if=$mntpnt/1 of=/dev/null count=1
# IDE NEWCOMPAT   /dev/ide/hd/* names
#LOOKUP        ^(ide/hd/c[0-9]+b[0-9]+t[0-9]+u[0-9]+)p[0-9]+$    EXECUTE /bin/dd if=$mntpnt/1 of=/dev/null count=1
# IDE OLDCOMPAT   /dev/hd?? names
#LOOKUP        ^(hd[a-z])[0-9]+$    EXECUTE /bin/dd if=$mntpnt/1 of=/dev/null count=1

Offline

#4 2004-06-29 19:53:09

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Xmms not work as user

halloo
You can add your user to the sound group, or you you can change your devfsd.conf like this.
REGISTER ^sound/.* PERMISSIONS root.users 660
REGISTER ^snd/.* PERMISSIONS root.users 660
I think this will do it.


arch + gentoo + initng + python = enlisy

Offline

#5 2004-06-30 08:27:30

bdee
Member
From: Hungary
Registered: 2004-04-27
Posts: 10

Re: Xmms not work as user

I had already done/creat sound group, and add user/ , before I wrote for the first time.

Offline

#6 2004-06-30 16:53:32

kpiche
Forum Fellow
From: Ottawa, ON, Canada
Registered: 2004-03-30
Posts: 246
Website

Re: Xmms not work as user

For the changes to take effect you have to reboot or kick devfs in the pants with "kill -HUP whatever-pid-of-devfs-is".

Offline

Board footer

Powered by FluxBB