Open gnome-terminal as a cron job
Antonio Olivares
olivares14031 at yahoo.com
Tue Oct 17 11:38:05 UTC 2006
----- Original Message ----
From: Dylan Semler <dylan.semler at gmail.com>
To: For users of Fedora Core releases <fedora-list at redhat.com>
Sent: Monday, October 16, 2006 11:35:26 PM
Subject: Open gnome-terminal as a cron job
I'm tryng to run a cron job that will open a terminal. The following
is my user crontab (from crontab -e)
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=Dylan
HOME=/
DISPLAY=:0
15 0-23 * * * gnome-terminal
A terminal never opens, and I get the following error in
/var/spool/mail/root (shouldn't it be in .../mail/Dylan??)
<snip>
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
(gnome-terminal:3016): Gtk-WARNING **: cannot open display:
--k9H4T1iI003017.1161059341/localhost.localdomain--
--k9H4T1iJ003017.1161059341/localhost.localdomain--
Google wasn't too much help, as these Xlib errors seem to be quite
common. So how does one run an X application from cron?
--
Dylan
Type faster. Use Dvorak:
http://dvzine.org
--
fedora-list mailing list
fedora-list at redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
you can try xterm, find it using
$ which xterm
on my system it is
/usr/bin/xterm
Regards,
Antonio
More information about the users
mailing list