Re: AdvMenu on Linux Boot

"John W. Cocula" <[email protected]>
Newsgroups gmane.comp.games.mame.advancemame.user
Message-ID <[email protected]>
Here is an alternate approach that doesn't involve X:

1. In /etc/inittab, change the runlevel to 3, so X does not start on boot.

2. Also in /etc/inittab, add --autologin <user> to the first mingetty
line, to have the user <user> login on bootup.

3. Add/modify that user's ~/.bashrc file to start advmenu on login.  If
you can get fancy, you can only start advmenu if the user is logged into
psuedotty 1, so that user can login to other consoles without starting
advmenu.

This has the advantage of avoiding the weight of X on the system, and is
probably faster.

Hope this helps!

John



> It's definately possible. I've got it set up and running just fine.
> Unfortunately, I can't give you detailed instructions right now since
> I'm not at home.  But, to get you started:
>
> Install X (hopefully already done)
> log in as the user you're going to use to play games with
> edit (or create) the .xinitrc file so it's first line is:
>
> enlightenment advmenu
>
> (I use enlightenment as a window manager.. you could use ratpoison or
> something completely different)
>
> from the commandline type:
> startx
>
> and it should load into X and start AdvMenu right away.
>
> The next thing you need to do is make the system boot into X as that
> user.  I don't recall how I did this right off hand, but I believe you
> need to set your startup runlevel to 5 (graphical startup).  Beyond
> that, you'll probably need to configure a graphical login manager
> (xdm, gdm, kdm, etc.) to automatically log in the user you want to run
> your games as.
>
> Hope this at least gives you a starting point.
>
> --Phill W.
>
> On 5/8/05, Christopher Allmark <[email protected]> wrote:
>> Hi,
>>
>> I'm planning on switching from DOS across to LINUX on my cabinet and I
>> was
>> wondering if anyone can answer a dumb question for me... Can I make
>> ADVMENU
>> load on startup without having to log in? Does anyone have any example
>> GRUB
>> start up menus that they use on their cab?
>>
>> Thanks,
>>
>> Chris
>>
>> _________________________________________________________________
>> It's fast, it's easy and it's free. Get MSN Messenger 7.0 today!
>> http://messenger.msn.co.uk
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by: NEC IT Guy Games.
>> Get your fingers limbered up and give it your best shot. 4 great events,
>> 4
>> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
>> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
>> ___
>> Unsubscribe at
>> https://lists.sourceforge.net/lists/listinfo/advancemame-users
>>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_ids93&alloc_id281&opÌk
> ___
> Unsubscribe at
> https://lists.sourceforge.net/lists/listinfo/advancemame-users
>





-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_ids93&alloc_id281&op=click
___
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/advancemame-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.