Thanks for your inputs, but I figured it all out. Thank heavens for google. I wrote a bash script which checks for a connection to my phone. Then, I made that script executable and placed it in cron.
Problem solved now my phone automatically asks me to start the desktop remote feature every 20 minutes through the power of cron.
Here is the script:
#script to switch bluetooth phone to hci-mode
#Now we start the connection from the linux machine, no need to press any
#button on the hardware...
hidd --connect 00:12:EE:47:5A:92
Then, the cron job:
20 * * * * /home/ai/./k700.sh
That's all! No passwords needed. I did have to put the cron job in as root though, which is probably why I don't need a password.
Long live the penguin!
Last edited by trox; 10-14-2007 at 12:54 PM.