Tom's Hardware Forums » Games General » Games General Discussions » need help with smooth boot under xmame
 

need help with smooth boot under xmame

Add a reply



 Word :   Username :  
 
Bottom
Author
 Thread : need help with smooth boot under xmame
 
More Information

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

Related Pr oduct
Register or log in to remove.

More Information

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.

More Information

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/>
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/

More Information

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

More Information

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


Go to:
Add a reply
  Tom's Hardware Forums » Games General » Games General Discussions » need help with smooth boot under xmame
 

Google Ads
Ad
News

Apple releases Boot Camp beta update

Published on August 16, 2006

Apple today released version 1.1 beta of its Boot Camp software that allows Apple users to run MacOS X side by side with Windows XP on an Intel-based Mac. Read more

Atmel And Phoenix Technologies Partner On Pre-boot Biometrics

Published on March 05, 2008

Atmel and Phoenix Technologies announced the integration of Atmel's FingerChip biometric security solutions in Phoenix's FailSafe and SecureCore pre-boot Authentication (PBA) products. Read more

Intel offers Robson's choice to cut boot-up time, battery consumption

Published on October 18, 2005

Fast-paced executives and impatient souls might be happy to hear this one. On Monday, Intel unveiled a technology, called Robson cache technology, that uses the NAND flash memory to not only boot the laptop up in a flash, but also to open programs almost immediately. Read more

Japanese group releases Knoppix Linux CD that boots in less than a minute

Published on March 01, 2006

Japan's Alpha Systems has released a variant of Knoppix Linux, aptly named Accelerated Knoppix 1.0, that is promised to boot in less than a minute. Read more

Latest Reviews & Articles

Seagate's 1.5TB Barracuda: Bigger And Better?

Published on October 02, 2008

Seagate is the first hard drive vendor to offer a 1.5 TB drive in the 3.5” form factor. Meanwhile, WD sent us its RAID Edition 3 (RE3) drive. We tell you which is the best HDD choice today. Read more

Updated CPU Charts 2008: AMD Versus Intel

Published on October 01, 2008

The processor is the heart of your PC, and our updated charts for Q3 2008 show 54 of them competing in terms of performance. Using our updated suite of benchmarks, compare your favorite AMD and Intel CPUs after reading this introduction. Read more

Stalker: Clear Sky - Is Your System Ready?

Published on September 30, 2008

Thinking about picking up the latest update to Stalker, but not sure if your graphics subsystem can handle it? Hang on as we take you through a performance tour and demonstrate how the game has been prettied up. Read more

Part 4: Avivo HD vs. PureVideo HD

Published on September 29, 2008

The 780G chipset/Radeon HD 3200 and the MCP78S chipset/GeForce 8200 provide the first integrated graphics solutions that can accelerate Blu-ray playback. We dig deep into how well they work with high-quality Blu-ray 1080p video playback. Read more