[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde
Subject:    Re: Starting a KDE application through Cron
From:       Henry Stern <stern () cs ! dal ! ca>
Date:       1999-10-07 23:22:52
[Download RAW message or body]

Have you tried kmp3 -display :0?

On Thu, 07 Oct 1999, Ralph Pickering wrote:
>This was just the ticket. It also runs x11amp and kmp3. 
>
>Thanks to all who offered suggestions. The command line suggestion worked, but
>makes switching the bugger off more difficult when you're bleary-eyed from a
>late night in front of the PC. The display and xhost suggestions might work
>with a bit more head scratching (and I am going to persist if only to satisfy
>my curiosity)
>
>It really is a bizarre thing - the script would run from another text console,
>and even from another machine via telnet (causing kmp3 to come up on the
>intended machine), but only cron would fail with a "could not connect to X
>server". I'll post the solution here for anyone who's interested when I find it.
>
>-- 
>"The love of Microsoft is the root of all evil"
> 	   Ralph's Gospel Ch 1 v 54
>--
>
>On Wed, 06 Oct 1999, Arthur H. Johnson II wrote:
>> There is a nice little program called Vigmeup.  It runs mpg123 as an alarm
>> clock.
>> 
>> http://www.linuxberg.com/x11html/mul_mp3.html#vigmeup
>> 
>> 
>> On Tue, 05 Oct 1999, Ralph Pickering wrote:
>> > I have been trying to get kmp3 to run using a crontab entry and a simple
>> > script. The script runs perfectly when I call it from an X Terminal, or by
>> > clicking the script file, but if cron calls it, the error I get is that it
>> > "cannot connect to X server". I tried X11amp as well, but it came up with a
>> > similar gtk error. I also thought kstart might do the business, but
>> > unfortunately it does the same thing.
>> > 
>> > I have spent days searching the net without success, so I am hoping someone
>> > here can help. I am sure all I need is something after the command to tell it
>> > to use the default X display.
>> > 
>> > For what its worth I am running Redhat 6, with KDE 1.1.2 which starts by
>> > default at runlevel 5. X is xfree86 version 3.3.2 (I think). 
>> > 
>> >  -- 
>> > 
>> > 	"The love of Microsoft is the root of all evil"
>> > 	 	   Ralph's Gospel Ch 1 v 54
>> > -- 
>> > Send posts to:  kde@lists.netcentral.net
>> >  Send all commands to:  kde-request@lists.netcentral.net
>> >   Put your command in the SUBJECT of the message:
>> >    "subscribe", "unsubscribe", "set digest on", or "set digest off"
>> > PLEASE READ THE ARCHIVED MESSAGES AT http://lists.kde.org/ BEFORE POSTING
>> > **********************************************************************
>> > This list is from your pals at NetCentral <http://www.netcentral.net/>
>> -- 
>> Arthur H. Johnson II
>> http://www.linuxberg.com
>> Linuxberg Manager
>> arthur@tucows.com
>> --
>> "Beware of the man who works hard to learn something, learns it, and
>> finds himself no wiser than before," Bokonon tells us.  "He is full of
>> murderous resentment of people who are ignorant without having come by
>> their ignorance the hard way."
>> 		-- Kurt Vonnegut, "Cat's Cradle"
>> -- 
>> Send posts to:  kde@lists.netcentral.net
>>  Send all commands to:  kde-request@lists.netcentral.net
>>   Put your command in the SUBJECT of the message:
>>    "subscribe", "unsubscribe", "set digest on", or "set digest off"
>> PLEASE READ THE ARCHIVED MESSAGES AT http://lists.kde.org/ BEFORE POSTING
>> **********************************************************************
>> This list is from your pals at NetCentral <http://www.netcentral.net/>
>-- 
>Send posts to:  kde@lists.netcentral.net
> Send all commands to:  kde-request@lists.netcentral.net
>  Put your command in the SUBJECT of the message:
>   "subscribe", "unsubscribe", "set digest on", or "set digest off"
>PLEASE READ THE ARCHIVED MESSAGES AT http://lists.kde.org/ BEFORE POSTING
>**********************************************************************
>This list is from your pals at NetCentral <http://www.netcentral.net/>
-- 
Send posts to:  kde@lists.netcentral.net
 Send all commands to:  kde-request@lists.netcentral.net
  Put your command in the SUBJECT of the message:
   "subscribe", "unsubscribe", "set digest on", or "set digest off"
PLEASE READ THE ARCHIVED MESSAGES AT http://lists.kde.org/ BEFORE POSTING
**********************************************************************
This list is from your pals at NetCentral <http://www.netcentral.net/>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic