Experienced the same issue. Here are my findings:
Check if the /home/pi/.config/lxsession/LXDE-pi/autostart
file exists. If it exists, it will be used instead of /etc/xdg/lxsession/LXDE-pi/autostart
.
View logs (after reboot) in /home/pi/.xsession-errors
:
$ cat .xsession-errors
Xsession: X session started for pi at Sat 30 Jul 23:14:04 UTC 2016
localuser:pi being added to access control list
** Message: main.vala:99: Session is LXDE-pi
** Message: main.vala:100: DE is LXDE
** Message: main.vala:131: log directory: /home/pi/.cache/lxsession/LXDE-pi
** Message: main.vala:132: log path: /home/pi/.cache/lxsession/LXDE-pi/run.log
This suggest looking at /home/pi/.cache/lxsession/LXDE-pi/run.log
:
$ tail -n30 /home/pi/.cache/lxsession/LXDE-pi/run.log
...
** (epiphany-browser:874): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
--profile must be an existing directory when --application-mode is requested
** Message: app.vala:130: /usr/bin/epiphany-browser exit with this type of exit: 256
...
So I tested the command manually in the terminal (in the GUI). I got some errors:
$ /usr/bin/epiphany-browser -a --profile ~/.config https~://google.de
** (epiphany-browser:1218): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
** Message: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
** (epiphany-browser:1218): WARNING **: Error caching form data: The name org.freedesktop.secrets was not provided by any .service files
But the browser started anyway...
Played with the /usr/bin/epiphany-browser
command and reduced it to /usr/bin/epiphany-browser --profile ~/.config https://google.de
.
Then changed the /home/pi/.config/lxsession/LXDE-pi/autostart
lines to:
@/usr/bin/epiphany-browser --profile ~/.config https://google.de
And it worked - the browser started.
Tested on: