On (at least) Ubuntu the login process (both lightdm and console) 
modifies the access rights to /dev/snd/*
so that the sound devices accept sound streams with user permissions.

But this does not work with dtlogin
When you login with dtlogin the sound devices do not get user rights. So 
the sound does not work
for the user.

If now the command

sudo setfacl -m "u:user:rw-" 
/dev/snd/*                                             (1)

is executed then the problem gets fixed and the user has access to the 
sound system.

Can this be fixed somehow? Because it can not be executed by the user 
startup scripts since
it must be run with root privileges.

More than that this is not the proper way to do it. Because when you 
switch to console for
another user login the sound devices must stop have the rights of the 
GUI logged in user
and get the rights of the console user login.

I guess lightdm does that automatically (chvt triggers the change of 
permissions-I guess).

So can this be fixed somehow? At least, change the permissions to the 
next dtlogin user.
Because if I execute (1) and then logout, and another user logs in then 
the permissions must change
by another issue of (1).

We have the same situation with the video devices. Unless you execute

sudo setfacl -m "u:user:rw-" /dev/video*

you do not get access to video (so eg skype does not work for video calls).

Antonis.

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to