On 03.10.2013 23:38, Ranjan Maitra wrote: > > Following, this post pointed to me my Matthew Miller, I am able to get > things working. Here is what I did (same as in the post there). > > Created a file as follows (called ~/bin/export_x_info): > > #!/bin/bash > # Export the dbus session address on startup so it can be used by cron > touch $HOME/.Xdbus > chmod 600 $HOME/.Xdbus > env | grep DBUS_SESSION_BUS_ADDRESS > $HOME/.Xdbus > echo 'export DBUS_SESSION_BUS_ADDRESS' >> $HOME/.Xdbus > # Export XAUTHORITY value on startup so it can be used by cron > env | grep XAUTHORITY >> $HOME/.Xdbus > echo 'export XAUTHORITY' >> $HOME/.Xdbus > > ---- > make the file executable: > > $ chmod 700 ~/bin/export_x_info > > Change this to be sourced at startup. I added the line to > ~/.config/openbox/autostart: > > /home/maitra/bin/export_x_info& > > ---- > > added the following line to crontab (via crontab -e): > > 37 * * * * source $HOME/.Xdbus; nice -n 19 > $HOME/scripts/yum/check-kernel.sh > > This works now! > > Thanks very much everybody's help! > Best wishes, > Ranjan > For this we use The Desktop Environments and The Display Managers. :) For the full GNU/Linux experience, I recommend something called LFS[1], Now, that's a real fun. ;) Remember, the second you go through those doors, everything changes. Our old life is done. Let's go for a little ride. poma [1] http://en.wikipedia.org/wiki/Linux_From_Scratch -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org