Hello Martin,

thanks, I will do what you suggest, and obviously the problem will be 
solved.
However commands such as

setfacl -m "u:user:rw-" /dev/snd/*

start looking very ..."internal/mysterious". Many users may feel 
comfortable
with chmod but ...setfacl ..... god, it looks bad...

so a reasonable question is whether there must be a patch or not.

It looks to me that it is proper for dtlogin to set the proper rights
for sound and video. So my previous email could be also considered
a bug report. Permissions are not set correctly for the desktop to function
on linux. Xstartup and Xreset now do include a (small) set of 
permissions (for /dev/$ITE),
so it could be expanded for the linux arch.

If it can't be fixed I will have to add a wiki page.

Antonis.




On 13/06/2016 10:39 πμ, Martin Etteldorf wrote:
> Hello Antonis,
>
>
> On Mon, Jun 13, 2016 at 9:30 AM, Antonis Tsolomitis
> <[email protected]> wrote:
>> 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.
> This is done in /usr/dt/config/[Xstartup|Xreset]
> just copy over both files to /etc/dt/config, add the commands you need
> and restart dtlogin.
>
>
> Kind regards,
>
> Martin Etteldorf
>
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel


------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to