SUMMARY: Wrong Setup

From: Dr. Otto Titze (titze@ikp.tu-darmstadt.de)
Date: Thu Mar 20 2003 - 12:44:18 EST


Thanks to all who replied

"Daniel Clar" <Daniel.Clar@supelec.fr>
"Senulis, Joseph A" <Joseph.Senulis@dnr.state.wi.us>
Warren Sturm <wrsturm@mtroyal.ab.ca>
"Adametz, Bluejay" <bluejay@fujigreenwood.com>
Palmer Greg <palmer_greg@prc.com>
Didier Godefroy <ldg@ulysium.net>

Finally the problem solved itsself. I logged out of the root account
and logged in again.

Before, all the hints (s. below) didn't help
always when I tried a command like
xhost + localhost:0.0 or xhost +:0.0
xhost +localhost
I got the the error
"Can connect to the Server"

I tried this in different ways already before:
DISPLAY=xxx.xxx.xxx.xxx:0
export DISPLAY
or
DISPLAY=name
DISPLY=name.domain
I was asked:
Do you have localhost in /etc/hosts ? Yes, I did have.

An interesting remark came from Didier:
I've had similar problems many times, a lot of times it's a problem in
the
/etc/hosts that doesn't have the exact 127.0.0.1 localhost line that it
is
expecting.
I found that you should leave this line to just this couple of things,
perhaps have localhost. with the trailing dot to help sendmail not to
complain about a non-fully qualified localhost domain.
At some point I had added an alias to that line and that broke it in the
way
you're describing, so you could check that hosts file first, and maybe
double-check your /etc/resolv.conf and maybe put local first in
/etc/svc.conf to force /etc/hosts to be checked first, before bind...

Regards
Otto
 -------------------------------------------
| Dr. Otto Titze, Kernphysik TUD |
| Schlossgartenstr. 9, D-64289 Darmstadt |
| titze@ikp.tu-darmstadt.de |
| Tel: +49(6151)16-2916,FAX:16-4321 |
 -------------------------------------------



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:12 EDT