View previous topic :: View next topic |
Author |
Message |
Tuxuser Tux's lil' helper
Joined: 28 Oct 2002 Posts: 136 Location: Solingen / Germany
|
Posted: Sun Nov 24, 2002 5:09 pm Post subject: ssh and X11 works only locally |
|
|
Hi!
I setup ssh and tried to use X11 remotely. It doesn't work hence I need your help.
ForwardX11 in ssh_config is set to yes and it works when I try ssh -X user@192.168.0.1 locally. It also accepts the request for a X11 session when using it from the local machine and the dynamic ip address i.e. ssh -X user@80.123.456.7 but exporting the display doesn't seem to succeed. Doing this from a different machine the ssh server denies X11 forwarding totally.
Any ideas how to solve this?
Thanks |
|
Back to top |
|
|
theneopro Tux's lil' helper
Joined: 08 Aug 2002 Posts: 90
|
Posted: Mon Nov 25, 2002 3:06 am Post subject: forwadinh X11 |
|
|
Okay you did do a killall -HUP sshd
also the server side as well as the client must be setup for this.
X11fowarding yes on server
then do the killall
client side:
export Display={server IP}:0.0
and edit ssh_config to forwaingX11 yes
both must be done and reset. _________________ ___________________________________
- The Rain Forest,
That sounds wet!!!! |
|
Back to top |
|
|
sleazyrob n00b
Joined: 11 Jun 2002 Posts: 8 Location: Leeds / Manchester / London UK
|
Posted: Tue Nov 26, 2002 12:51 pm Post subject: |
|
|
..and for extra diag messages use the -v flag.
You'll see "X11 forwarding [rejected/accepted] by remote host" or something similar. _________________ --
Robert N Wood
rob@rnwood.co.uk |
|
Back to top |
|
|
Tuxuser Tux's lil' helper
Joined: 28 Oct 2002 Posts: 136 Location: Solingen / Germany
|
Posted: Fri Nov 29, 2002 9:28 am Post subject: Thanks |
|
|
I was some days offline. My fault was that I didn't realize that xforwarding has to be set on the client, too.
Thanks |
|
Back to top |
|
|
|