Thread: notify-send set permissions permanentely
hi,
trying message on screen cron-job using notify-send.
seems not easy, since cron-job not allowed use x-environment.
background-info: cron-job runs under root.
described in thread http://ubuntuforums.org/showthread.php?t=1411620 there seems solution if can command
allow user root use x-environment permanentely.code:xhost +si:localuser:root
hint in thread mentioned above shows config on rhel set command. says
directory place script command , script invoked once x11 (or display manager) starts.code:/etc/x11/xinit/xinitrc.d/
unfortunately, rhel , ubuntu have different installation , not able find out in ubuntu appropriate directory place script or add command in existing script.
wonder if experts in ubuntu me on horse.
you need tell screen in script. ex: display=:0
here try reading this:
https://help.ubuntu.com/community/cronhowto
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] notify-send set permissions permanentely
Ubuntu
Comments
Post a Comment