[LightDM] how to exit display manager
Gabriele Bulfon
gabriele.bulfon at sonicle.com
Mon Apr 7 02:19:26 PDT 2014
But looking at the lightdm.c code, I see two callbacks waiting for signals, handling daemon exit.
Isn't it possible to send these signals from the greeter to its parent (lightdm daemon)?
Or, how may I patch in a good manner the lightdm-gobject code to provide such a function?
Da:
Robert Ancell
A:
Gabriele Bulfon
Cc:
pjssilva at gmail.com LightDM Mailing List
Data:
6 aprile 2014 22.37.52 CEST
Oggetto:
Re: [LightDM] how to exit display manager
No, the greeter does not have the permissions to shut down the lightdm service. If you need to do this you should use existing methods to shut down the service and make the "lightdm" user account able to access this.
On 6 April 2014 01:16, Gabriele Bulfon
gabriele.bulfon at sonicle.com
wrote:
I meant through C code inside the greeter, using lightdm-gobject calls or signals. :)
----------------------------------------------------------------------------------
Da:
pjssilva at gmail.com
A: Gabriele Bulfon
gabriele.bulfon at sonicle.com
Data: 5 aprile 2014 14.08.32 CEST
Oggetto: Re: [LightDM] how to exit display manager
This one I know... In Ubuntu try
stop lightdm
(in the console)
best,
Paulo
2014-04-05 8:52 GMT-03:00 Gabriele Bulfon
gabriele.bulfon at sonicle.com
:
Hi,
I'm customizing the power menu, adding "Exit Display Manager..." to get back
to text console.
I tried issuing a sigsend SIGQUIT to the parent pid of the greeter, but
doesn't work.
What is a correct way to tell lightdm to quit?
BTW I could patch lightdm to support Solaris RBAC and allow for shutdown and
reboot through HAL
dbus. :)
Thanks!
Gabriele
_______________________________________________
LightDM mailing list
LightDM at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/lightdm
--
Paulo José da Silva e Silva
Professor Associado, Dep. de Matemática Aplicada
(Associate Professor, Applied Mathematics Dept.)
University of Campinas - Brazil
Web:
http://www.ime.unicamp.br/~pjssilva
_______________________________________________
LightDM mailing list
LightDM at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/lightdm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20140407/eceb5a38/attachment.html>
More information about the LightDM
mailing list