tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Wrong Setup
@ 2003-03-20 15:35 Dr. Otto Titze
  2003-03-20 17:44 ` SUMMARY: " Dr. Otto Titze
  0 siblings, 1 reply; 2+ messages in thread
From: Dr. Otto Titze @ 2003-03-20 15:35 UTC (permalink / raw)


Hi, 

I need quick help: In some setup (Net, DNS ?) I obviously made an error.
Now when trying another setup I get the message
"Error: couldn't connect to display
":0.0"
while initializin application( (TclAppInit)

Somewhere my IP Adress is obviously missing. How can I correct this on
the comannd line level?

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        |
 -------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

* SUMMARY: Wrong Setup
  2003-03-20 15:35 Wrong Setup Dr. Otto Titze
@ 2003-03-20 17:44 ` Dr. Otto Titze
  0 siblings, 0 replies; 2+ messages in thread
From: Dr. Otto Titze @ 2003-03-20 17:44 UTC (permalink / raw)


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        |
 -------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-20 17:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-20 15:35 Wrong Setup Dr. Otto Titze
2003-03-20 17:44 ` SUMMARY: " Dr. Otto Titze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox