gdm won't use xdm-config



I run my primary workstation using Red Hat 6.1 and a second PC as an
Xterminal. I tried to use gdm as my display manager, but it will not accept
the Xsetup pointer in xdm-config. In xdm-config I define the setup file for
all displays as Xsetup, but gdm looks for Xsetup_0 anyway.

Here's my xdm-config:

! $XConsortium: xdm-conf.cpp /main/3 1996/01/15 15:17:26 gildea $
DisplayManager.errorLogFile:	/var/log/xdm-error.log
DisplayManager.pidFile:		/var/run/xdm.pid
DisplayManager.keyFile:		/etc/X11/xdm/xdm-keys
DisplayManager.servers:		/etc/X11/xdm/Xservers
DisplayManager.accessFile:	/etc/X11/xdm/Xaccess
! All displays should use authorization, but we cannot be sure
! X terminals will be configured that way, so by default
! use authorization only for local displays :0, :1, etc.
!DisplayManager._0.authorize:	true
!DisplayManager._1.authorize:	true
DisplayManager.*.authorize:	true
! The following three resources set up display :0 as the console.
!DisplayManager._0.setup:	/etc/X11/xdm/Xsetup_0
!DisplayManager._0.startup:	/etc/X11/xdm/GiveConsole
!DisplayManager._0.reset:	/etc/X11/xdm/TakeConsole
!
! I use the following lines instead of the default above to 
! allow Xterminals to use the same resources as the console. aeg
DisplayManager.*.setup:        /etc/X11/xdm/Xsetup
DisplayManager.*.startup:      /etc/X11/xdm/GiveConsole
DisplayManager.*.reset:        /etc/X11/xdm/TakeConsole
!
DisplayManager*resources:	/etc/X11/xdm/Xresources
DisplayManager*session:		/etc/X11/xdm/Xsession
DisplayManager*authComplain:	false

Here's my Xsetup:

#!/bin/sh
# Xsetup for Red Hat Linux 6.0
# Copyright (c) 1999 Red Hat Software, Inc.

#pidof -s kdm > /dev/null 2>&1
#if [ $? -eq 0 -a -x /usr/bin/kdmdesktop ]; then
#  /usr/bin/kdmdesktop
#else
#  /usr/X11R6/bin/xsetroot -solid "#356390"
#fi

# Display a digital clock. aeg
/usr/X11R6/bin/xclock -digital -update 1 -geometry -100-050 &
echo $! > /var/run/xlogin_clock_$DISPLAY.pid

# Set a nice looking background and pointer. aeg
/usr/X11R6/bin/xsetroot -solid "#356390" &
/usr/X11R6/bin/xsetroot -cursor_name left_ptr &

# only set the background if the xsri program is installed
if [ -x /usr/bin/xsri ]; then
    #/usr/bin/xsri  -geometry +5+5 -avoid 300x250 -keep-aspect \
       /usr/share/pixmaps/redhat/redhat-transparent.png
    /usr/bin/xsri -geometry -070-100 -keep-aspect \
       /usr/local/share/pixmaps/officialpenguin.gif
    /usr/bin/xsri -geometry +40+30 -keep-aspect \
       /usr/local/share/pixmaps/redhat-transparent_sm.png
fi




-- 
 Anthony E. Greene <agreene@pobox.com>
 Homepage & PGP Key <http://www.pobox.com/~agreene/>
 If it's too good to be true, it's probably Linux.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]