The topic to research would be X11 authorization and MIT cookies. It will require commands to run on both sides of the command line: a) your desktop will need to authorize the connection (every time you start desktop) b) Cron using that authorization to display the window.
The easiest to work around is probably for Cron to write a message to a file and some forever running desktop script checking that file and open the dialog. Another alternative would be to use system messaging infrastructure in Gnome/KDE. One could also send a message to all user's consoles by ancient command wall. Hope that helps, Tomas On Tue, Jan 28, 2020, 16:58 wes <[email protected]> wrote: > On Tue, Jan 28, 2020 at 1:21 PM Johnathan Mantey <[email protected]> > wrote: > > > I'm only paying half attention to this. > > You want to run as root, but you are using your own Xauth? > > I'm no X11 wizard, but that doesn't seem like it would work. > > Doesn't /root have a Xauthority file that should be used for root run > > features? > > > > > This only exists if the root user were to have logged in to X at some > point. This is disabled by default. > > Additionally, the goal here is to pop a dialog on the jjj user's X desktop > from a command run by root. > > -wes > _______________________________________________ > PLUG mailing list > [email protected] > http://lists.pdxlinux.org/mailman/listinfo/plug > _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
