If you export DISPLAY before your command it works: try :
echo export DISPLAY=$DISPLAY \&\& zenity --warning|at now Nicolas -- The 'at' command fails to execute commands at the given times and dates https://bugs.launchpad.net/bugs/94933 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs