[95615] in RedHat Linux List
More on setting up kdm
daemon@ATHENA.MIT.EDU (Patrick O'Neil)
Mon Oct 19 21:13:18 1998
Date: Sun, 18 Oct 1998 01:08:35 +0000
From: "Patrick O'Neil" <patrick@howard.genetics.utah.edu>
To: redhat <redhat-list@redhat.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Thanks to the aid with setting up xdm/kdm... however
it ain't working quite yet. I get the kdm screen with
usernames and have a list of wms to select but no matter
which one I select, I get fvwm2. No enlightenment, no
kde, no icewm. What's wrong? The following is pertinent
information.
I had .xinitrc in my home directory which had only
startkde in it - and I did a mv from .xinitrc to xinitrc.
Then I edited Xsessions and inittab and kdmrc thus:
----------------------------------
In /etc/X11/xdm/Xsessions is:
#!/bin/bash -login
# $XConsortium: Xsession /main/10 1995/12/18 18:21:28 gildea $
case $# in
1)
case $1 in
failsafe)
exec xterm -geometry 80x24-0-0
;;
KDE)
exec /opt/kde/bin/startkde
;;
enligtenment)
exec /usr/bin/enlightenment
;;
icewm)
exec /usr/X11R6/bin/icewm
;;
esac
esac
# redirect errors to a file in user's home directory if we can
for errfile in "$HOME/.xsession-errors" "${TMPDIR-/tmp}/xses-$USER"
"/tmp/xses-$USER"
do
if ( cp /dev/null "$errfile" 2> /dev/null )
then
chmod 600 "$errfile"
exec > "$errfile" 2>&1
break
fi
done
# clean up after xbanner
freetemp
startup=HOME/.xinitrc
#startup=$HOME/.xsession
resources=$HOME/.Xresources
if [ -x "$startup" ]; then
exec "$startup"
elif [ -x "$HOME/.Xclients" ]; then
exec "$HOME/.Xclients"
elif [ -x /etc/X11/xinit/Xclients ]; then
exec /etc/X11/xinit/Xclients
else
if [ -f "$resources" ]; then
xrdb -load "$resources"
fi
exec xsm
fi
---------------------------
In /etc/inittab is:
....stuff skipped
#id:3:initdefault:
id:5:initdefault:
and then...
# Run xdm in runlevel 5
#x:5:respawn:/usr/bin/X11/xdm -nodaemon
x:5:respawn:/opt/kde/bin/kdm -nodaemon
--------------------------
And in /opt/kde/share/config/kdmrc I have:
...stuff skipped...
SortUsers=true
NoUsers=sync;halt;reboot;shutdown;mail;
GreetString=K Desktop Environment [HOSTNAME]
UserView=true
ShutdownButton=ConsoleOnly
FailFont=helvetica,12,5,iso-8859-1,75,0
Users=root;patrick;peggy;anna;
GreetFont=charter,24,5,iso-8859-1,50,0
StdFont=Helvetica,12,5,iso-8859-1,50,0
SessionTypes=enlightenment;icewm;kde;fvwm;failsafe;
GUIStyle=Motif
--
-------------------------------------------
"If a man hasn't discovered something that
he will die for, he isn't fit to live."
--Martin Luther King, Jr
-------------------------------------------
Padraig UiNiall
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.