I'm trying to run a script with crontab every 5 min.
But there is no result. When I cat the log file, I get the following:
Cannot autolaunch D-Bus without X11 $DISPLAY
Am I missing or should install something. Read online that the following
DISPLAY=:0 dconf reset -f /org/compiz/
Could resolve the issue. I tried it in the terminal and copied to the script but it doesn't work.
The line I created with crontab -e is as follows:
*/5 * * * * ~/Scripts/myscript.sh > /tmp/my.logfile 2>&1
Unless you installed and configured Compiz, then that setting will not help.
Should I install compiz first and then run the commands you suggest?
BTW it says compiz-core.
What says compiz-core?
The above deals with having the authority to enact certain sensitive commands, and is unrelated to Compiz.
You appear to be trying to run a script that requires gnupg access. If I have gotten the wrong end of the stick, please let me know.
None of that should require or have anything to do with Compiz.
However
, it may be that the task you are trying to run requires Compiz. I do not know. Only you know that, currently.
I am not in the habit of asking people to relay what the exact script is or what it is for...
I have to say but its not authority related.
I've installed compiz-core, but don't know much about setting it. I hoped someone with the crontab, X11 display settings or compiz would know more, concerning the feedback from the logfile.
Reading the net I find only crontab rules with scripts having to do mostly with backing up. I personally do backing up manually.
The script I'm running does effect the display.
Nope, I'm not backing up or doing something to root, except effecting the display that is. Do you think the error concerning D-Bus, X11 or Display is authority related?
But not password, because the output/error would then be of a diff. kind.
I still do, yes, because Xorg is in root, as well.
I think compiz is chasing an untamed ornithoid without cause.
Without really knowing what you are scripting or calling on...: