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

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!haven.umd.edu!decuac!pa.dec.com!nntpd2.cxo.dec.com!nntpd.lkg.dec.com!ryn.mro4.dec.com!otop63.oto.dec.com!darren
  3. From: darren@otop63.oto.dec.com (Darren Popham)
  4. Subject: Re: login screen on Decwindows
  5. Message-ID: <1992Nov18.200832.11020@ryn.mro4.dec.com>
  6. Keywords: login screen, Decwindows,
  7. Lines: 101
  8. Sender: news@ryn.mro4.dec.com (USENET News System)
  9. Reply-To: darren@otop63.enet.dec.com
  10. Organization: Digital Equipment Corporation, Ottawa Ontario, Canada
  11. References:  <1992Nov17.100959.4912@maths.tcd.ie>
  12. Date: Wed, 18 Nov 1992 20:08:32 GMT
  13.  
  14.  
  15. In article <1992Nov17.100959.4912@maths.tcd.ie>, eorourke@maths.tcd.ie (Eugene O'Rourke) writes:
  16. >From: eorourke@maths.tcd.ie (Eugene O'Rourke)
  17. >Newsgroups: comp.unix.ultrix
  18. >Subject: login screen on Decwindows
  19. >
  20. >Okay,
  21. >I've tried setting 
  22. >XSessionManagerlogoFullScreen: true
  23. >
  24. >but the logo still only shows above the login prompter.  Ideally, I
  25. >would like to put a picture up on the entire login screen.   Does
  26. >anybody have solutions in both variants, i.e. using xv to set a root
  27. >window with a gif and using the postscript version, to put up a logo
  28. >on the entire screen?  We are using DECwindows at the moment...
  29. >
  30. >
  31. >Thanks in advance...
  32. >
  33. >Eugene O'Rourke
  34. >
  35. >
  36.  
  37.  
  38. I see this question posted many times.  As such, here is how I changed
  39. the root window of my login screen:
  40.  
  41.     1. obtained X11R5 source for xdm client (and perhaps the xconsole 
  42.        client), as well as the X11R5 libraries needed to link xdm. 
  43.  
  44.     2. from the "Languages and Programming Guide", Chapter 10, Security
  45.        Guidelines for Programmers, I used the example authentication
  46.        routine to verify passwords in environments in addition to the
  47.        base BSD level (make sure users are in authread group if not
  48.        using BSD level).
  49.  
  50.     3. moved the default /usr/bin/X11/xdm out of the way, as well 
  51.        as its /usr/lib/X11/xdm directory 
  52.  
  53.     4. installed the R5 xdm, as well as its /usr/lib/X11/xdm
  54.            directory.
  55.  
  56.     5. edit the /usr/lib/X11/xdm/xdm-config file:
  57.         I changed:
  58.             DisplayManager._0.authorize:    true
  59.         to:
  60.             DisplayManager._0.authorize:    false
  61.  
  62.     6. I added a line in the Xsetup_0 file:
  63.         /usr/local/bin/xv -root -quit /usr/lib/X11/xdm/logo.gif
  64.        this provided a nice background (my logo.gif file gives a
  65.        full screen blue spectrum).
  66.        You could add almost anything you want in this file.
  67.  
  68.     7. I changed Xservers to use the Xws server:
  69.         :0 Local local /usr/bin/Xws :0
  70.  
  71.     8. I changed Xsession  from:
  72.            twm &
  73.            exec xterm -geometry 80x24+10+10 -ls
  74.        to:
  75.            /usr/local/bin/xv -clear
  76.            exec /usr/bin/dxsession
  77.  
  78.        this brings everything up as it used to.  The xv cleans out 
  79.        the colormap mess my logo.gif file created.
  80.  
  81.     9. removed the :0 "/usr/bin/login -P /usr/bin/Xprom.... line
  82.        from /etc/ttys
  83.  
  84.     10. I then start xdm from end of /etc/rc file
  85.  
  86.         # xdm startup
  87.         [ -f /usr/bin/X11/xdm ] && {
  88.                 /usr/bin/X11/xdm & echo 'xdm' > /dev/console
  89.         }
  90.  
  91.     11. additionally, compile the X11R5 xconsole client and
  92.         installed it as well in /usr/bin/X11
  93.  
  94. If I haven't forgotten anything, then this should be all that is required. 
  95. By doing a reboot things should come up okay.
  96.  
  97. Currently I have been running this configuration on a DECStation 5000/200
  98. with ULTRIX 4.3.
  99.  
  100. One word of advice: make sure that you can access the system via the network
  101. if you plan on trying different things in Xsetup_0 and Xsession.  If the 
  102. modifications work, then you should have no problem.  However, if they
  103. do not, then having a backdoor into the system will come in handy (better
  104. than pressing the reset button every time).
  105.  
  106. Regards,
  107.  
  108. Darren Popham
  109. Digital Equipment of Canada Ltd
  110. Phone:    613-723-3659
  111. E-mail:   darren@otop63.enet.dec.com
  112. Opinions: Entirely my own
  113. PS: In case it is not obvious, this is not a supported configuration.
  114.  
  115.