At 15:26 25.03.99 , [EMAIL PROTECTED] wrote:
>_X11TransSocketINETConnect: Can't get address for localhost
>emacs: Cannot connect to X server localhost:0.0.
>Check the DISPLAY environment variable or use -d'.
>Also use the ost' program to verify that it is set to permit
>connections from your machine.
>linux:~$
>
>
>What does all this mean. I get this when I try to run EMACS from a 'users'
>console. I DON't get this when I run as root?

>_X11TransSocketINETConnect: Can't get address for localhost
The error message says that there is a problem in resolving the hostname
'localhost'.
I don't know if this is the real reason for this error.
But try the following:
Try as user and as root if a DISPLAY enviroment variable is set. ( echo
$DISPLAY )
If you want to connect to the X-Server on your machine this should not be
necessary.
look in your /etc/hosts file. There should be an entry for localhost:
--snip
#
# hosts         This file describes a number of hostname-to-address
#               mappings for the TCP/IP subsystem.  It is mostly
#               used at boot time, when no name servers are running.
#               On small systems, this file can be used instead of a
#               "named" name server.
# Syntax:
#    
# IP-Address  Full-Qualified-Hostname  Short-Hostname
#


127.0.0.1       localhost
--snip
If the entry does not exist, !add! it. Leave other entrys as they are.
Try it and tell us what you found out...

raven

I am not a target market
       __  .--.      [EMAIL PROTECTED]
    .-(__)/    \     members.tripod.com/raven_42
   ||' \/ `   \ \    DSS/DH:  0xE68FCB0A
   | |:  :  \ \ \\   2562 D476 EE30 6680 F357
   || '  ' \   \ \\  5498 29F3 CF3F E68F CB0A
   | //..\\       \\ MD5/RSA: 0x76F98FA5
----VV----VV----     B895 9596 3861 9421
   | '/||\`          51D3 F0E7 89FC 1E01
       '``

Reply via email to