[ale] Changing DM in Redhat 7.2 - aaargh!!
John Wells
jbwellsiv at yahoo.com
Fri Feb 1 08:26:11 EST 2002
No...
I assumed you were running X automatically from
runlevel 5.
You need to kill gdm first....the X line in inittab is
specified to respawn, so it might reevaluate the
prefdm file when you kill gdm. However, I can't
guarantee it. You could telinit 3 to switch to
runlevel 3 (or 4) and then telinit 5 back to 5. This
should do it (if not, I guess you can reboot).
Is this not how you're running X? If you get a text
login when you boot up the machine and you have to
"startx" to get X running, then we've been going down
the wrong path entirely....
John
--- Charles Marcus <CharlesM at Media-Brokers.com> wrote:
> > From: John Wells [mailto:jbwellsiv at yahoo.com]
> > Sent: Friday, February 01, 2002 8:04 AM
> > To: Charles Marcus; Ale (E-mail)
> > Subject: RE: [ale] Changing DM in Redhat 7.2 -
> aaargh!!
> >
> > Ahh...I see it now...
> >
> > Instead of adding DESKTOP="KDE", add
> > DISPLAYMANAGER="KDE" to /etc/sysconfig/desktop.
> >
> > And yes, I meant after the path ;-).
> >
> > John
>
> Still no joy...
>
> Now, after I have been making these changes, I log
> out, then hit ctrl-alt-backspace to restart X -
> thats all I have to do to exec the changes, right?
>
> The more I think about it, the more I think Ximian
> has changed something.
>
> Its not a huge deal - any other ideas before I hose
> this setup when I install Gentoo this weekend? The
> only reservations I have about Gentoo is, it appears
> to be geared towards a more knowledgeable user - but
> hey, maybe it'll just make me spend sleepless nights
> learning this stuff so I can start answering more
> questions than I ask. :)
>
> I'll probably try reinstalling Redhat first though,
> and make sure switchdesk works *before* I install
> Ximian, then test it again afterwards. I like to
> know *why* something isn't working properly.
>
> Thanks again for your help.
>
> Charles
>
> > --- Charles Marcus <CharlesM at Media-Brokers.com>
> wrote:
> > > Thanks for the help, John...
> > >
> > > > From: John Wells [mailto:jbwellsiv at yahoo.com]
> > > > Sent: Friday, February 01, 2002 7:43 AM
> > > > To: Charles Marcus; 'Ale (E-mail)'
> > > > Subject: RE: [ale] Changing DM in Redhat 7.2 -
> > > aaargh!!
> > > >
> > > > Charles,
> > > >
> > > > Are you sure you have kdm installed? If so,
> > > what's
> > > > the path?
> > >
> > > Yes - /usr/bin
> > >
> > > > Open /etc/X11/prefdm and insert the line "set
> -x"
> > > at
> > > > the top.
> > >
> > > OK, did so - although I added it *after* the
> path -
> > > should it have been before?
> > >
> > > > Then run the file and send the output to the
> > > > list. It might be a bit more indicative of
> what's
> > > > going on...
> > > >
> > > > John
> > >
> > > Here's the output...
> > >
> > > + . /etc/profile.d/lang.sh
> > > ++ sourced=0
> > > ++ '[' -f /etc/sysconfig/i18n ']'
> > > ++ . /etc/sysconfig/i18n
> > > +++ LANG=en_US
> > > +++ SUPPORTED=en_US:en
> > > +++ SYSFONT=lat0-sun16
> > > +++ SYSFONTACM=iso01
> > > ++ sourced=1
> > > ++ '[' -f /root/.i18n ']'
> > > ++ '[' -n '' ']'
> > > ++ '[' 1 = 1 ']'
> > > ++ '[' -n en_US ']'
> > > ++ export LANG
> > > ++ '[' -n '' ']'
> > > ++ unset LC_CTYPE
> > > ++ '[' -n '' ']'
> > > ++ unset LC_COLLATE
> > > ++ '[' -n '' ']'
> > > ++ unset LC_MESSAGES
> > > ++ '[' -n '' ']'
> > > ++ unset LC_NUMERIC
> > > ++ '[' -n '' ']'
> > > ++ unset LC_MONETARY
> > > ++ '[' -n '' ']'
> > > ++ unset LC_TIME
> > > ++ '[' -n '' ']'
> > > ++ unset LC_ALL
> > > ++ '[' -n '' ']'
> > > ++ unset LANGUAGE
> > > ++ '[' -n '' ']'
> > > ++ unset LINGUAS
> > > ++ '[' -n '' ']'
> > > ++ unset _XKB_CHARSET
> > > ++ '[' -n '' ']'
> > > ++ '[' -n iso01 ']'
> > > +++ /sbin/consoletype
> > > ++ '[' vt100 = linux -a pty = vt ']'
> > > ++ unset SYSFONTACM SYSFONT
> > > + '[' -f /etc/sysconfig/autologin -a -x
> > > /usr/sbin/autologin ']'
> > > + preferred=
> > > + '[' -f /etc/sysconfig/desktop ']'
> > > + source /etc/sysconfig/desktop
> > > + '[' -n '' ']'
> > > + '[' '' = GNOME ']'
> > > + '[' '' = KDE -o '' = KDE1 -o '' = KDE2 ']'
> > > + '[' '' = AnotherLevel ']'
> > > + '[' -z '' ']'
> > > + which gdm
> > > + preferred=gdm
> > > + '[' -n gdm ']'
> > > + which gdm
> > > ++ which gdm
> > > + exec /usr/bin/gdm
> > >
> > > > --- Charles Marcus
> <CharlesM at Media-Brokers.com>
> > > wrote:
> > > > > Guess I should have been more specific...
> > > > >
> > > > > I have tried switchdesk (as root - many
> times),
> > > did
> > > > > not check 'applies only to this display',
> and
> > > every
> > > > > time I run it it is still set to GNOME.
> Running
> > > > > switchdesk does *not* change the contents of
> > > > > /etc/sysconfig/desktop. Also tried checking
> > > > > 'Restore Desktop' when logging out of KDE as
> > > well.
> > > > >
> > > > > I tried manually adding [DESKTOP="KDE"]
> (without
> > > the
> > > > > brackets) in /etc/sysconfig/desktop, and
> nothing
> > > > > changes (and the first time I opened this
> file,
> > > the
> > > > > only thing there was [DESKT] (again, minus
> the
> > > > > brackets) - in other words, the entry was
> > > > > incomplete.
> > > > >
> > > > > Couldn't make heads or tails out of
> > > /etc/X11/prefdm
> > > > > (not a programmer, have yet to try to learn
> bash
> > > > > scripting), but included whats in it below,
> in
> > > case
> > > > > anyone can tell at a glance if anything is
> wrong
> > > > > with it...
> > > > >
> > > > > I just realized - I am using Ximian GNOME,
> not
> > > > > regular - maybe that has something to do
> with
> > > it?
> > > > >
> > > > > Oh well, I think I'm gonna switch to Gentoo
> > > soon
> > > > > anyway - gonna spend this weekend installing
> my
> > > > > first server.
> > > > >
> > > > > Later
> > > > >
> > > > > Charles
> > > > >
> > > > > /etc/X11/prefdm
> > > > >
> > > > > #!/bin/sh
> > > > >
> > > > >
> > >
> PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
> > > > >
> > > > > # We need to source this so that the login
> > > screens
>
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list