home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!rutgers!sgigate!sgi!fido!not-for-mail
- From: rck@fangio.asd.sgi.com (Robert Keller)
- Newsgroups: comp.sys.sgi
- Subject: Re: Running Graphics program at startup time
- Message-ID: <1iavq8INNe9n@fangio.asd.sgi.com>
- Date: 5 Jan 93 03:37:44 GMT
- References: <C0CIE8.C5G@iat.holonet.net>
- Organization: Silicon Graphics, Inc., Mountain View, CA
- Lines: 27
- NNTP-Posting-Host: fangio.asd.sgi.com
-
- cmumford@iat.holonet.net (Chris Mumford) writes:
- >I found out that for some reason using the rc2 approach works fine for
- >non-graphics programs, but for programs that do graphics it does not work.
- >In fact the first line of the program is not even run.
- >
- >Any solutions.
-
- This is probably because xdm is preventing you from connecting to
- the X server since no one has logged into the graphics head.
-
- An Ugly way around this:
- 1) turn off the default window system startup, and
- shutdown the window system
- /usr/gfx/stopgfx
-
- 2) invoke the X server from YOUR rc2 script. Use
- /usr/lib/X11/xdm/Xserver and /usr/bin/X11/X for
- ideas on how to do this. (presever the /usr/gfx/gfxinit
- part from /usr/bin/X11/X !)
-
- 3) run your application.
-
- NOTE: This disables the default startup/login sequence and gives
- you LOTS of rope to hang yourself with. If you screw up,
- remove your rc2 script and run /usr/gfx/startgfx.
-
- ...robert
-