Re: Re: [Nolug] RH 9 problems

From: jdtiede_at_bellsouth.net
Date: Tue, 10 Jun 2003 21:43:06 -0400
Message-Id: <20030611014219.LJJQ26379.imf23aec.bellsouth.net@mail.bellsouth.net>

If users try to startx from the console, it times out.

There is no *kdm in /etc/rc.6; the closest thing to it is K15gpm. The only kpms are in /etc/etc/kde, /etc/kde, and /usr/bin, but these are without prefix.
============================================================
From: Ron Johnson <ron.l.johnson@cox.net>
Date: 2003/06/10 Tue PM 08:39:53 EDT
To: NOLUG ML <nolug@joeykelly.net>
Subject: Re: Re: [Nolug] RH 9 problems

On Tue, 2003-06-10 at 16:24, jdtiede@bellsouth.net wrote:
> Normal user can log in only in text mode. Apparently init is available
> only to root; I got it to run when I switched to root.

Init only available to root?? But init is only executed at boot.

Ok, now that lusers can log in at the console, what happens when
they run startx?

Or did you get to a login prompt by Ctrl-Alt-F1? If so, you must,
as root, go to /etc/rc6.d, find whatever file matches *kdm, and
(presuming it is K05kdm), do:
# ./K05kdm stop
# mv K05kdm k05kdm
# cd ../rc3.d
(Find whatever file matches *kdm)
(Presuming that it is S95kdm : )
# mv S95kdm s95kdm
# shutdown -t1 now -r

You should boot up into comsole mode. Then, have a luser log in
and type:
$ startx

If XFree starts up and the desktop appears and works, then we know
that the problem is with kdm. If not, then look at the bottom of
~/.xsession-errors to see what problem luser is having.

> ============================================================
> From: Ron Johnson <ron.l.johnson@cox.net>
> Date: 2003/06/10 Tue PM 05:13:19 EDT
> To: NOLUG ML <nolug@joeykelly.net>
> Subject: Re: Re: [Nolug] RH 9 problems
>
> On Tue, 2003-06-10 at 16:00, jdtiede@bellsouth.net wrote:
> > Ctrl-Alt-F1 brings up bash, but init 3 brings "command not found."
>
> Does this mean that you *can* log in as a normal user from the
> console?
>
> > ============================================================
> > From: the Professor <nyghtgolem@bigplanet.com>
> > Date: 2003/06/10 Tue PM 03:41:24 EDT
> > To: nolug@joeykelly.net
> > Subject: Re: Re: [Nolug] RH 9 problems
> >
> > in redhat, hold the left CTRL and ALT keys, and hit F1 to get a text mode
> > login prompt.
> >
> > See if you can log in that way. If you can, you can switch the current run
> > level to 3 by using init 3.
> >
> > you can also do this at boot up through grub by passing the kernel the
> > parameter: 3
> >
> > ~
> >
> > ----- Original Message -----
> > From: <jdtiede@bellsouth.net>
> > To: <nolug@joeykelly.net>
> > Sent: Tuesday, June 10, 2003 2:39 PM
> > Subject: Re: Re: [Nolug] RH 9 problems
> >
> >
> > > I'm not sure what kdm is. I get a log-on screen (through x), then a
> > password screen, then a wait and finally the long message.
> > > ============================================================
> > > From: Ron Johnson <ron.l.johnson@cox.net>
> > > Date: 2003/06/10 Tue PM 03:20:12 EDT
> > > To: NOLUG ML <nolug@joeykelly.net>
> > > Subject: Re: Re: [Nolug] RH 9 problems
> > >
> > > On Tue, 2003-06-10 at 13:11, jdtiede@bellsouth.net wrote:
> > > > id:3:initdefault: made no difference. The non-root logins still
> > > > produce the same message. The first time as root was slow, but
> > > > when I did it again it was at normal speed.
> > >
> > > Is kdm still coming up?
> > >
> > > > ============================================================
> > > > From: "Dave Prentice" <prentice@instruction.com>
> > > > Date: 2003/06/10 Tue PM 01:04:54 EDT
> > > > To: <nolug@joeykelly.net>
> > > > Subject: Re: Re: [Nolug] RH 9 problems
> > > >
> > > > It would be a good idea to first copy it to something like inittab.sav
> > > > before editing. Then if it's badly messed up you could probably still
> > > > boot as "linux single" and copy the inittab.sav file back to inittab.
> > > > Dave Prentice
> > > > prentice@instruction.com
> > > > http://www.originsresource.org
> > > > -----Original Message-----
> > > > From: -ray <ray@ops.selu.edu>
> > > > To: nolug@joeykelly.net <nolug@joeykelly.net>
> > > > Date: Tuesday, June 10, 2003 11:13 AM
> > > > Subject: Re: Re: [Nolug] RH 9 problems
> > > >
> > > >
> > > > >
> > > > >Edit your /etc/inittab file, look for the initdefault line towards
> > > > the
> > > > >top. Change it from 5 to 3, so it looks something like
> > > > >
> > > > >id:3:initdefault:
> > > > >
> > > > >Then easiest thing is to reboot to get the changes. Login at the
> > > > text
> > > > >console and try 'startx'. Be careful editing this file, it's pretty
> > > > >critical... if you hose it up you could be in trouble. :) Has
> > > > anyone
> > > > >found a safer way to edit inittab? AIX has chitab which will not let
> > > > you
> > > > >screw up inittab.
> > > > >
> > > > >-ray
> > > > >
> > > > >
> > > > >On Tue, 10 Jun 2003 jdtiede@bellsouth.net wrote:
> > > > >
> > > > >> Since I'm using KDE, I assume it's kdm I need to turn off, but HOW?
> > > > >> ============================================================
> > > > >> From: Ron Johnson <ron.l.johnson@cox.net>
> > > > >> Date: 2003/06/10 Tue AM 02:55:05 EDT
> > > > >> To: NOLUG ML <nolug@joeykelly.net>
> > > > >> Subject: Re: [Nolug] RH 9 problems
> > > > >>
> > > > >> On Mon, 2003-06-09 at 23:12, jdtiede@bellsouth.net wrote:
> > > > >> > This didn't happen at first, but now I can only log in as
> > > > root.
> > > > >> > This message appears when I try as non-root: "Your session only
> > > > >> > lasted less than 10 seconds. If you have not logged out yourself,
> > > > >> > this could mean that there is some installation problem or that
> > > > you
> > > > >> > may be out of diskspace. Try logging in with one of the failsafe
> > > > >> > sessions to see if you can fix this problem."
> > > > >>
> > > > >> How about turning gdm (or xdm or kdm) off, and rebooting.
> > > > >>
> > > > >> That should bring you to a console login, so that you can see
> > > > >> if the problem is with login or X or [gxk]dm or whatever.

-- 
+-----------------------------------------------------------+
| Ron Johnson, Jr.     Home: ron.l.johnson@cox.net          |
| Jefferson, LA  USA   http://members.cox.net/ron.l.johnson |
|                                                           |
| Regarding war zones: "There's nothing sacrosanct about a  |
| hotel with a bunch of journalists in it."                 |
|     Marine Lt. Gen. Bernard E. Trainor (Retired)          |
+-----------------------------------------------------------+
___________________
Nolug mailing list
nolug@nolug.org
============================================================
___________________
Nolug mailing list
nolug@nolug.org
Received on 06/10/03

This archive was generated by hypermail 2.2.0 : 12/19/08 EST