Re: getting ssh -X to work. (Was: sane access for non-root user)
On Wed, 14 Dec 2005, email@example.com wrote:
> On Tue, Dec 13, 2005 at 02:28:18PM -0500, Brad Sawatzky wrote:
> > A quick workaround to initialize an up-to-date login environment is to
> > 'ssh -X localhost' from within a local shell...
> I just tried that on my sarge system., whose ssh documentation does
> mention ssh. But in the new shell
> env did not give me an entry for DISPLAY
> emacs opened in text mode
> xjig said
> can't open display ''
> Evidently, something more is needed than just ssh -X localhost.
> some additional package maybe?
No, odds are sshd is just set to disable X11 forwarding. Add/change the
in '/etc/ssh/sshd_config' and restart sshd (as root)
(That won't affect any existing ssh sessions.)