home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!tymix!tardis!olivea!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!irzr17.inf.tu-dresden.de!beck
- From: beck@irzr17.inf.tu-dresden.de (Andre Beck)
- Newsgroups: comp.unix.ultrix
- Subject: Pictures on login screen
- Message-ID: <HJZ81BX@math.fu-berlin.de>
- Date: 17 Nov 92 15:52:48 GMT
- Sender: news@math.fu-berlin.de (Math Department)
- Reply-To: beck@freia.inf.tu-dresden.de
- Organization: Dept. of Computer Science, TU Dresden, Germany.
- Lines: 65
-
-
- Hi,
-
- as I see there is NEED of having a picture in the root login screen,
- so I have to say:
- With XUI and without DPS it seems that Xws DONT WANT TO DO IT.
- Anything I tried failed, up to installing:
- --------------------------------------------
-
- #include <stddef.h>
- #include <stdlib.h>
-
-
- main(argc,argv,envp)
- int argc;
- char **argv, **envp;
- {int pid;
-
- if(pid=fork()) {
- wait(pid);
- }
- else
- {
- execle("/usr/X11R5/bin/xv",
- "xv", "-display", ":0", "-root", "-max", "-quit", (char *)NULL,
- envp);
- };
- argv[0] = "/usr/bin/Xprompter";
- execve("/usr/bin/Xprompter", argv, envp);
- };
- --------------------------------------------------
- as the prompter in the /etc/ttys
-
- The effect was that after a long while the pict appeared, but than Xws
- seemed to get immediately restarted. The prompter never appeared.
- After commenting out the forking part, it worked (without picture...)
-
- My conclusion is, after startup Xws lets only ONE client in. If this one
- doesn't authenticate itself as beeing the Xprompter, the whole thing fails.
-
- OR
-
- The Xprompter recognizes if he gets a "virgin" Xws and if not forces a
- restart.. both for some security reasons.
-
- If xprompter runs, he locks the Xws by a GrabServer, so you cannot display
- anything then.
-
- So my QUESTION to the X-DPS Gurus:
-
- How can i display a picture in DPS directly to the device resolution ?
- In other words, how to use the sreening routines of DPS to get the
- image displayed directly, NOT rescaled redithered or what the hell else
- PS does normally on Paper ?
-
- Some time ago i read something about PostScript, so I think there is
- a way to do it. BUT HOW ??
-
- --
- ,------------------------+---------------------------------------------.
- | Andre' Beck (ABPSoft) | TCP/IP-Mail: beck@freia.inf.tu-dresden.de |
- | HG R 142 | VMS : hermes::beck |
- +------------------------+---------------------------------------------+
- | Windows is the best placebo against MS-DOOF headaches ! |
- `----------------------------------------------------------------------'
-