[H-GEN] redhat 8.0 gnome and now can't login in
Johann
johann at spot-the-dog.com
Tue Feb 25 17:31:47 EST 2003
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
Thanks for the reply,
Tony Nugent wrote:
...
>I know you have it "working", but do this anyway...
well, I think working is a lose term here, I still get the following
error when I issue "xhost +" -> xhost: unable to open display on ""
which makes me surprised that kde works, unless xhost is used solely for
remote logins. Either way I should be able to set xhost to any valid
host and I can't, so I take this as symptoms of deeper problems than
just gnome being naughty.
> Put /etc/hosts into your editor and make sure that the line for
> 127.0.0.1 resolves exactly like this:
>
>127.0.0.1 localhost.localdomain localhost hostname.mydomain.com.au hostname
>
> Substitute "hostname.mydomain.com.au" and "hostname" with whatever
> you are using for your box's hostname and fqdn.
>
>
yep, tried that to no avail.
> The order is also important... subtle differences occur if you put
> the "localhost.localdomain" entries at the end of the line.
>
>
I've noticed that sometimes redhat puts the line as 127.0.0.1 hostname
localhost.localdomain to which I have normally changed it back too
127.0.0.1 localhost localhost.localdomain and then a separate line for
the fqdn , ipaddress and hostname that I ran the machine as (as per your
point below).
> You may then have another line specifying an IP you are using that
> also resolves to your hostname and fqdn.
>
> Next time you change your host's name, change it there and also in
> /etc/sysconfig/network to make it permanent (after next reboot).
>
>
yeah, I've been checking that file to ensure all files are updated.
>Sometimes it is also useful to have "multi on" in /etc/host.conf
>(especially for a multi-homed box). The man pages should give you
>more scoop about this.
>
>
I've always set /etc/host.conf to "order hosts,bind" I now have
inserted "multi on" , does not seem to help.
>Now try gnome again, it might work after doing all that. And it
>might also prevent other weird quirks also blowing up in your face
>along the way.
>
>Can you let me (us?) know if this does (or does not) fix the problem?
>
most certainly : )
Double checking things, I have found an error in my hosts file in that
I spelt localdomain as localdoman - doh!, (so I fixed this and also
changed it so I have the 127.0.0.1 ... on one line and the my assigned
hostname, ip etc on a separate line) I restarted x-windows, gnome
started to load, gave an error about not being able to load some
services, and proceeded to start loading some of the gnome services,
until about 5 secs later the screen went blank. Well at least that is
further progess that before. I rebooted the machine so see how gnome
would load from a fresh boot, but I get the same error I got initially,
so back to squae one.
I then tried playing around with the hosts file again, this time as you
suggested 127 ... etc plus my assigned fqdn and hostname on the same
line. This time I get a little further with gnome, I get to the
desktop, but there is nothing on it. I reboot the machine and log in
afresh, now I am back to square one again. Each time I cannot alter the
xhost entries, I always get "xhost: unable to open display on "" , so I
am wondering what is the difference between gnome and kde. With every
setting, even when I had misspelled domain, kde would still work.
cheers
Johann
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'. See http://www.humbug.org.au/
More information about the General
mailing list