[kde-linux] kppp and cron
Marc.Rosenthal at ec.gc.ca
Mon Dec 11 22:30:28 UTC 2006
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
> kppp: cannot connect to X server :0
> I've even tried using "xhost +" command from within the script but
> seems to work.
The xhost command needs to be executed from within the X session.
Thanks Kevin, but point is I'm not executing this script from within an X
session but rather from root's cron.
In fact, I don't even care if X is running but obviously kppp does and
hence that seems to be my problem.
I really just wanted to be able to run "kppp -c PPP_ACCOUNT" automatically
without having to deal with any X issues.
More information about the kde-linux