Context:
I'm trying to setup a kiosk system for a museum on a Raspberry Pi2 (Broadcomm )
The system was built upon ArchArm distribution
I installed a python browser called "wcgbrowser". https://aur.archlinux.org/packages/wcgbrowser-git/
This browser seems to be solely developed for use in kiosk-environments.
I left out any window manager with the purpose to use as low system-resources as possible. I only installed Xorg.
The wcgbrowser is fired from the last line within the .xinitrc file located in the home directory of the default raspberry user "alarmpi".
$this->bbcode_second_pass_code('', 'python browser.py -l http://www.example.com -fullscreen')
Furthermore I have to take into accout, that the kiosk system has to use a wireless dongle. Networking therefore, is provided by wifi and not by a cable connection.
So I decided to use 'wicd' as network manager. I enabled the service as root $this->bbcode_second_pass_code('', 'systemctl enable wicd')
I disabled netctl and dhcpcd $this->bbcode_second_pass_code('', 'systemctl disable dhcpcd') and $this->bbcode_second_pass_code('', 'systemctl disable netctl'), because I learned that multiple networking daemons could interfere each other.
Problem:
Every time I boot the system, The browser tells me there is a network problem "Could not reach http://www.example.com"
However when I restart the browser, loading http://www.example.com works fine.
Of course I rather would leave out restarting the browser.
Conclusion:
I suppose that the browser is executed before a working networking connection could initiate.
Question:
Is there a way to start the browser after network setup succeeded?