[SLE] crontab script has X server problem

SuseUser9X_at_aol.com
Date: 09/23/04

  • Next message: Sid Boyce: "Re: [SLE] umax 2100u?"
    Date: Thu, 23 Sep 2004 08:03:20 EDT
    To: suse-linux-e@suse.com
    
    

    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 -----


  • Next message: Sid Boyce: "Re: [SLE] umax 2100u?"

    Relevant Pages

    • Re: .Popup method in logon script in Vista
      ... Let the popup come up as per settings aka 'backward to win32'. ... time-out of 0 seconds will display. ... logon script time-out), and does not display on Vista. ...
      (microsoft.public.scripting.wsh)
    • RE: Firefox not displaying popup correctly
      ... As for the popup window, it seems use script to create div or table and ... popup component retrieve certain information in the xhtml page (through ... I've tried the following simple script handler which will not ... Now if I change the DOCTYPE to HTML instead of XHTML then it display ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Postback problem
      ... ur script for popup on click event instead of Page_Load event. ... binding this script code in ItemDataBound this might solve ur problem. ... datagrid to display user records. ... view an images which is displayed in a separate popup window. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: [SLE] crontab script has X server problem
      ... > I have a script running thru crontab that calls a QT popup ... The popup does not display on the ... > The crontab is being executed from root. ...
      (SuSE)
    • Re: [SLE] crontab script has X server problem
      ... I have the export $DISPLAY:1.0 in the script. ... SuseUser9X wrote regarding 'crontab script has X server problem' on ... The popup does not display on the ... > It displays fine on the user console if, as root, I execute the ...
      (SuSE)