On Mon, 27 Jan 2020 20:54:11 -0500
Tomas Kuchta <[email protected]> dijo:

>This, opening a dialog box, may not work unless you are logged in in a
>GUI desktop.
>
>Just curious - will this work as written when that command is issue by
>Cron by root?
>
>I would have thought that it wouldn't, thought I have not tried.

I will know tomorrow morning. :)

Oh wait, it won't. I had been running the script over and over today to
set up the message window, but I had been running it as me (jjj). Just
now I tried it with sudo and the message failed:

No protocol specified
Unable to init server: Could not connect: Connection refused
gxmessage: unable to initialize GTK

(Sigh.)

Gxmessage is the same as xmessage, except that it has some extra
features and runs on GTK. Maybe I can repair this by switching to
xmessage. I'll try that later.
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to