RE: Some servers do not forward X11, but I do not know why.
- From: "Young, Randy" <RWYoung@xxxxxxxxxxxx>
- Date: Wed, 7 Dec 2005 08:50:22 -0800
The first question I have is did you set xhost to allow the other server
in? Normally setting "xhost +" is not a good idea, it's a security
hole, so I usually do "xhost servername" to allow it in, and when done I
"xhost -servername" to remove it.
Randy
-----Original Message-----
From: Christopher L. Barnard [mailto:cbar44@xxxxxxxxxxxx]
Sent: Tuesday, December 06, 2005 8:25 AM
To: secureshell@xxxxxxxxxxxxxxxxx
Cc: Christopher L. Barnard
Subject: Some servers do not forward X11, but I do not know why.
I do not have newsgroup access, so I cannot pose this question on
comp.security.ssh. The mailing list archives do not appear to have a
solution. Hopefully you can help me.
I have two identical Sun Solaris 9 servers. Both are running OpenSsh
version 4.2p1. Both have identical ssh_config and sshd_config files.
One allows me to run X programs and they are displayed back on my
desktop.
The other one reports
Error: Can't open display:
What am I missing to force this server to set the DISPLAY variable so
that
X11 will be forwarded? As I say the ssh_config and sshd_config files
are identical with a server that works, and in particular ssh_config:
ForwardX11 yes
and sshd_config:
X11Forwarding yes
X11UseLocalhost no
+-----------------------------------------------------------------------
+
| Christopher L. Barnard O When I was a boy I was told that
|
| cbarnard@xxxxxxxxxxxx / \ anybody could become president.
|
| (312) 347-4901 O---O Now I'm beginning to believe it.
|
| http://www.cs.uchicago.edu/~cbarnard --Clarence Darrow
|
+----------PGP public key available via finger or PGP
+keyserver---------+
- Follow-Ups:
- Re: Some servers do not forward X11, but I do not know why.
- From: Derek Martin
- Re: Some servers do not forward X11, but I do not know why.
- From: Vladimir Levijev
- Re: Some servers do not forward X11, but I do not know why.
- Prev by Date: Re: Some servers do not forward X11, but I do not know why.
- Next by Date: X11 forwarding problem
- Previous by thread: Re: Some servers do not forward X11, but I do not know why.
- Next by thread: Re: Some servers do not forward X11, but I do not know why.
- Index(es):
Relevant Pages
|