We took the
drsatch tip above and embellished it a bit. Be sure you complete your initial setup and testing before automating this...
First, create a
start-skype script in your root folder:
|
Code:
|
#!/bin/bash
Xvfb :0 &
export DISPLAY=:0
su root -c "skype &"
sleep 5
cd /siptosis
su root -c "./SipToSis_linux &" |
Second, make the script executable:
|
Code:
|
chmod +x /root/start-skype |
Third, add /root/start-skype to the end of your rc.local startup file and reboot:
|
Code:
|
echo "/root/start-skype" >> /etc/rc.d/rc.local
reboot |