Operating Systems > Linux and UNIX
redhat 7.3
Assw04992:
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:
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:
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.
choasforages:
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
choasforages:
if it does not help you, i can try to guide you through reseting X up and such, its really easy actally
Navigation
[0] Message Index
[#] Next page
Go to full version