are two steps here: logging in to your user's desktop automatically, and running a program after logging in. The first is achieved in Ubuntu 8.10 by selecting the option to automatically log your user in during installation. If you have an earlier Ubuntu or you have already installed 8.10, you can set this option by running System &gt; Administration &gt; Login Window, go to the Security tab, tick Enable Automatic Login and select the user you want logged in. Gnome will start any program you tell it to when it starts up. Go to System &gt; Preferences &gt; Sessions, press Add and type the command you want to run, along with a name and description. To start VMware Workstation with a particular virtual machine, use &lt;command&gt; vmware -X /path/to/virtualmachine.vmx &lt;/command&gt; Where -X tells VMware to both start the virtual machine and switch to full-screen mode and the rest is the path to the .vmx file for the virtual machine. If you're using VMplayer, replace vmware with vmplayer in the above command. If you use VMware-server, you need to make sure that the server is running at startup (use the Ubuntu session manager for this), and then use vmrun to start the virtual machine.&lt;/answer&gt; == So: Remove unnecessary line breaks, but keep paragraph breaks Remove any names and the question number Put the title, question and answer in little XML markers Mark any code or command using &lt;command&gt; Once we have it all in XML, it's a cinch for us to