Re: xhost+ and assigning a remote console to Xwindows
On Saturday 02 July 2005 09:52 pm, lucinda westover wrote:
> I am setting xhost+ and need to know how to assign a remote server to my
> local console.
On the remote end:
And run your X apps. *HOWEVER* this is a really bad idea for many reasons, not
the least being that you open yourself up to potential attacks against X. If
you run SSH on both ends, you can tunnel X connections automagically by
enabling X forwarding.
Edit /etc/ssh/sshd_config on the remote host, and set "X11Forwarding" to
"yes". Restart ssh (as root: /etc/init.d/ssh restart).
Log out of the remote host. SSH in to it with: ssh -X remote_ip_here