Author Topic: redhat 7.3  (Read 528 times)

Assw04992

  • Newbie
  • *
  • Posts: 4
  • Kudos: 0
    • http://www.allansworld.org
redhat 7.3
« on: 20 August 2002, 04:45 »
ive installed redhat 7.3 and everything was going great till I change localhost.localdomain to something else.  
Now it asks me to login in a command prompt screen with no gui at all (being a linux novice, I have no idea how to start the gui from here)

Please help

Allan
x

Assw04992

  • Newbie
  • *
  • Posts: 4
  • Kudos: 0
    • http://www.allansworld.org
redhat 7.3
« Reply #1 on: 20 August 2002, 05:03 »
ok, i was browsing the forum and found a similar problem.

I typed "Startx"  

and then got the error "no screens found"

Plz help before i install xp again, I dont want to!

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
redhat 7.3
« Reply #2 on: 20 August 2002, 08:45 »
And how/where did you change the host name?  There are several things that depend on the name and there are more than one place where the host name is defined.  There is the command "hostname" that you can change the name of your server, which should match the entries in the "/etc/hosts" and "/etc/sysconfig/network".  

In addition to that, there may be other places where the name of your server is used and could cause problems if you change the system but not the config files. Those would be Apache and Sendmail configurations to name a couple.

Now I certainly wouldn't want to discourage you from changing your machine name as I do it regularly.
Someone please remove this account. Thanks...

choasforages

  • VIP
  • Member
  • ***
  • Posts: 1,729
  • Kudos: 7
    • http://it died
redhat 7.3
« Reply #3 on: 20 August 2002, 21:37 »
ahhh, i think you have a /etc/hosts problem, well, you can have more then one entry in there, just for example, here is my /etc/hosts config


# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1      choasnet_7.3 choasnetv73  localhost.localdomain localhost choasnet_v7 choasnetv_7.3 choasnet_v7.3


so just add the localhost.localdomain in the /etc/hosts

now, as to how to do that

at the login prompt type in your name

and it should prompt for you password, type it in


then type in

su
and enter the root password

the type in

vi /etc/hosts

then hit the i key once

and scroll down to the entry and add localhost.localdomain on the entry

then hit escape key, then hold shift down and hit z twice
then type into the console
reboot

and it should come back with a graphical login on reboot, i hope this helps you
x86: a hack on a hack of a hackway
alpha, hewlett packed it A-way
ppc: the fruity way
mips: the graphical way
sparc: the sunny way
4:20.....forget the DMCA for a while!!!

choasforages

  • VIP
  • Member
  • ***
  • Posts: 1,729
  • Kudos: 7
    • http://it died
redhat 7.3
« Reply #4 on: 20 August 2002, 21:38 »
if it does not help you, i can try to guide you through reseting X up and such, its really easy actally
x86: a hack on a hack of a hackway
alpha, hewlett packed it A-way
ppc: the fruity way
mips: the graphical way
sparc: the sunny way
4:20.....forget the DMCA for a while!!!

Assw04992

  • Newbie
  • *
  • Posts: 4
  • Kudos: 0
    • http://www.allansworld.org
redhat 7.3
« Reply #5 on: 20 August 2002, 14:11 »
Vi Solution didnt help work :'(

Plz help reset x

Allan
x

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
redhat 7.3
« Reply #6 on: 20 August 2002, 20:09 »
quote:
Originally posted by Assw04992:
Vi Solution didnt help work :'(

Plz help reset x

Allan
x



What *exactly* did you change before it stopped working and how in what file using what editor or command?  If you answer my questions I can help you fix it.
Someone please remove this account. Thanks...

Assw04992

  • Newbie
  • *
  • Posts: 4
  • Kudos: 0
    • http://www.allansworld.org
redhat 7.3
« Reply #7 on: 21 August 2002, 20:26 »
Sorry voidmain, I really cant remember, I think it was in the dialog where you setup your network card properties (etho 1, 2 , 0 etc)

Thats the only clue I can give.

Thanks for all your help above, you are all nice people here    im glad to be part of the forum.

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
redhat 7.3
« Reply #8 on: 21 August 2002, 21:06 »
what about /var/log/XFree86.0.log?
Could you look in there then go to the end(where the error 'no screens found' should be seen) and look to see if there was any other error before that.
open up /var/log/XFree86.0.log in less:
less /var/log/XFree86.0.log
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'