[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-xnee] can't get cnee to work into a cron
From: |
Casper |
Subject: |
Re: [Bug-xnee] can't get cnee to work into a cron |
Date: |
Mon, 20 May 2013 11:35:05 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Bzzz a écrit :
> On Mon, 20 May 2013 07:32:34 +0200
> Casper <address@hidden> wrote:
>
>
> > Type "echo $DISPLAY" in a termimal.
> > Here it return ":0"
> > So I should add "DISPLAY=:0" before the cnee command in the cron entry
>
> Hi Matthieu,
>
> OK, the msg has changed:
> Error: Could not open the display
> Solution: Make sure you have given a correct display name and that you
> have permissions to open it
> xnee: unable to open display ":0.0"
>
> I don't understand, ~/ICEauthority is the same for root (that run the
> cron) and my only user, and I can "su -" without any problem into X :(
Maybe there are some missing environment variables... I think you'd
better to put this cnee command in your user crontab :)
--
Pour encrypter vos emails
Clef GPG ID : 83288189 @ hkp://pgp.mit.edu:11371
Empreinte : CC26 692F 5205 AC8F 7912 7783 D7A7 F4C5 8328 8189
pgpYq7jMj0dqz.pgp
Description: PGP signature