[ale] ssh -X won't work

David Corbin dcorbin at machturtle.com
Wed Jun 18 07:54:13 EDT 2003


I have no idea why, but it has suddenly started working.  I don't remember 
making any changes that weren't tested.  Though I thought I was wasting my 
time, I tried it again to verify what you asked, when I suddenly saw 
"/usr/bin/X11/xauth:  creating new authority file /home/dcorbin/.Xauthority" 
for the first time.  

Sure enough, netstat shows the 6010 port, and DISPLAY is sset.

I wish I knew why, but thanks to everyone for all the help.

On Tuesday 17 June 2003 11:00, Jason Day wrote:
> On Mon, Jun 16, 2003 at 06:09:38PM -0400, David Corbin wrote:
> > You're only partially right.  My permissions are not 0700, but 0755 on
> > the directory.  But, I can ssh to the server just fine, and the
> > permissions are the exact same as they are on a server that works.
>
> Oops, you're right.  I was thinking of using public key authentication,
> which requires the directory permissions to be 0700 (maybe only on some
> versions of OpenSSH?).  Anyway, sorry for the confusion, guess I owe you
> a beer :)
>
> As Dow mentioned, use netstat to check that the ssh server is starting a
> fake X server.  I see from your sshd_config that you are using the
> default X11 offset of 10, so after you "ssh -X server" you should see
> something like this:
>
> jday:spiderman$ netstat -an
> Active Internet connections (servers and established)
> Proto Recv-Q Send-Q Local Address           Foreign Address State
> [snip]
> tcp        0      0 127.0.0.1:6010          0.0.0.0:* LISTEN
>
> If that's there, make sure your firewall rules don't prohibit you from
> connecting to that port.  Try "telnet localhost 6010"; if you get a
> connection refused, or if it just hangs, check your firewall rules.
>
> HTH,
> Jason
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list