On 06/19/2017 07:49 PM, Bryan C. Everly wrote:
Hi all,

I am running Arch Linux with ClamAV 0.99.2 on a Thinkpad X1 Carbon
(Skylake) using xorg and Gnome3.  Anyhow, I have the ScanOnAccess
stuff configured to where the system will detect any activity on my
EICAR test file.

My /opt/clamav-utils/clamd-response file is where I'm running into
trouble.  I'd like to use it to trigger a GUI alert on my screen;
Hi Bryan,

The problem isn't with ClamAV, it's the difference in sessions between a daemon and a user.

A user that is logged in, is in a shell with lot's of environment variables set, whereas a daemon is running in a bare-minimum environment.

You probably need to set the variable DBUS_SESSION_BUS_ADDRESS in your script as described here:

https://askubuntu.com/questions/298608/notify-send-doesnt-work-from-crontab

Best regards
  Michael
_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to