Sign in with
Sign up | Sign in
Your question

need help with smooth boot under xmame

Last response: in Video Games
Share
Anonymous
June 4, 2005 7:42:50 PM

Archived from groups: alt.games.mame (More info?)

Hi all,

I am now running Linux and Xmame. I built Xmame with full screen
support and it is working pretty well. My primary problem right now is
that I want to boot up the machine and directly in to the front-end
program without having to log in to Linux. Advice?

Here is my current mode and thinking. I can boot the machine and I get
the red hat GUI login prompt. At this point I and thinking that X
windows is running. True? Or is the GUI getty program not X windows,
per se, and XWindows starts after I log in?

I also believe that I need XWindows running in order to run xmame in
full screen mode. Someone please correct me if the X server does not
need to be running in order to launch Xmame in full screen mode.

So I tried to start my front end program by modifying
/etc/rc5.d/S99local and invoking my front end at the end of the script.
This did not work. Though I am launching the front end late in the
daemon startup sequence this is probably failing because X starts even
later. True?

What's the best way to hook into X at boot and skip login?

Thanks,
John

More about : smooth boot xmame

Anonymous
June 4, 2005 7:42:51 PM

Archived from groups: alt.games.mame (More info?)

John Leveille wrote on 04. June 2005:
>
> I am now running Linux and Xmame. I built Xmame with full screen
> support and it is working pretty well. My primary problem right now
> is that I want to boot up the machine and directly in to the front-end
> program without having to log in to Linux. Advice?

You can often use an option your distribution offers (system
administration), or do it manually with mingetty. I found this:

,----[ http://www.linuxgazette.com/issue27/kodis.html ]
| Here's the description of the autologin feature that I've added to the
| mingetty.8 man page:
|
| --autologin username Log the specified user onto the console
| (normally /dev/tty1) when the system is first booted without
| prompting for a username or password.
|
| When the autologin option is supplied, mingetty will check that the
| controlling terminal is the console (normally /dev/tty1), that a
| reasonable username has been supplied, and that this is the first
| autologin request since the system has booted. If all of these
| conditions have been met, a request for an unauthenticated login is
| passed to the login program. Otherwise, a normal interactive login
| is performed.
`----

> Here is my current mode and thinking. I can boot the machine and I
> get the red hat GUI login prompt. At this point I and thinking that X
> windows

It's "Xwindow", without "s". :-)

> is running. True? Or is the GUI getty program not X windows,
> per se, and XWindows starts after I log in?

If you like you can use the svgalib version of xmame. Then you don't need
to start Xwindow. May be there is no frontend available for it.

> I also believe that I need XWindows running in order to run xmame in
> full screen mode. Someone please correct me if the X server does not
> need to be running in order to launch Xmame in full screen mode.

No, xmame.svgalib is also (can only) running in full screen. I don't know
if you have the svgalib version, and most distributions don't offer
this. I compiled it myself.
--
By(e) Andreas
U w4nt r0meZ? <http://www.lazarus.org.uk/&gt;
Old school arcade classics at http://www.tombstones.org.uk/~ankman/
Linux without installation? http://www.knopper.net/knoppix/index-en.html
OE user? Ease the pain and try the better newsreader http://xnews.newsguy.com/
Registered as user #289125 with the Linux Counter http://counter.li.org/
Anonymous
June 4, 2005 9:56:05 PM

Archived from groups: alt.games.mame (More info?)

John Leveille's last words before the Sword of Azrial plunged through his
body were:
> Hi all,
> I am now running Linux and Xmame. I built Xmame with full screen
> support and it is working pretty well. My primary problem right now is
> that I want to boot up the machine and directly in to the front-end
> program without having to log in to Linux. Advice?
> Here is my current mode and thinking. I can boot the machine and I get
> the red hat GUI login prompt. At this point I and thinking that X
> windows is running. True? Or is the GUI getty program not X windows,
> per se, and XWindows starts after I log in?

The X server has started, but not the window manager. the login manager
handles making sure no one that shouldnt be is using the machine, and also
handles loading the window manager with the specs of each user. It is
possible to strip down to a more single user mode.

> I also believe that I need XWindows running in order to run xmame in
> full screen mode. Someone please correct me if the X server does not
> need to be running in order to launch Xmame in full screen mode.

There is a SVGA version of XMAME you could use instead of relying on X11.

> So I tried to start my front end program by modifying
> /etc/rc5.d/S99local and invoking my front end at the end of the script.
> This did not work. Though I am launching the front end late in the
> daemon startup sequence this is probably failing because X starts even
> later. True?

No, more likely the utility for logging in loads first.
Related resources
Anonymous
June 4, 2005 10:18:38 PM

Archived from groups: alt.games.mame (More info?)

Andreas Kohlbach wrote:
> John Leveille wrote on 04. June 2005:
>
>>I am now running Linux and Xmame. I built Xmame with full screen
>>support and it is working pretty well. My primary problem right now
>>is that I want to boot up the machine and directly in to the front-end
>>program without having to log in to Linux. Advice?
>
>
> You can often use an option your distribution offers (system
> administration), or do it manually with mingetty. I found this:
>
> ,----[ http://www.linuxgazette.com/issue27/kodis.html ]
> | Here's the description of the autologin feature that I've added to the
> | mingetty.8 man page:
> |
> | --autologin username Log the specified user onto the console
> | (normally /dev/tty1) when the system is first booted without
> | prompting for a username or password.
> |
> | When the autologin option is supplied, mingetty will check that the
> | controlling terminal is the console (normally /dev/tty1), that a
> | reasonable username has been supplied, and that this is the first
> | autologin request since the system has booted. If all of these
> | conditions have been met, a request for an unauthenticated login is
> | passed to the login program. Otherwise, a normal interactive login
> | is performed.
> `----
>
>
>>Here is my current mode and thinking. I can boot the machine and I
>>get the red hat GUI login prompt. At this point I and thinking that X
>>windows
>
>
> It's "Xwindow", without "s". :-)
>
>
>>is running. True? Or is the GUI getty program not X windows,
>>per se, and XWindows starts after I log in?
>
>
> If you like you can use the svgalib version of xmame. Then you don't need
> to start Xwindow. May be there is no frontend available for it.
>
>
>>I also believe that I need XWindows running in order to run xmame in
>>full screen mode. Someone please correct me if the X server does not
>>need to be running in order to launch Xmame in full screen mode.
>
>
> No, xmame.svgalib is also (can only) running in full screen. I don't know
> if you have the svgalib version, and most distributions don't offer
> this. I compiled it myself.
Great advice. I will try building svgalib. This is more like what I
want anyway. Didn't need XWindow for anything -- just *thought* I
needed it.

John
Anonymous
June 4, 2005 10:19:07 PM

Archived from groups: alt.games.mame (More info?)

Andreas Kohlbach wrote:
> John Leveille wrote on 04. June 2005:
>
>>I am now running Linux and Xmame. I built Xmame with full screen
>>support and it is working pretty well. My primary problem right now
>>is that I want to boot up the machine and directly in to the front-end
>>program without having to log in to Linux. Advice?
>
>
> You can often use an option your distribution offers (system
> administration), or do it manually with mingetty. I found this:
>
> ,----[ http://www.linuxgazette.com/issue27/kodis.html ]
> | Here's the description of the autologin feature that I've added to the
> | mingetty.8 man page:
> |
> | --autologin username Log the specified user onto the console
> | (normally /dev/tty1) when the system is first booted without
> | prompting for a username or password.
> |
> | When the autologin option is supplied, mingetty will check that the
> | controlling terminal is the console (normally /dev/tty1), that a
> | reasonable username has been supplied, and that this is the first
> | autologin request since the system has booted. If all of these
> | conditions have been met, a request for an unauthenticated login is
> | passed to the login program. Otherwise, a normal interactive login
> | is performed.
> `----
>
>
>>Here is my current mode and thinking. I can boot the machine and I
>>get the red hat GUI login prompt. At this point I and thinking that X
>>windows
>
>
> It's "Xwindow", without "s". :-)
>
>
>>is running. True? Or is the GUI getty program not X windows,
>>per se, and XWindows starts after I log in?
>
>
> If you like you can use the svgalib version of xmame. Then you don't need
> to start Xwindow. May be there is no frontend available for it.
>
>
>>I also believe that I need XWindows running in order to run xmame in
>>full screen mode. Someone please correct me if the X server does not
>>need to be running in order to launch Xmame in full screen mode.
>
>
> No, xmame.svgalib is also (can only) running in full screen. I don't know
> if you have the svgalib version, and most distributions don't offer
> this. I compiled it myself.
Great advice. I will try building svgalib. This is more like what I
want anyway. Didn't need XWindow for anything -- just *thought* I
needed it.

John
!