How do I automatically run Firefox on an Ubuntu Server inside the Amazon EC2 cloud as soon as the server starts up?
I know how to create my own AMIs and all that jazz. I just need to know how to auto-start firefox.
The Ubuntu Edition is 8.04 Hardy. The server environment is Amazon EC2.
Well, you could add the line
/usr/bin/firefox &
to the file
/etc/rc.local
That's the literal answer. Whether that does anything useful, well....
Judging from the comments to the original question, and you just want some sort of GUI, isn't vnc-server the obvious solution?
Would an init.d script launching gnome-session as the user who has firefox as a startup program work?
If you are using gnome. system > preferences > start up applications
add firefox and it will start with that session every time you login. Just like windows.