1 |
On 09/06/10 09:58, Alex Schuster wrote: |
2 |
> Jake Moe writes: |
3 |
> |
4 |
> |
5 |
>> jmoe@aus10224 ~ $ ssh -Y jhb5970 |
6 |
>> Password: |
7 |
>> Last login: Wed Jun 9 08:05:09 EST 2010 from 192.168.0.114 on pts/0 |
8 |
>> jmoe@jhb5970 ~ $ firefox |
9 |
>> Error: no display specified |
10 |
>> jmoe@jhb5970 ~ $ konqueror |
11 |
>> konqueror: cannot connect to X server |
12 |
>> jmoe@jhb5970 ~ $ |
13 |
>> |
14 |
> Try "echo $DISPLAY", this should give something like localhost:10.0. If it |
15 |
> is empty, the forwarding did not work. I guess you have to set |
16 |
> X11Forwarding to yes in /etc/ssh/sshd_config on jhb5970, and restart ssh |
17 |
> with /etc/init.d/sshd restart. /etc/init.d/sshd reload should also work. |
18 |
> |
19 |
> Wonko |
20 |
> |
21 |
> |
22 |
Excellent, thanks for that. I had read about that config option, but it |
23 |
sounded like it only needed to be set if you wanted all ssh connections |
24 |
globally to have X11Forwarding turned on, or you use ssh -Y for a single |
25 |
connection. |
26 |
|
27 |
Jake Moe |