Thread View: visix.news.xcons.xpert
1 messages
1 total messages
Started by Markus Stumpf
Mon, 28 Jan 1991 11:31
Re: xdm root window
Author: Markus Stumpf
Date: Mon, 28 Jan 1991 11:31
Date: Mon, 28 Jan 1991 11:31
49 lines
2794 bytes
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 -+
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads