[Kde-kiosk] force logout from kde

Martijn Klingens klingens at kde.org
Wed Apr 30 14:26:24 CEST 2003


On Wednesday 30 April 2003 02:56, Oswald Buddenhagen wrote:
> On Tue, Apr 29, 2003 at 06:22:37PM +0100, Neil Munro wrote:
> > I want to be able to force a clean logout from KDE (e.g. from a root
> > cron job or similar to a user called "kde") but I cannot get this to
> > work reliably. I tried "su -c 'dcop ksmserver MainApplication-Interface
> > quit' kde" as that dcop command seems to work from a terminal. Is there
> > a "correct" way to do this from root?
>
> su user -c 'dcop ksmserver default logout 0 0 0'

That should still be

dcop --user user ksmserver default logout 0 0 0

;-)

-- 
Martijn



More information about the kde-kiosk mailing list