From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Dr. Otto Titze" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Wrong Setup Date: Thu, 20 Mar 2003 18:44:18 +0100 Organization: Kernphysik TUD Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3E79FDF2.723E791@ikp.tu-darmstadt.de> References: <3E79DFA8.1650B22@ikp.tu-darmstadt.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1048182374 30107 80.91.224.249 (20 Mar 2003 17:46:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2003 17:46:14 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Mar 20 18:46:12 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18w47I-0007pH-00 for ; Thu, 20 Mar 2003 18:46:12 +0100 Original-Received: (qmail 29255 invoked by uid 5); 20 Mar 2003 17:46:03 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 29242 invoked by uid 49493); 20 Mar 2003 17:46:03 -0000 Original-Received: from titze@ikp.tu-darmstadt.de by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-4.7/5.0):. Processed in 1.777013 secs); 20 Mar 2003 17:46:03 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 20 Mar 2003 17:46:00 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HC200CLI6ONZH@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 20 Mar 2003 12:46:00 -0500 (EST) Original-Received: from linac.ikp.physik.tu-darmstadt.de (linac.ikp.physik.tu-darmstadt.de [130.83.133.2]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with SMTP id <0HC20010N6OGHU@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 20 Mar 2003 12:45:58 -0500 (EST) Original-Received: from ikp.tu-darmstadt.de (titze.ikp.physik.tu-darmstadt.de) by linac.ikp.physik.tu-darmstadt.de (MX V4.2 VAX) with SMTP; Thu, 20 Mar 2003 18:45:44 +0100 (CET) Original-To: A$OSF Tru Managers X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de,en Xref: main.gmane.org gmane.os.tru64.managers:3724 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3724 Thanks to all who replied "Daniel Clar" "Senulis, Joseph A" Warren Sturm "Adametz, Bluejay" Palmer Greg Didier Godefroy 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 | -------------------------------------------