Running emacs through ssh problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
I have a small home network running three linux boxes and one wintel
box. All are connected through a Linksys BEFSR11 router and internet,
NFS and samba are all working fine. Here's the setup..
Kiwi - 192.168.1.2 - Web and mail server running RH7.3
Mango - 192.168.1.5 - Files and Print server running Fedora Core 1.
Kahuna - 192.168.1.3 - Fedora Core 1 Workstation
Grape - 192.168.1.4 - Win98 box

Kiwi is headless and I administer it from Kahuna thru ssh using emacs or
vi and everything works well.
I just set up Mango as the file and print server for the network. I did
a custom server install of Fedora on this box. The problem is that I
can't run emacs when I ssh into it from Kahuna and I'm just learning vi.
I can run emacs -nw whateverdoc or emacs -d 127.0.0.1:10 whateverdoc but
if I run emacs whateverdoc I get the following error...

[root@mango root]# emacs whateverdoc
_X11TransSocketINETConnect: Can't get address for localhost
emacs: Cannot connect to X server localhost:10.0.
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it is set to permit
connections from your machine.

Here's some netstat output when I'm on Mango..
[root@mango root]# netstat -nlp |grep 6000
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 5160/X

Here's some netstat output when I'm on Kahuna
[root@kahuna root]# netstat -nlp |grep 6000
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 24094/X

When I'm sitting at Mango console I can ssh into either Kiwi or Kahuna
and run emacs with no problems.

Any ideas?

Thanks,
Zank





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux