delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/02/10:26:20

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4BDD8B43.5050102@gmx.net>
Date: Sun, 02 May 2010 16:25:07 +0200
From: =?ISO-8859-1?Q?Johannes_M=FCller?= <dersinndeslebenz AT gmx DOT net>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: cron visual output looks funny
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi,

I installed and use cron on windows xp using cygwin. It works fine for 
non-GUI applications, but for instance notepad does not seem to start at 
all. And a popup-window-script I wrote in python does appear and react 
to userinput, but is not displayed correctly, as I can not see a button 
on the window (although it fires the associated action, when being 
pressed). I configured the cron service to be able to interact with the 
desktop and tried to find an answer to my question on the 
net/FAQ/Mailinglist but could not find more than the hint to somehow 
configure the environment for cron. I set "DISPLAY=:0" as it is 
suggested in the ubuntu-wiki to start GUI-apps from cron. I also used a 
system-owned-shell to install cron with cron-config, but this did not 
seem to work out:
"""
The group membership of your cron table file should be ADMINISTRATORS.
Here is your cron table file listing:
-rw-r----- 1 SYSTEM Administratoren 332 2010-05-02 14:05 
/var/cron/tabs/SYSTEM
This rule does not apply if the daemon runs with nontsec.
You can change the group membership setting with:
          chgrp 0 /var/cron/tabs/SYSTEM
Please change your cron table's group membership.
"""
So my question is, how do I configure cygwin and cron, so that cron can 
start and display GUI-applications correctly?

Sorry if I understood something wrong and annoy you, but I am new to 
cygwin and cron and I really tried to solve the problem by myself for 
quite some time.

I appreciate your help,
Johannes Müller

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019