Re: My ip-ip.d directory not executed
HI,
I ran into similar problems fortunately i had had some trouble with junkbuster ( one
way of looking at it <grin>) and remembered seeing the following in the
"/etc/init.d/junkbuster"
startup script
"su nobody -c <command>"
so i tried this
"su myself -c <proggy to launch>"
and found it complained about not knowing where the X display was
so i set "DISPLAY=:0" ( in the script i set up for it ) and tried again and it worked
fine.
Im just wondering - wouldnt it be an idea to have the DISPLAY variable set when X is
launched. ( And yes i know its possible to run multiple X servers but id assume those
able to set that up would figure the rest out easily, me im just learning to crawl in
linux >;0) )
Cheers
Daniel Mashao wrote:
> On 23 Mar 1999, John Hasler wrote:
>
> > Daniel Mashao writes:
> > > Is there any way to send the output of pppd to a file so I can debug what
> > > is happenning.
> >
> > Sure. Put this in your script:
> >
> > echo Running > /etc/ppp/running
> >
> > and the string 'Running' will appear in the file /etc/ppp/running if the
> > script executes.
> Thanks I did all these tests and indeed the scripts are running. I still
> have to figure out how to have xnetload to load immediately after pppd
> starts. It seems to be a problem with the display settings and path.
>
> /------------------------------------------------------------------------------/
> Daniel J. Mashao
> Electrical Engineering daniel@comgate.ee.uct.ac.za
> University of Cape Town http://www.ee.uct.ac.za/~daniel
> Rondebosch, 7700, S. Africa (w) 27+21+650 2816 (h) 27+21+705 8469
> /------------------------------------------------------------------------------/
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
Reply to: