Re: Session logout from script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Dr. Nikolaus Klepp" <office@xxxxxxxxx> wrote:

> Am Mittwoch, 17. Januar 2018 schrieb Roel Wagenaar:
> > Is there a method to logout from a session from a script?
> > 
> > Now at 23.00 my desktop does a tdm-trinity stop, followed by a shutdown, I
> > would like to logout first an then stop trinity.
> > 
> 
> You could do the following, depending on what you want to achieve:
> 
> Just perform logout, if TDE is configured to shutdown after logout, it will
> turn off the computer (in most cases), but you will have to run it some
> minutes before shutdown:
> 
> $ dcop ksmserver ksmserver logout
> 

Thanks for your answer.

This unfortunately ends in an error message;

	roel@dt5:~$ dcop ksmserver ksmserver logout
	Not enough arguments (expected 0, got 0).


-- 
Roel Wagenaar,

telegram: 0629426511
Linux-User #469851 with the Linux Counter; http://linuxcounter.net/

Antw.: Omdat het de volgorde verstoord waarin mensen tekst lezen.
Vraag: Waarom is top-posting een slechte gewoonte?
Antw.: Top-posting.
Vraag: Wat is het meest ergerlijke in e-mail?

Eagles may soar, but weasels don't get sucked into jet engines.

---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: trinity-users-help@xxxxxxxxxxxxxxxxxxxxxxxxxx
Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting




[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux