1. Put the cursor in the background using the mouse. An "X" should appear.
2. With the left mouse button pressed down, select "Exit" and click.
3. On the next menu, select "Yes, Really Quit".
Now, you are logged out of the machine.