Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!mintaka!olivea!orc!inews!iwarp.intel.com!omepd!littlei!trim.intel.com!adams From: adams@trim.intel.com (Robert Adams) Newsgroups: comp.windows.x Subject: Re: xsetroot in xdm? Message-ID: <1278@gandalf.littlei.UUCP> Date: 7 Aug 90 20:19:28 GMT References: <1990Jul30.205143.1978@mcs.anl.gov> Sender: news@littlei.UUCP Reply-To: adams@trim.intel.com (Robert Adams) Organization: Intel V.4 UNIX; Hillsboro, Oregon; USA Lines: 24 X-Face: P;c7j*q8X`{:N9lq6O1Gfwp]V"g%ye=D02@.mNyUTP$|TwR'rb)t|NAX{Nh%~E(#AA(\o6O %*`PBmEV|8\|1h_g?|9 T9z?EPW,lQV3p}7Xv[6jV(q,ghd).M(ul7|cJjcf6;`6K:;hgv]9=6v&>3Y=>h3"23x("uHz4_&\75 J`aE[zoT,Y9?B~GrZwQM72M#'-~MSTD-hP?P~a-/"o|"W2"<.'F9+yIOJm=!O4=:K`=SBUs9Z9? In article <1990Jul30.205143.1978@mcs.anl.gov>, stevens@paris.hep.anl.gov (Andy Stevens) writes: > Does anybody know how to set a bitmap during the authentication part of > xdm? i.e. I want to xsetroot a bitmap when the display says > "Welcome to the X window system". > My fix for this was to modify the X11R3 xdm to run the script Xsetup around the time that the login widget was being displayed. That is, in the routine ManageSession, it loads the resource database and exec's a shell to run 'Xsetup'. After the greet widget exits, the login resources are unloaded and all of the children of the exec'ed shell are killed. The normal session processing is done thereafter. This not only allows setting of the root background when the greeting widget is displayed, but it also allows the running of "safe" clients on the login screen - a clock or mailbox status display. -- Robert Adams adams@littlei.intel.com ...!uunet!littlei!adams