l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Feb 06 14:15

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] can't open display with ssh2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] can't open display with ssh2

On Thu, Feb 06, 2003 at 11:23:47AM -0800, Ken Bloom wrote:
> > Date: Thu, 06 Feb 2003 12:54:29 -0500
> > From: msimons@moria.simons-clan.com
> > Subject: Re: [vox-tech] can't open display with ssh2
> > 
> > On Wed, Feb 05, 2003 at 10:34:54AM -0800, Robin Snyder wrote:
> >   Also note no changes to any files in /etc are needed to get X forwarding
> > working on a Debian system, the -X option does what is needed.
> That is PATENTLY not true if Debian is the server. If Debian is the 
> server, then you NEED to turn X forwarding on in /etc/ssh/sshd_config


  You are correct.  The current woody ssh _requires_ root to make changes to 
/etc/ssh/sshd_config on the side receiving the connection in order for the
server to do its part to setup X11 forwarding (which allows client -X option 
to work).

  When I said changes would just turn on forwarding of X to hosts that
weren't desired, I was thinking of the ForwardX11 option which is
in /etc/ssh/ssh_config which is a different issue.

  I did some tests here and there is no different in debug messages
(even with -vvv) between when X11 forwarding is allowed and disallowed 
on the server side... the main noticeable difference is DISPLAY is not 
set on the remote side.

  So checking sshd_config on the server side is very important.

    Sorry about the error,

> I've configured sshd on Debian before.

  I don't know how long ago in the past but editing sshd_config didn't 
used to be required to forward X connections on debian... -X was not
even needed on the ssh client command... things change over time.
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.