UbuntuMAME - Auto-Login and Auto-Start

From JTSageWiki

Revision as of 19:19, 12 February 2008 by Richard.krone (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Contents

[edit] Auto-Login

There exists a mini-tty that will allow us to automatically login, without a password. Install mingetty:

 mame@mame-machine:~$ sudo apt-get install mingetty

Then, we need to make sure that it runs on the first tty. Edit the file /etc/event.d/tty - Fine the line:

   respawn /sbin/getty 38400 tty1

Comment that line, and add:

   respawn /sbin/mingetty --autologin mame tty1

Then, restart the tty - from a different tty - press ALT+F2 and login, then:

 mame@mame-machine:~$ sudo stop tty1
 mame@mame-machine:~$ sudo start tty1

Switching back to tty1 should show that you have auto-logged-in.

[edit] Auto-Start

Next, edit ~/bashrc file and add at the end:

   tty | grep tty1 && advmenu

Rebooting should find you inside the menu system automatically, and we are done with the arcade system.

[edit] Next Step

UbuntuMAME - Adding NES and Atari2600

[edit] Other Steps

   1.)  UbuntuMAME - Overview
   2.)  UbuntuMAME - Base System Install
   3.)  UbuntuMAME - Video Drivers
   4.)  UbuntuMAME - Clean-Up and Networking
   5.)  UbuntuMAME - Build and Install
   6.)  UbuntuMAME - Initial Configuration and Testing
   7.)  UbuntuMAME - Fine Tune Advance Configurations
   8.)  UbuntuMAME - Auto-Login and Auto-Start
   9.)  UbuntuMAME - Adding NES and Atari2600
   10.) UbuntuMAME - Adding a Light Gun
   11.) UbubtuMAME - Adding a Jukebox System
   12.) UbubtuMAME - Support Files for MAME - MESS