On Thu, 5 Aug 2004 18:33:41 -0400, Bill Shirley [EMAIL PROTECTED] wrote:
Did you see this post? I'm not convinced you are
exporting the DISPLAY variable. Can you post your
script?
Yeah, I saw it. Sorry I didn't reply at the time, I was busy trying
out all sorts of things and a bit
On Wed, 4 Aug 2004 17:57:55 -0400, Bill Shirley [EMAIL PROTECTED] wrote:
Try putting in the script:
DISPLAY=:0.0
at the top after #!/bin/sh
Thanks for the suggestion. It desn't work, though, unfortunately.
Germán.
Want to buy your Pack
On Wed, 04 Aug 2004 20:14:21 -0500, Mikkel L. Ellertson
[EMAIL PROTECTED] wrote:
Or you script can start something like:
#!/bin/bash
#
PATH=/bin;/usr/bin;/home/ger/bin
Another way you can do it is to define variables for all your commands
at the start of the script, and then use the
On Wed, 04 Aug 2004 20:22:44 -0500, Mikkel L. Ellertson
[EMAIL PROTECTED] wrote:
Bill Shirley wrote:
Try putting in the script:
DISPLAY=:0.0
at the top after #!/bin/sh
HTH, Bill
This only works if you are running the X server. If another user is
running X, you will not be
On Thu, 5 Aug 2004 09:18:36 -0500, Hoyt Bailey [EMAIL PROTECTED] wrote:
You might try:
'/usr/bin/galeon weather.com' (or whatever site you want)
Yeah, tried that too. I think I've tried everything short of changing
security settings in the X server, but I'm not going down that route.
Anyway,
On Fri, 06 Aug 2004 01:06:05 +1000, Stephen Kühn [EMAIL PROTECTED] wrote:
Maybe I walked in late in the thread here - but I'm trying to NOW figure
out what y'all tryin to do - is it that you want cron to open a browser
for you for a specific URL and that's all?
Yep, that's it. I'm starting to
On Fri, 06 Aug 2004 01:42:10 +1000, Stephen Kühn [EMAIL PROTECTED] wrote:
Ok...just for giggles and grins, I just created a small script to fire
up Galeon (/home/stephen/bin/start_galeon) ::
snip
#!/bin/bash
/usr/bin/galeon http://freshmeat.net
exit
/snip
Fired up kcron as
On Thu, 05 Aug 2004 10:47:57 -0500, Mikkel L. Ellertson
[EMAIL PROTECTED] wrote:
The display manager will be running as root. But when a suer logs in,
it turns ownership over th the user. If you use run level 3, then the
user owns the X server from the start. You can also do things like
On Fri, 06 Aug 2004 03:25:10 +1000, Stephen Kühn [EMAIL PROTECTED] wrote:
Now I'm led to wonder, are you using kcron to setup the cron job - and
is the user YOU or root or system?
I'm not using kcron - I don't even have it. In my home dir I have a
text file called, appropriately (or
On Thu, 05 Aug 2004 12:58:40 -0500, Mikkel L. Ellertson
[EMAIL PROTECTED] wrote:
As you say, running two X servers is overkill for what you want. I am
trying to remember something - there is a dummy X server package, or
something like that, for faking an X server. It may be part of the VNC
Hello All,
I'm on mdk 10 OE. I've put a little bash script in /home/ger/bin/,
added that directory to my path, created a crontab for myself with
crontab (it's now /var/spool/cron/ger), added my whole $PATH to it,
created /etc/cron.allow and even /var/spool/cron/cron.allow with my
user name in it,
On Wed, 04 Aug 2004 11:34:36 -0500, Mikkel L. Ellertson
[EMAIL PROTECTED] wrote:
You might want to try adding a PATH=whatever your path is before the
first command in the script.
Yep, I did that. I tried PATH=/home/ger/bin and when that didn't work
PATH=/bin:/usr/bin:/usr/bin/X11: etc, the
On Wed, 04 Aug 2004 15:07:43 -0500, Mikkel L. Ellertson
[EMAIL PROTECTED] wrote:
Yep, I did that. I tried PATH=/home/ger/bin and when that didn't work
PATH=/bin:/usr/bin:/usr/bin/X11: etc, the whole bash environment
variable.
Did you add the full path in the script, or in the crontab
13 matches
Mail list logo