Ubuntu虚拟环境上的自动测试通知

我无法让Rails自动测试通知在Engine Yard Vagrant环境中工作。在Mac上,我通常会通过Growl收到通知。但是,在运行Ubuntu的虚拟环境中不起作用。 我尝试运行Linux通知设置,如libnotify + autotest-notification,但是我收到以下错误:
libnotify-Message: Unable to get session bus: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
** (notify-send:1004): CRITICAL **: dbus_g_proxy_connect_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed
** (notify-send:1004): CRITICAL **: dbus_g_proxy_connect_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed
** (notify-send:1004): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed
另一条路径是让Growl远程接收通知,但我甚至不知道从哪里开始...... 有什么建议?     
已邀请:
Web服务器无法访问桌面以获取通知。出于安全原因,这通常是一件好事。 在Growl安装程序中,
dmg
是一个程序
growlnotify
,可以在大多数Posix-ish系统上进行调整,并可以发送远程通知。您还必须配置Growl以接收远程通知(System Prefeences> Other> Growl> Network)。     

要回复问题请先登录注册