🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: visix.news.xcons.xpert
Article #1

Re: xdm root window

#1
From: Markus Stumpf
Date: Mon, 28 Jan 1991 11:31
49 lines
2794 bytes
In article <1991Jan26.001505.29420@dsd.es.com>, rthomson@mesa.dsd.es.com (Rich Thomson) writes:
|> It really needs to be added as an (oh no! ;-) extra resource to xdm --
|> it should be a program to execute after the connection to the server
|> has been made (so the server won't reset) for the login box.  I heard
|> a rumor about some such resource in xdm at MIPS, but it isn't in the
|> generic MIT code.  I've thought about putting in this code (it
|> shouldn't be that hard), but is has some potential problems: what if
|> the command fails or never returns?  I guess this isn't too much of a
|> problem because the resources aren't set by users, but by the
|> sysadmin.
|> 
|> If anybody has a patch to the MIT xdm that does this, I'd like to have
|> a copy ;-}.

You don't need a patch! It's already there, even if it's kind of a _hack_:
If used the following to display xmas-bitmaps: (of course you have to be
root/have write acces to the files/directories)

in /usr/lib/X11/xdm (default directory for xdm configs)

change/add the line in xdm-config:

DisplayManager*xrdb:           /usr/lib/X11/xdm/xrdb+xsetroot


make the file /usr/lib/X11/xdm/xrdb+xsetroot to look like e.g.:

#!/bin/sh
#
# load the resources and change the root-window background pixmap
#

/usr/bin/X11/xrdb "$@"

echo "setting root background" >> /usr/lib/X11/xdm-errors
/usr/bin/X11/xsetroot -display $2 -bitmap /usr/wiss/stumpf/bitmaps/xmastree.xbm
exit 0


To really get it to work, you have to kill all xdms and restart xdm!

	\Maex

-- 
+- Markus Stumpf                         Technische Universitaet Muenchen   -+
|                            Institut fuer Informatik, Rechnerbetriebsgruppe |
|  stumpf@informatik.tu-muenchen.de              Postfach 202420             |
+-   ...@{unido.uucp,relay.cs.net}        D-8000 Muenchen 2, West Germany   -+
Technical Details
Message-ID: <1991Jan28.123135@Informatik.TU-Muenchen.DE>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!uunet!fub!opal!unido!fauern!tumuc!newsserv.informatik.tu-muenchen.de!Informatik.TU-Muenchen.DE!stumpf
References: <JIM.91Jan25091218@fuji.eng.Yale.edu> <1991Jan26.001505.29420@dsd.es.com>

Show Full Headers
Complete Article Headers
Message-ID: <1991Jan28.123135@Informatik.TU-Muenchen.DE>
Subject: Re: xdm root window
Date: Mon, 28 Jan 1991 11:31:35 +0000
From: stumpf@Informatik.TU-Muenchen.DE (Markus Stumpf)
References: <JIM.91Jan25091218@fuji.eng.Yale.edu> <1991Jan26.001505.29420@dsd.es.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!uunet!fub!opal!unido!fauern!tumuc!newsserv.informatik.tu-muenchen.de!Informatik.TU-Muenchen.DE!stumpf
Newsgroups: comp.windows.x,visix.news.xcons.xpert
Sender: news@newsserv.informatik.tu-muenchen.de
Reply-To: stumpf@Informatik.TU-Muenchen.DE (Markus Stumpf)
Organization: Technische Universitaet Muenchen, West Germany
Lines: 48