[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Headless Ultra1, SSH and X11-forwarding



Tib wrote:

>
>
> On the target host (the one you're ssh'ing to) be sure that sshd_config is
> set to enable:
>
> X11Forwarding yes
>
> On the source host (the one you're ssh'ing from) you can either do a
> manual -X, or change the global ssh_config file to be as follows:
>
> ForwardX11 yes
>
> Not sure if the wording is different for various versions of ssh, just
> search through the config files for X11 and probably uncomment the lines
> and change the options from 'no' to 'yes'. Then bounce sshd on the target
> host.
>
> Test it by ssh'ing to that host again and type 'env|grep display', you
> should see something like the following:
>
> DISPLAY=localhost:10.0
>
> If it's there - you're all done. Just start using x programs and you're
> done :]

Thank you to all who replied.

I changed  "ForwardX11 no"  to  "ForwardX11 yes" in the "/etc/ssh/sshd_config"
file of  "Ultra-headless" and I could open a "xclock" on my "Ultra-desktop" with
the commad "ssh -X -v -l <my_user_name> Ultra-headless xclock". The
".Xauthority"-file of the X-server was automatically generated in my
home-directory.

But there is one nasty thing: When I close the "xclock"-application the  window
on my "Ultra1-desktop" is not released. Instead I get the message:

debug1: channel_free: channel 1: status: The following connections are open:
  #1 x11 (t4 r2 i8/0 o128/0 fd 9/9)

Of course, I can close the connection manually, but I am convinced there is a
better solution for this. Any ideas?

Thnk you all
Friedhelm





Reply to: