Jump to content

Recommended Posts

Posted

Hi all

 

I've been sorting out a UDP program on a RPi recently and it now works fine. Therefore I need to set the Pi up so that the script is run when the User logs in.

 

I've been looking on the WWW an dhence have tried creating several file and adding the following lines to them

python /home/pi/webudp.py

but it won't start

 

the files that I have created are rc.local - under /etc

and .bash_profile and .bash_login under the login folder

 

all seem to have no effect

I have also made sure that all these files have general rwx permissions - but still no help

 

There seem to be about a million ways of doing this - which is confusing so I thought I better look for help

 

and ideas or recommendations would be gratefully received

 

thanks

 

mike

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...