[NBLUG/talk] Setting location for X Windows

Mark Street mark at oswizards.com
Sun Dec 19 21:45:25 PST 2004


I don't know why......  I only know why it wouldn't boot correctly.

See /etc/X11/prefdm  remember that one..... The file that sets your preferred 
display manager.
---------------------------------------------
# Run preferred X display manager
preferred=
if [ -f /etc/sysconfig/desktop ]; then
        . /etc/sysconfig/desktop
        if [ "$DISPLAYMANAGER" = GNOME ]; then
                preferred=gdm
        elif [ "$DISPLAYMANAGER" = KDE ]; then
                preferred=kdm
        elif [ "$DISPLAYMANAGER" = XDM ]; then
                preferred=xdm
        fi
fi
shopt -s execfail
[ -n "$preferred" ] && exec $preferred $* >/dev/null 2>&1
------------------------------------------------

yum install switchdesk

but why... you only have 1 desktop installed, additionally you are running the 
box from runlevel 5 so don't worry about .Xclients and .Xclients-defaults, 
let the display manager handle your desktop.

On Sunday 19 December 2004 20:59, Todd Cary wrote:
> I checked the "desktop" file and DESKTOP="GNOME".  I changed this to
> "KDE" and everything, as expected, boots fine.  My question is why, with
> only KDE loaded, was that set that way.  Also, I am not seeing the
> regular "switchdesk" (unless I am missing it which could be the case).
>
> I do not have a .Xclients or .Xclients-default.  Hmmmmm?
-- 
Mark Street, RHCE
http://www.oswizards.com
--
Key fingerprint = 3949 39E4 6317 7C3C 023E  2B1F 6FB3 06E7 D109 56C0
GPG key http://www.oswizards.com/pubkey.asc




More information about the talk mailing list