How do I get GUI Apps to run from crontab under XFce 4.4.2?

Todd and Margo Chester ToddAndMargo at verizon.net
Sat Oct 25 02:02:59 CEST 2008


Erik Harrison wrote:

>> It looks like it is trying to start, but doesn't finish. I think it
>> is not finding Todd's XFce 4.4.2?
> 
> I dunno anything about Virtual Box, but I would guess it can't connect
> to X because it doesn't know the display. If Virtual Box supports
> something like --display you could use that, or just manually set
> $DISPLAY in your shell script.
> 

Thank you for the help!

I go to the customer's site next Wednesday or Thursday.
I will try something like this:

      DISPLAY=:0.0
      export DISPLAY
      EchoAll "Restarting VirtualXP"
      EchoAll "su todd  -c /usr/bin/VBoxManage startvm VirtualXP"
      EchoAll "`su todd  -c "/usr/bin/VBoxManage startvm VirtualXP"`"
      EchoAll " "

I will report back my results.

-T



More information about the Xfce mailing list