X11 forwarding?
X11 forwarding?
- Subject: X11 forwarding?
- From: RCohen <email@hidden>
- Date: Wed, 2 Jul 2003 15:36:56 -0700
You'll need to turn on X11 forwarding on the machine you want
to forward FROM by editing the file
/private/etc/sshd. (You'll need to do this as root, e.g.
via sudo -s).
Make sure you have the following lines present and uncommented (no # in
front)
X11Forwarding yes
X11DisplayOffset 10
I also have
X11UseLocalhost yes
but don't know if that is necessary.
You'll need to restart sshd after doing this (e.g. by rebooting).
On the machine you are forwarding TO, in your home directory, s
subdirectory .ssh, you need a file "config". It should have
in it the line,
ForwardX11 yes
This can be done by you as you (don't need to be root), and just needs
to be done before invoking ssh (no reboot required).
I don't recall if OS X installs with a .ssh directory and a config
file therein. If not you can create the .ssh directory, and copy
into it the file /private/etc/ssh_config (which you'll rename as
config). You then need to edit this file, removing the #'s and
changing the "no"'s on the first two lines to "yes". Caveats:
remove the #'s on only one of the lines marked "IdentityFile";
I use the one with ~/.ssh/identity. And you can (should?) keep
commented the line that starts with "Ciphers".
-Ron Cohen-
Alexander Schrieken writes:
> Hi everybody,
>
> One of the nice tricks one can perform with X11
> is supposed to be forwarding from one machine to
> another. Now I've got two MacOS X machines with
> Apple X11 installed on both, but can't get it to
> work.
>
> How exactly can I forward the screen output of an
> application on machine A to machine B? (I tried
> entering "ssh -X user@machine_A" in a terminal
> window on machine B, but don't see anything
> happening...)
>
> Could anyone guide me through this -- or at least
> point me in the right direction?
>
> TIA,
>
>
> Alexander
> The Netherlands
> _______________________________________________
> x11-users mailing list | email@hidden
> Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
> X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
> Report issues, request features, feedback: http://developer.apple.com/bugreporter
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.