I am trying to open up 2 separate Chromium windows using /.config/lxsession/LXDE-pi/autostart. I am able to open both urls when adding two lines but they open in the same browser as two tabs. I would like to open them in two separate windows. Is this possible?
Posting this here so hopefully it will help others.
After a bit of digging I found out the tricks to get this working.
First in Chromium you need to create a new user, (doesn't matter what it's called).
Then when editing /etc/xdg/lxsession/LXDE-pi/autostart
Use the following
@xset s off @xset -dpms @xset s noblank @chromium-browser --new-window --start-fullscreen http://google.com --window-position=0,0 --user-data-dir=Default --start-fullscreen @chromium-browser --new-window --start-fullscreen http://bbc.co.uk --window-position=0,0 --user-data-dir='Profile 1' --start-fullscreen
Note the --user-data-dir setting and the --window-position setting, basically you need to treat the two screens as one big screen.