home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / ultrix / 8365 < prev    next >
Encoding:
Text File  |  1992-11-17  |  2.5 KB  |  77 lines

  1. 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
  2. From: beck@irzr17.inf.tu-dresden.de (Andre Beck)
  3. Newsgroups: comp.unix.ultrix
  4. Subject: Pictures on login screen
  5. Message-ID: <HJZ81BX@math.fu-berlin.de>
  6. Date: 17 Nov 92 15:52:48 GMT
  7. Sender: news@math.fu-berlin.de (Math Department)
  8. Reply-To: beck@freia.inf.tu-dresden.de
  9. Organization: Dept. of Computer Science, TU Dresden, Germany.
  10. Lines: 65
  11.  
  12.  
  13. Hi,
  14.  
  15. as I see there is NEED of having a picture in the root login screen,
  16. so I have to say:
  17. With XUI and without DPS it seems that Xws DONT WANT TO DO IT.
  18. Anything I tried failed, up to installing:
  19. --------------------------------------------
  20.  
  21. #include <stddef.h>
  22. #include <stdlib.h>
  23.  
  24.  
  25. main(argc,argv,envp)
  26. int argc;
  27. char **argv, **envp;
  28. {int pid;
  29.  
  30.  if(pid=fork()) {
  31.   wait(pid);
  32.  }
  33.  else
  34.  {
  35.  execle("/usr/X11R5/bin/xv",
  36.         "xv", "-display", ":0", "-root", "-max", "-quit", (char *)NULL,
  37.         envp);
  38.  };
  39.  argv[0] = "/usr/bin/Xprompter";
  40.  execve("/usr/bin/Xprompter", argv, envp);
  41. };
  42. --------------------------------------------------
  43. as the prompter in the /etc/ttys
  44.  
  45. The effect was that after a long while the pict appeared, but than Xws
  46. seemed to get immediately restarted. The prompter never appeared.
  47. After commenting out the forking part, it worked (without picture...)
  48.  
  49. My conclusion is, after startup Xws lets only ONE client in. If this one
  50. doesn't authenticate itself as beeing the Xprompter, the whole thing fails.
  51.  
  52. OR
  53.  
  54. The Xprompter recognizes if he gets a "virgin" Xws and if not forces a
  55. restart.. both for some security reasons.
  56.  
  57. If xprompter runs, he locks the Xws by a GrabServer, so you cannot display
  58. anything then.
  59.  
  60. So my QUESTION to the X-DPS Gurus:
  61.  
  62. How can i display a picture in DPS directly to the device resolution ?
  63. In other words, how to use the sreening routines of DPS to get the
  64. image displayed directly, NOT rescaled redithered or what the hell else
  65. PS does normally on Paper ?
  66.  
  67. Some time ago i read something about PostScript, so I think there is
  68. a way to do it. BUT HOW ??
  69.  
  70. --
  71. ,------------------------+---------------------------------------------.
  72. | Andre' Beck (ABPSoft)  |   TCP/IP-Mail: beck@freia.inf.tu-dresden.de |
  73. | HG R 142               |   VMS        : hermes::beck                 |
  74. +------------------------+---------------------------------------------+
  75. |       Windows is the best placebo against MS-DOOF headaches !        |
  76. `----------------------------------------------------------------------'
  77.