|
Home > Archive > Red Hat Configuration > January 2004 > Newbie > Cannot enter KDE or Gnome
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Newbie > Cannot enter KDE or Gnome
|
|
| Alexander I. Chein 2004-01-23, 7:12 pm |
| I installed redhat 9 & completed it.
I tried to logiin to KDE or GNOME either as a user or as
root.
I know I am entering the right password etc. The system
tries to open the KDE or Gnome (the hourglass rotates for a while)
but then I get returned to the login screen again.
No reason is displayed.
My guess is the Xconfig in incorrect.
How can I fix this, that is how can I enter the command console ?
Also I tried to type X or Xconfig etc but none of them worked
Thanks
| |
| Gareth Williams 2004-01-23, 7:12 pm |
| > > Also I tried to type X or Xconfig etc but none of them worked
Once you get to the console using William's suggestion the command you are
looking for in redhat 9.0 is:
redhat-config-xfree86
and that should allow you to configure X.
If you are having repeated problems, I sometimes find it useful to edit the
inittab file in /etc and change the default init level from 5 to 3, this
means that it will always boot into text only no GUI mode, then to test X
type startx at the command prompt, if it fails to start it will drop you
back to the command prompt and give you some info as to why it failed. Once
you've finished diagnosing everything you can simply edit the inittab file
and put the default init level back to 5.
You need to be root to edit the inittab file and I'll leave it up to you
which editor you use, if you attempt to use vi to do it thats a whole
learning curve in it's own right! but as a quick guide you use it like this:
cd /etc
vi inittab (Opens the file)
use the cursor keys to navigate to the correctline and position (in this
example the line that reads id:5:initdefault)
press I on the keyboard to enter (I)nsert mode
insert your chracters (in this example the number 3)
press esc to exit insert mode
move the cursor over the remaining number 5 and press 'X' to delete it.
press esc to exit delete mode
press :w to write the file (note there is a colon in there)
press :q to quit (also a colon)
(or you could do :wq to do it in one fell swoop)
or to quit without saving changes in case you make a mess use :q!
Hope this helps and doesn't totally confuse you, vi is a bit of a b*tch to
start with but very powerful once you know all the commands, and useful when
confined to the command line.
Gaz.
| |
| William 2004-01-23, 7:12 pm |
| You should have a couple of Character consoles available. Try Alt-F1 and
see if that gets you a character login. Alt-F2 is usually the GUI login,
and then Alt-F3 thru Alt-F6 will give you character logins as well. From
one of these you should be able to re-configure your X set-up.
Good Luck.
HTH.
Alexander I. Chein wrote:quote:
> I installed redhat 9 & completed it.
> I tried to logiin to KDE or GNOME either as a user or as
> root.
> I know I am entering the right password etc. The system
> tries to open the KDE or Gnome (the hourglass rotates for a while)
> but then I get returned to the login screen again.
> No reason is displayed.
> My guess is the Xconfig in incorrect.
> How can I fix this, that is how can I enter the command console ?
> Also I tried to type X or Xconfig etc but none of them worked
>
> Thanks
>
>
>
--
/* ========================================
======================= */
I know you believe you understand what you think I said, but I am not
sure you realize that what you heard was not what I meant.
William E Colls President
Tel 613 591 0079 PROComputer Systems
Fax 613 591 3924 67 Willow Glen Dr.
www.procomsys.com Kanata Ontario K2M 1T1
Specialists in Progress Database systems since 1986
| |
| Gareth Williams 2004-01-23, 7:12 pm |
| > > Also I tried to type X or Xconfig etc but none of them worked
Once you get to the console using William's suggestion the command you are
looking for in redhat 9.0 is:
redhat-config-xfree86
and that should allow you to configure X.
If you are having repeated problems, I sometimes find it useful to edit the
inittab file in /etc and change the default init level from 5 to 3, this
means that it will always boot into text only no GUI mode, then to test X
type startx at the command prompt, if it fails to start it will drop you
back to the command prompt and give you some info as to why it failed. Once
you've finished diagnosing everything you can simply edit the inittab file
and put the default init level back to 5.
You need to be root to edit the inittab file and I'll leave it up to you
which editor you use, if you attempt to use vi to do it thats a whole
learning curve in it's own right! but as a quick guide you use it like this:
cd /etc
vi inittab (Opens the file)
use the cursor keys to navigate to the correctline and position (in this
example the line that reads id:5:initdefault)
press I on the keyboard to enter (I)nsert mode
insert your chracters (in this example the number 3)
press esc to exit insert mode
move the cursor over the remaining number 5 and press 'X' to delete it.
press esc to exit delete mode
press :w to write the file (note there is a colon in there)
press :q to quit (also a colon)
(or you could do :wq to do it in one fell swoop)
or to quit without saving changes in case you make a mess use :q!
Hope this helps and doesn't totally confuse you, vi is a bit of a b*tch to
start with but very powerful once you know all the commands, and useful when
confined to the command line.
Gaz.
| |
| Jack N. Etheredge 2004-01-23, 7:13 pm |
| William wrote:quote:
> You should have a couple of Character consoles available. Try Alt-F1 and
> see if that gets you a character login. Alt-F2 is usually the GUI login,
> and then Alt-F3 thru Alt-F6 will give you character logins as well. From
> one of these you should be able to re-configure your X set-up.
>
> Good Luck.
>
> HTH.
>
> Alexander I. Chein wrote:
>
>
>
When you boot you are given an opportunity to enter interactive mode.
You can then set the run level to 3 to get a console.
| |
| Jack N. Etheredge 2004-01-23, 7:13 pm |
| William wrote:quote:
> You should have a couple of Character consoles available. Try Alt-F1 and
> see if that gets you a character login. Alt-F2 is usually the GUI login,
> and then Alt-F3 thru Alt-F6 will give you character logins as well. From
> one of these you should be able to re-configure your X set-up.
>
> Good Luck.
>
> HTH.
>
> Alexander I. Chein wrote:
>
>
>
When you boot you are given an opportunity to enter interactive mode.
You can then set the run level to 3 to get a console.
|
|
|
|
|