Mailinglist Archive: opensuse (3996 mails)

< Previous Next >
crontab script has X server problem
  • From: SuseUser9X@xxxxxxx
  • Date: Thu, 23 Sep 2004 08:03:20 EDT
  • Message-id: <142.34aaa638.2e841588@xxxxxxx>
I have a script running thru crontab that calls a QT popup
(named shutdown_warning). The popup does not display on the
screen and the error received is:

shutdown_warning: cannot connect to X server

The script calls "shutdown_warning" from roots home directory.
The crontab is being executed from root.

It displays fine on the user console if, as root, I execute the
script and export $DISPLAY:1.0

I need this popup to display on the user console and all
remote console connections.

Any help would be appreciated.

Thanks -----
< Previous Next >
Follow Ups