Spawning Xdialogs from devd...

Wojciech Puchar wojtek at
Wed Apr 30 06:25:11 UTC 2008

>        match "subsystem"       "IBM";
>        action "/root/bin/ $notify ibm";
> };
> I'm curious to know what is actually going on here. I wouldn't have thought the context from which devd is restarted would make any difference, but clearly it does. Any clues?
> Also, does anyone have any ideas how I can call Xdialog to get the windows displayed?

you run Xdialog from root (devd is root), you run X from user.

ln -s /home/<user>/.Xuathority to /root/.Xauthority

and of course add

DISPLAY=:0 before Xdialog

More information about the freebsd-questions mailing list