delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/20/04:21:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Wed, 20 Aug 2003 10:20:10 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: change wallpaper periodly by cron?
Message-ID: <20030820082010.GB12392@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20030820140025 DOT 325F DOT LUCIFER AT tsinghua DOT org DOT cn>
Mime-Version: 1.0
In-Reply-To: <20030820140025.325F.LUCIFER@tsinghua.org.cn>
User-Agent: Mutt/1.4.1i

On Wed, Aug 20, 2003 at 02:12:52PM +0800, Lucifer wrote:
> I wrote a simple program to change my desktop wallpaper:
> [...]
> It works well when I run it under cygwin console: the wallpaper changes
> successfully.
> 
> However, when I put it in my crontab (I want to change my desktop
> apperance periodly :p), the wallpaper doesn't change.  The log read:
> "Error: 1459", which means "This operation requires an interactive
> window station."
> 
> Is this a limitation of cron?  How can I resolve it?  Thanks in advance.

It's a limitation of service processes.  You can only change it by setting
the "Allow service to interact with desktop" property of the service.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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

- Raw text -


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