News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

X11 forwarding through SSH

Started by locutus, January 16, 2011, 07:26:58 PM

Previous topic - Next topic

locutus

First off i am not asking for help doing this, i have tried and given up but i just wanted to see if anyone has been able to do this.

I mainly took on trying to do this because a friend said i couldn't but the internet said it is possible so i thought id try. I decided to do it from my mac to my core. I started by installing OpenSSH server on my core, then editing ssh_config and sshd_config to allow X11 forwarding. Then i logged into my core from my mac and i set the display variable to "1" since x was already running on "0". Finally i used the command xeyes to open that application and it gave me the error cant start display. I also tried startx but instead of starting a session on my mac it just started a new x session on the core.

So i was stumped and gave up, but maybe someone can see my error.

Marie.O

Easiest way is to initiate the connection to the ssh server with
ssh -Y hostname
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]