< NEW >
My apologies, I didn't explain my goal very well.
I want to automatically "log onto" and start running any given program under a user account in Ubuntu. I guess this has very little to do with EC2 in particular.
For example, in windows server 2008, when I:
- follow these steps http://support.microsoft.com/kb/315231 to automatically log in a user
- add Firefox (or any program) to the windows users' start-up folder
- re-bundle the image
Running an instance of the re-bundled image virtually starts Firefox.
How can I accomplish this one simple task in Ubuntu?
And no, you cannot access a windows account that is automatically logged-in via the internet. You would still always need the password to view the user's desktop.
< / NEW >
< OLD >
I have finally created, registered, and ran my first AMI, and it starts up beautifully!
It is a slightly modified version of Eric's 8.04 Hardy w/NX Free Edition found here: http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1428&categoryID=208
I have also followed instructions according to the official ubuntu page on enabling automatic login: https://help.ubuntu.com/community/AutoLogin
Along with adding firefox to the list of startup programs; I have firefox set to the official US government's time page so I know exactly what time it starts.
HOWEVER , firefox only starts when I login via my NX client - it doesn't start when I reboot the instance - which leads me to believe the automatic login function on ubuntu is not working.
How can I automatically login to ubuntu's gnome desktop and run firefox on an Amazon EC2 AMI Image? < / OLD >