SUMMARY: Wrong Setup

From: Dr. Otto Titze <titze_at_ikp.tu-darmstadt.de>
Date: Thu, 20 Mar 2003 18:44:18 +0100

Thanks to all who replied

"Daniel Clar" <Daniel.Clar_at_supelec.fr>
"Senulis, Joseph A" <Joseph.Senulis_at_dnr.state.wi.us>
Warren Sturm <wrsturm_at_mtroyal.ab.ca>
"Adametz, Bluejay" <bluejay_at_fujigreenwood.com>
Palmer Greg <palmer_greg_at_prc.com>
Didier Godefroy <ldg_at_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_at_ikp.tu-darmstadt.de |
| Tel: +49(6151)16-2916,FAX:16-4321 |
 -------------------------------------------
Received on Thu Mar 20 2003 - 17:46:36 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT