View previous topic :: View next topic |
Author |
Message |
ThorstenHirsch Tux's lil' helper
Joined: 25 Sep 2003 Posts: 111
|
Posted: Fri Aug 13, 2004 10:22 am Post subject: X11 forwarding |
|
|
Hi.
I want everybody on every host (I'm in a secure environment) to be able to send X11 windows to my host, just with setting the DISPLAY variable. How can I do that?
I've tried so far the following things:
-activate XForwarding in ssh_config
-activate XAgent in ssh_config
-xhost + on my Xorg-Session
-"-nolisten tcp" removed in startx
-"ssh -X -Y"
-"export DISPLAY=myhost:0.0"
But I always get the "unable to open display" error
Thorsten |
|
Back to top |
|
|
oizone n00b
Joined: 11 Feb 2004 Posts: 55 Location: Finland
|
Posted: Fri Aug 13, 2004 10:30 am Post subject: |
|
|
you need to put
to sshd_config at the server side and restart sshd
and you don't need to remove the -nolisten tcp and I suggest you put it back to make it more secure. also xhost + is not needed.
Last edited by oizone on Fri Aug 13, 2004 10:31 am; edited 1 time in total |
|
Back to top |
|
|
gnuageux Veteran
Joined: 17 Apr 2004 Posts: 1201
|
Posted: Fri Aug 13, 2004 10:31 am Post subject: |
|
|
This is something thats enabled by default on other distros, Ive never toyed with it on g2. Its disabled by default?? _________________ The realOTW: http://forums.realotw.org/index.php
Registered Linux user#364538 |
|
Back to top |
|
|
ThorstenHirsch Tux's lil' helper
Joined: 25 Sep 2003 Posts: 111
|
Posted: Fri Aug 13, 2004 11:28 am Post subject: |
|
|
@oizone: X11Forwarding was already enabled on the server
...the whole thing already works with other clients; only within gentoo it isn't working, yet. |
|
Back to top |
|
|
gnuageux Veteran
Joined: 17 Apr 2004 Posts: 1201
|
|
Back to top |
|
|
ThorstenHirsch Tux's lil' helper
Joined: 25 Sep 2003 Posts: 111
|
Posted: Fri Aug 13, 2004 11:37 am Post subject: |
|
|
@gnuageux: Well, thank you for the link, but I've already enabled XDMCP, too. And XDMCP is working very well, I've no problems using Exceed.
Oh, you just edited your posting. Well, as I mentioned, I also typed in xhost+ within the Xorg-Session I want to use. |
|
Back to top |
|
|
gnuageux Veteran
Joined: 17 Apr 2004 Posts: 1201
|
Posted: Fri Aug 13, 2004 11:40 am Post subject: |
|
|
Oh youre using xorg not xfree, sorry - missed that. _________________ The realOTW: http://forums.realotw.org/index.php
Registered Linux user#364538 |
|
Back to top |
|
|
ThorstenHirsch Tux's lil' helper
Joined: 25 Sep 2003 Posts: 111
|
Posted: Fri Aug 13, 2004 11:46 am Post subject: |
|
|
But that doesn't matter. Xorg 6.7.0 = XFree86 4.4rc2 (or even rc3). |
|
Back to top |
|
|
|