From: Jay Link (jlink@ilbbs.com)
Date: Fri 20 Oct 2000 - 05:39:35 IST
> I read the faqs a bunch of times and even went through the archived
> mailing lists and I still can't find the answer. Several programs that
> I really like such as xmame and fceu(a nes emulator) use svgalib and I
> can't run them without being root. Security is not an issue for me and
> I just want to use these programs without switching to root or logging
> in again. These programs are setuid root and it still won't work, i
> still get "not running in graphics capable console." Is there anyway
> around this? Thanks a lot!
Q: When I try to run my application, I receive this error:
Not running in a graphics capable console, and unable to find one
A: In addition to the setuid requirement, SVGAlib normally mandates that
all programs be run from a physical Linux console. if, however, you
attempt to run a program via a Telnet session or from within an xterm,
SVGAlib may try to open a virtual console for you (provided this option
was selected at compilation time). Because virtual consoles can only be
opened by root and/or the owner of the console device (typically root as
well), non-root users operating in this manner will receive this error
message.
If you're running an SVGAlib application from an xterm, you may need to
recompile SVGAlib with ROOT_VC_SHORTCUT defined.
------------------------------------------------------------------
Unsubscribe: To: listbot@svgalib.org
Body: unsubscribe linux-svgalib
This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:23 IST