[desktop-discuss] [osol-bugs] Sound doesnt work after i use "gdmflexiserver --xnest"
Brian Cameron
Brian.Cameron at Sun.COM
Tue Feb 5 14:23:07 PST 2008
Arthur:
This problem was fixed in Nevada, but not S10. Refer to bugster
bug #6406880.
The problem is that GDM shouldn't be calling logindevperm for Xnest
sessions.
If this is a serious problem for S10 users, then it could be
fixed if the issue were escalated.
There are a few workarounds you could do:
1) Modify /etc/logindevperm to set mode 0666 for /dev/sound. This
will allow all users on the system to always have access to the
audio device. This might not be desirable if you share the
machine with other users.
2) Modify /etc/logindevperm to not set the mode at all for /dev/sound
by commenting out that line.
Then you could edit the GDM PreSession script to chown /dev/audio
to the logging in user and set perms to 0600. The GDM PostSession
script could be modified to change it back to root ownership with
0600 permissions. If you only do the chown/chmod calls if DISPLAY
is ":0", then xnest sessions won't change the audio device perms.
This is perhaps better if you share the machine with multiple users
and you only want the person on display :0 to have access.
The GDM PreSession script is /etc/X11/gdm/PreSession/Default and
the GDM PostSession script is /etc/X11/gdm/PostSession/Default
Brian
>> Sound is ok until i open a nested session and login there "gdmflexiserver --xnest" i can use sound on the xnest and after i close it my sound is blocked on the original desktop, i have to log off and log on again to make it work.
>> Dont know if it is my fault or something else.
>>
>> Using :
>> SunOS shark 5.11 snv_55b i86pc i386 i86pc
>> oss build 1012
>
> The folks in desktop-discuss (cc'ed) are probably the best to
> ask about this, since they know best what gdmflexiserver does.
>
More information about the desktop-discuss
mailing list