Re: Open gnome-terminal as a cron job

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message ----
From: Dylan Semler <dylan.semler@xxxxxxxxx>
To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
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@xxxxxxxxxx
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






-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux