LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 03-27-2015, 03:58 AM   #1
jdog320
LQ Newbie
 
Registered: Aug 2014
Distribution: Debian
Posts: 28

Rep: Reputation: Disabled
How to execute programs after GUI Logout?


Hi I need some help about logout. I need to know how to execute a program after exiting X. E.g. killall florence after I logout.
 
Old 03-27-2015, 04:09 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,897

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
if florence is this http://florence.sourceforge.net/english.html: restarting X will kill it automatically, so you do not need to do anything. You can restart X by restart gdm (or lightdm or whatever display manager you have)
 
Old 03-27-2015, 04:23 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,993

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
You'd have to do it as part of logout or make a way to test for log out and execute cron.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
server no-gui logout after inactivity sniper8752 Linux - Newbie 1 05-02-2014 12:05 PM
Execute Programs: Analysis Linux - Desktop 4 06-13-2007 05:19 PM
How to execute some command on GDM Login and Logout? jabran Linux - Desktop 2 08-24-2006 10:55 AM
Cygwin X logout, keep programs running poeta_boy Linux - Newbie 3 03-31-2006 02:52 PM
I can not execute compilied programs guitarfella Fedora 2 04-22-2005 11:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration