Firefox at startup in multiple x sessions
Running Ubuntu 10.04 and using dual displays as separate x sessions. I need to launch Firefox as a kiosk (using r-kiosk) on each of the two displays at startup. I can launch each one manually by running from terminal:
DISPLAY=:0.1 firefox -P "profile1" -no-remote "local_filename1"
and in a separate terminal
DISPLAY=:0.0 firefox -P "profile2" -no-remote "local_filename2"
This does exactly what I need it to do, however if I try and add these as command to Startup Applications neither one launches at all. I tried adding them to /etc/rc.local, and neither launches. I tried using
firefox -display 0.1 ...
and
firefox -display :0.1 ...
but neither of those seem to work either.
Basically I need to launch two separate instances of Firefox, one in each session every time the machine boots. Is there somewhere else I can add the lines that start with DISPLAY= so that it will run it the same way it runs in terminal?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu firefox Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Mike Wszalek
- Solved:
- Last query:
- Last reply: