On Thu, Feb 20, 2014 at 08:07:38AM +0200, Antonis Tsolomitis wrote:
> 
> >
> > Questions:
> > -When does lightdm start pulse? On start, or on login?
> > (If you stop lightdm from VT1 without logging in, is pulse started?)
> 
> Lightdm starts pulse for its own use (at least) and indeed when lightdm
> runs, pulse runs with
> lightdm authority. So one could assume that this is irrelevant. When you
> login
> to CDE with lightdm you can see pulse running with lightdm authority for
> a few seconds and
> then the process disappears, and no process with name containing "pulse"
> exists.
> 
> BUT if I start a sound application (say vlc) I see that pulseaudio gets
> started with user authority.
> 
> In pstree it appears as
> 
>      |-pulseaudio-+-gconf-helper
>      |            `-2*[{pulseaudio}]
> 
> as a child of init.
> 
> 
> So what gets wrong when CDE is started by dtlogin? When dtlogin starts
> CDE (from boot: get to lightdm screen, switch to console,
> stop lightdm, start dtlogin, and login to CDE)
> vlc looks working (you can see it plays the sound) but no sound is
> produced and no pulse process exists.
> 
> Does it work to anybody? Is it my PC problem maybe? Or something blocks
> pulse from starting?
> 
> Antonis.
>

Looks like you missed my third question/comment:
>> -If pulse is a system daemon, is pulse configured to autostart               
>>    
>> when lightdm starts? 
>> (This is my guess for what happens, just because of the nature of 
>> upstart...look in /etc/init/)                                                
>>    

And so far, it sounds like that is the most likely prospect.
>From what I see,
-/etc/init/lightdm.conf has these lines:

emits login-session-start
emits desktop-session-start
emits desktop-shutdown

-/etc/init/pulseaudio.conf has this line
start on started dbus

So lightdm has something to do with dbus starting, and dbus triggers pulse,
and...I'm not sure what the rest of the story is (besides "you might want
dtlogin.conf")
                                                                                
HTH,                                                                            
Isaac Dunham                                                                    
                 

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
cdesktopenv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to