On Thu, 28 Feb 2002 10:19:15 -0500
Tim Wunder <[EMAIL PROTECTED]> wrote:

> Myles Green wrote:
> <snip>
> > 
> > Switching from KDM to using GDM as a graphical login
> > 
> > Open the file /etc/sysconfig/desktop in your favorite editor and
> > change DESKTOP="KDE" to read DESKTOP="GNOME", then restart X and you
> > should be looking at GDM - select XFce from the menu after entering
> > your username but before you add your password (in case you're like
> > me and habitually hit enter as soon as the password is there ;-) and
> > you're good to go. 
> > 
> 
> OK, but what REALLY hapens? How does this translate to non-RedHat 
> distro's (like Caldera eWorkstation 3.1)? Isn't there a more 
> distro-nuetral technique? Like calling gdm (or even xdm)from rc.gui or
> something like that. I'm thinking about switching login managers to
> see if that solves my xfce from kdm problem I seem to be having.

What really happens? Well, when you use those switches at compile-time,
XFce sets itself up to use GDM... under RH72 (can't say for COL WS31 as
I haven't tried it yet), this means creating an xfce directory under
/etc/X11: /etc/X11/xfce and populating it with *rc files, Xclients,
xsession etc. Here's the contents on my system:

$ ll /etc/X11/xfce        
total 124
-rw-r--r--    1 root     root         8674 Feb 13 01:16 fvwm2rc
-rw-r--r--    1 root     root         9859 Feb 13 01:16 fvwmrc
-rwxr-xr-x    1 root     root          639 Feb 13 01:16 Xclients
-rw-r--r--    1 root     root           38 Feb 13 01:16 xfbdrc
-rw-r--r--    1 root     root           38 Jan 15 21:55 xfbdrc.rpmnew
-rw-r--r--    1 root     root         3267 Feb 13 01:16 xfce3rc
-rw-r--r--    1 root     root         3267 Feb 13 01:16 xfce3rc.cs
-rw-r--r--    1 root     root         3295 Feb 13 01:16 xfce3rc.de
-rw-r--r--    1 root     root         3304 Feb 13 01:16 xfce3rc.fr
-rw-r--r--    1 root     root         3260 Feb 13 01:16 xfce3rc.hu
-rw-r--r--    1 root     root         3408 Feb 13 01:16 xfce3rc.ja
-rw-r--r--    1 root     root         3405 Feb 13 01:16 xfce3rc.ko
-rw-r--r--    1 root     root         3263 Feb 13 01:16 xfce3rc.nl
-rw-r--r--    1 root     root         3259 Feb 13 01:16 xfce3rc.sr
-rw-r--r--    1 root     root         3334 Feb 13 01:16 xfce3rc.uk
-rw-r--r--    1 root     root         3474 Feb 13 01:16
xfce3rc.zh_CN.GB2312-rw-r--r--    1 root     root         3462 Feb 13
01:16 xfce3rc.zh_TW.Big5-rw-r--r--    1 root     root         3462 Jan
15 21:55 xfce3rc.zh_TW.Big5.rpmnew-rw-r--r--    1 root     root         
153 Feb 13 01:16 xfclockrc-rw-r--r--    1 root     root           10 Feb
13 01:16 xfmouserc-rw-r--r--    1 root     root          330 Feb 13
01:16 xfsoundrc-rw-r--r--    1 root     root         7423 Feb 13 01:16
xfwmrc-rwxr-xr-x    1 root     root         1209 Feb 13 01:16 xinitrc
-rwxr-xr-x    1 root     root          895 Feb 13 01:16 xinitrc.mwm
-rwxr-xr-x    1 root     root          637 Feb 13 01:16 xsession
-rw-r--r--    1 root     root          885 Feb 13 01:16 xtree.reg

It also creates/places files in /etc/X11/gdm/Sessions - here is what's
in mine:

$ ll /etc/X11/gdm/Sessions
total 536
-rwxr-xr-x    1 root     root           40 Sep 16 20:40 Default
-rwxr-xr-x    1 root     root         2264 Sep 16 20:40 Gnome
-rwxr-xr-x    1 root     root           44 Nov 14 10:02 KDE
-rwxr-xr-x    1 root     root       329312 Jan 16 23:11 libxfce.a
-rwxr-xr-x    1 root     root          976 Jan 16 23:11 libxfce.la
-rwxr-xr-x    1 root     root       181776 Jan 16 23:11 libxfce.so
-rwxr-xr-x    1 root     root          311 Feb 25 21:31 XFce
-rwxr-xr-x    1 root     root         2187 Sep 16 20:40 Xsession

The contents of the file "XFce" (above) read as follows:

-------
#!/bin/sh
##############################################
#
# XFce
#
# $Id: XFce.in,v 1.1 2001/09/27 21:17:54 xfce Exp $
#
# XFce file for GDM.  Usually in /etc/X11/gdm/Sessions.
#
##############################################

exec /usr/local/bin/startxfce
-------

How to switch between KDM and GDM under COL WS311is an unknown to me
because, as I mentioned above, I have yet to install it on any of my
systems.

If you need/want to see anything (files etc) else pertaining to this let
me know

I should also mention that after installing XFce you must run the setup
script - xfce_setup if this is your first time trying XFce or
xfce_upgrade if it isn't - before trying to run startxfce. This must be
done by all users wishing to use XFce.

HTH
-- 
Myles Green Calgary AB Canada
Alberta Linux Step by Step Mirror:
http://mylesg.homelinux.net/
--
PROGRAM - n. A magic spell cast over a computer allowing it to turn 
        one's input into error messages.  v. tr.- To engage in a 
        pastime similar to banging one's head against a wall, but 
        with fewer opportunities for reward.
_______________________________________________
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.

Reply via email to