On 14 Jan 2009, at 11:48, LinHai wrote:

why the VDR-PC can't auto run runvdrbut after I logined the VDR-PC,press the command:/etc/inti.d/runvdr startthe vdr running is OK?

Probably some environment variables are not set. Try putting this line in your script and compare the output with when running as a real user;

set > /tmp/env

You probably just need to have environment settings for USER, HOME and PATH set properly.

-- 
Torgeir Veimo