LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to run "evolution --force-shutdown" from a script without an x session" (https://www.linuxquestions.org/questions/linux-software-2/how-to-run-evolution-force-shutdown-from-a-script-without-an-x-session-634974/)

biglesias 04-13-2008 12:10 AM

How to run "evolution --force-shutdown" from a script without an x session"
 
I am running Debian-lenny (test) I am attempting to use Bacula to backup my workstation and it allows you to run a script before beginning the backup job. I wanted to run "evolution --force-shutdown" before backing up evolution. When I add it to the job, I receive an error "cannot open display". It appears that evolution wants to open an X display and a GTK+ X Screen. If I enter "evolution --help-all", I see where there are options for the X display and X screen. Is there anyway to call evolution from the Bacula script prior to running the backup?

syg00 04-14-2008 09:02 AM

"pkill -term evolution" ???

biglesias 04-14-2008 11:36 AM

This issue is addressed in the following bug report: http://bugzilla.gnome.org/show_bug.cgi?id=247913


All times are GMT -5. The time now is 09:37 AM.