You are not logged in.
Hey, I have the following trouble:
I have a server with Xauth installed and forewarding enabled. However, I seem to get the following massage after running ssh -X $host xclock:
Error: Can't open display: localhost:10.0
Here's my server's /etc/ssh/sshd_config file:
#Port 22
ListenAddress 0.0.0.0
#ListenAddress ::Protocol 2
ChallengeResponseAuthentication no
UsePAM yes
XAuthLocation /usr/bin/xauth
AllowAgentForwarding yes
AllowTcpForwarding yes
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yesSubsystem sftp /usr/lib/ssh/sftp-server
Any help is much appriciated!
EDIT:
Tried setting AllowX11Forwarding yes in the /etc/ssh/sshd2_config file, but it didn't help
Last edited by Greenstuff (2010-01-16 13:16:55)
Offline
I always had to do 'xhost +' w/out quotes on the client machine. Try that and see if that helps.
Nope, problem persists
Offline
Ok, I talked to people at IRC. Finally one gave me the answer: I needed to put this in /etc/hosts:
127.0.0.1 localhost
This fixed it for me.
Offline