CVS: moonbase/gnome2-core/gdm Default, NONE, 1.1 BUILD, 1.7,
1.8 DETAILS, 1.10, 1.11
nhudson at lunar-linux.org
nhudson at lunar-linux.org
Mon Sep 15 11:53:19 GMT 2003
Update of /var/cvs/lunar/moonbase/gnome2-core/gdm
In directory dbguin.lunar-linux.org:/tmp/cvs-serv8541
Modified Files:
BUILD DETAILS
Added Files:
Default
Log Message:
Fixing the gdm build so that it will actually log you into gnome correctly
--- NEW FILE: Default ---
#!/bin/sh
#
# Note that any setup should come before the sessreg command as
# that must be 'exec'ed for the pid to be correct (sessreg uses the parent
# pid)
#
# Note that output goes into the .xsession-errors file for easy debugging
#
PATH=$PATH:/opt/lunar/gnome/2.4/bin
XSETROOT=`which xsetroot 2>/dev/null`
if [ x$XSETROOT != x ] ; then
$XSETROOT -cursor_name left_ptr -solid "#363047"
fi
SESSREG=`which sessreg 2>/dev/null`
if [ x$SESSREG != x ] ; then
# some output for easy debugging
echo "$0: Registering your session with wtmp and utmp"
echo "$0: running: $SESSREG -a -w /var/log/wtmp -u /var/run/utmp -x \"$X_SERVERS\" -h \"$REMOTE_HOST\" -l $DISPLAY $USER"
exec $SESSREG -a -w /var/log/wtmp -u /var/run/utmp -x "$X_SERVERS" -h "$REMOTE_HOST" -l $DISPLAY $USER
# this is not reached
fi
# some output for easy debugging
echo "$0: could not find the sessreg utility, cannot update wtmp and utmp"
exit 0
Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/gnome2-core/gdm/BUILD,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- BUILD 13 Sep 2003 15:33:49 -0000 1.7
+++ BUILD 15 Sep 2003 11:53:17 -0000 1.8
@@ -28,10 +28,11 @@
chown -R gdm:gdm /var/gdm &&
chmod 750 /var/gdm &&
- if ! module_installed gdm2; then
- install --mode=644 $SCRIPT_DIRECTORY/gnomerc /etc/X11/gdm/gnomerc
- install --mode=644 $SCRIPT_DIRECTORY/gdm.conf /etc/X11/gdm/gdm.conf
- install --mode=755 $SCRIPT_DIRECTORY/Sessions/Gnome2 /etc/X11/gdm/Sessions
- fi
+
+ install --mode=644 $SCRIPT_DIRECTORY/gnomerc /etc/X11/gdm/gnomerc
+ install --mode=644 $SCRIPT_DIRECTORY/gdm.conf /etc/X11/gdm/gdm.conf
+ install --mode=755 $SCRIPT_DIRECTORY/Sessions/gnome.desktop /etc/X11/dm/Sessions
+ install --mode=755 $SCRIPT_DIRECTORY/Default /etc/X11/gdm/PreSession/
+
) > $C_FIFO 2>&1
Index: DETAILS
===================================================================
RCS file: /var/cvs/lunar/moonbase/gnome2-core/gdm/DETAILS,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- DETAILS 14 Sep 2003 05:26:53 -0000 1.10
+++ DETAILS 15 Sep 2003 11:53:17 -0000 1.11
@@ -6,7 +6,7 @@
SOURCE_VFY=md5:50e5fd07bf1a15b1638f41787415f81c
WEB_SITE=http://www.gnome.org
ENTERED=20020716
- UPDATED=20030912
+ UPDATED=20030915
SHORT="The Gnome Display Manager is a re-implementation of the well known xdm program"
cat << EOF
The Gnome Display Manager is a re-implementation of the well known xdm
More information about the Lunar-commits
mailing list