Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!wuarchive!uunet!sbi!zeus!pivot!alan From: alan@pivot.sbi.com (Alan Zeigler) Newsgroups: comp.windows.x Subject: Re: xdm root window Summary: not a solution, just a kludge Message-ID: <931@pivot.sbi.com> Date: 26 Jan 91 06:53:39 GMT References: Followup-To: comp.windows.x Organization: Pivot - Salomon Brothers, NY Lines: 38 In article , jim@fuji.eng.yale.edu (James J. Szinger) writes: > I'd like to get it to display colors and bitmaps while displaying > the login prompt. This kludge doesn't entirely address your problem, i.e. you can't display arbitrary bitmaps ala xsetroot, but it does allow you to get a somewhat more pleasant background color on the xdm login screen ... I get a bit queazy looking at the default X stipple pattern so I bumped the borderwidth of the xdm login window to cover the whole screen. Here's the relevant chunk of my Xresource file: #ifdef COLOR *background : #cccccc *borderColor : #40a0c0 *foreground : #000000 *greetColor : #000000 *promptColor : #000000 *failColor : #ff0000 #endif COLOR *borderWidth : 400 *geometry : +-150+-100 The login window comes up grey on a blue "root" for my color machines and white on black for my mono. One caveat, the geometry specification is a bit hard-coded for my greeting message and for Sun frame buffer dimensions (1152x900), so you'll have to diddle them a bit for your setup (and get fancier with the #if's if your running in a hetero. environment). Hope it helps... -- Alan M Zeigler | E-Mail: uunet!sbi!alan Salomon Brothers Asia Ltd | V-Mail: 1 212 747-9808 2-2, Otemachi 2-chome | Work: 81 3 5255-4483 Chiyoda-ku, Tokyo 100 | FAX: 81 3 5255-5598