From: "Alok K. Dhir" <adhir@symplicity.com>
To: "'Sadanapalli, Pradeep Kumar (MED,
TCS)'" <Pradeep.Sadanapalli@med.ge.com>,
linux-admin@vger.kernel.org
Subject: RE: Cron Job - GUI Application
Date: Fri, 28 Mar 2003 12:14:44 -0500 [thread overview]
Message-ID: <001301c2f54d$8710fe80$6501a8c0@frodo> (raw)
In-Reply-To: <2DE78F33FFE0D3118C0200508B94F9CA19420E89@uswaumsx08medge.med.ge.com>
Why did you put "sh" in there? Per the error message, 'sh' can not
execute the xcalc binary.
Further, aa.bb.cc.dd needs to be replaced by the ip address of your X
display server (or 127.0.0.1 if local). I.e.
*/10 * * * * root /usrX11R6/bin/xcalc -display 127.0.0.1:0
> -----Original Message-----
> From: Sadanapalli, Pradeep Kumar (MED, TCS)
> [mailto:Pradeep.Sadanapalli@med.ge.com]
> Sent: Friday, March 28, 2003 12:10 PM
> To: 'Alok K. Dhir'; linux-admin@vger.kernel.org
> Subject: RE: Cron Job - GUI Application
>
>
> It did not work. Again I am getting the same error message.
> Here is my crontab .
>
> ***crontab*****
>
> SHELL=/bin/bash PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
> HOME=/home/pradeep
>
> */10 * * * * root sh /usrX11R6/bin/xcalc -display aa.bb.cc.dd:0
>
> ****crontab****
>
> Now I am getting the below error message
> "/usr/X11R6/bin/xcalc: /usr/X11R6/bin/xcalc: cannot execute
> binary file"
>
> thanks
>
>
> -----Original Message-----
> From: Alok K. Dhir [mailto:adhir@symplicity.com]
> Sent: Friday, March 28, 2003 10:15 AM
> To: Sadanapalli, Pradeep Kumar (MED, TCS); linux-admin@vger.kernel.org
> Subject: RE: Cron Job - GUI Application
>
>
> Try specifying the "-display" parameter, and make sure that
> the permissions on your Xserver are configured properly.
>
> I.e.
>
> 10 2 * * * root /usr/X11R6/bin/xcalc -display a.b.c.d:0
>
>
> > -----Original Message-----
> > From: linux-admin-owner@vger.kernel.org
> > [mailto:linux-admin-owner@vger.kernel.org] On Behalf Of
> > Sadanapalli, Pradeep Kumar (MED, TCS)
> > Sent: Friday, March 28, 2003 10:59 AM
> > To: 'linux-admin@vger.kernel.org'
> > Subject: RE: Cron Job - GUI Application
> >
> >
> > I am sorry for this..in my earlier mail..I have mention the
> > error incorrectly.
> >
> > Here is what I am seeing as the error.
> >
> > "Error: Can't open display:"
> >
> > Thanks,
> > Pradeep
> >
> >
> > -----Original Message-----
> > From: Sadanapalli, Pradeep Kumar (MED, TCS)
> > Sent: Friday, March 28, 2003 9:49 AM
> > To: 'Jorge R . Csapo'; linux-admin@vger.kernel.org
> > Subject: Cron Job - GUI Application
> >
> >
> > Hi all,
> >
> > I am unable to schedule a GUI application to run using a cron
> > job. I am using RedHat Linux 8.0. below is my crontab
> >
> > <<crontab>>
> >
> > SHELL=/bin/bash
> > HOME=/home/pradeep
> >
> > 10 2 * * * root /usr/X11R6/bin/xcalc
> >
> > <<crontab>>
> >
> > It gives me an error message that " cron : Unable to connect
> > to X Server"
> >
> > Is it possible to do this? If so, help me out in doing this.
> > Thank you all in advance..
> >
> > Thanks,
> > Pradeep
> >
> >
> >
> > -----Original Message-----
> > From: Jorge R . Csapo [mailto:jorge@completo.com.br]
> > Sent: Tuesday, March 25, 2003 10:41 AM
> > To: linux-admin@vger.kernel.org
> > Subject: NIS and NFS
> >
> >
> > Hi all, I've been wrecking my brains over this one but I'm threading
> > water:
> >
> > I have a Linux-only network with one server and a number of
> > stations. The server's /home directory is exported and
> > mounted by the stations via NFS. The server also serves NIS
> > and the setup lets users log onto any one of the stations and
> > have the same /home/~user everywhere.
> >
> > My problem is that every user is 'root' at his/her own
> > station. Of course NFS has been configured not to grant
> > access to remote root users, but there's nothing to prevent
> > users from 'becoming' someone else with su and then the
> > NFS/NIS authentication scheme falls flat on its face.
> >
> > For instance:
> >
> > . User 'jdoe' logs onto his own station. He's authenticated
> > via NIS and mounts
> > /home from the server.
> > . jdoe then runs 'su' and becomes root.
> > . root runs 'su - jblow' and becomes jblow.
> > . jblow cds to /home/jblow...
> >
> > After going through man docs, howtos and google entries for
> > NIS, NFS and su and drawing a blank, I'd appreciate any and
> > all insights you people may have on the subject.
> >
> > TIA,
> >
> > --
> > Jorge R. Csapo
> > --------------------------------------------------
> > /"\
> > \ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
> > X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
> > / \
> > --------------------------------------------------
> > http://www.completo.com.br/~jorge
> > ===========================================
> > With a PC, I always felt limited
> > by the software available.
> > On Unix, I am limited only by my knowledge.
> > --Peter J. Schoenster
> > -
> > To unsubscribe from this list: send the line "unsubscribe
> > linux-admin" in the body of a message to
> > majordomo@vger.kernel.org More majordomo info at
> http://vger.kernel.org/majordomo-info.html
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-admin" in the body of a message to
> majordomo@vger.kernel.org More majordomo info at
http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2003-03-28 17:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-28 17:10 Cron Job - GUI Application Sadanapalli, Pradeep Kumar (MED, TCS)
2003-03-28 17:14 ` Alok K. Dhir [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-03-28 17:21 Sadanapalli, Pradeep Kumar (MED, TCS)
2003-03-28 15:59 Sadanapalli, Pradeep Kumar (MED, TCS)
2003-03-28 16:14 ` Alok K. Dhir
2003-03-28 15:49 Sadanapalli, Pradeep Kumar (MED, TCS)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001301c2f54d$8710fe80$6501a8c0@frodo' \
--to=adhir@symplicity.com \
--cc=Pradeep.Sadanapalli@med.ge.com \
--cc=linux-admin@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).