Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X11 forwarding
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ThorstenHirsch
Tux's lil' helper
Tux's lil' helper


Joined: 25 Sep 2003
Posts: 111

PostPosted: Fri Aug 13, 2004 10:22 am    Post subject: X11 forwarding Reply with quote

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
View user's profile Send private message
oizone
n00b
n00b


Joined: 11 Feb 2004
Posts: 55
Location: Finland

PostPosted: Fri Aug 13, 2004 10:30 am    Post subject: Reply with quote

you need to put
Code:

X11Forwarding yes

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
View user's profile Send private message
gnuageux
Veteran
Veteran


Joined: 17 Apr 2004
Posts: 1201

PostPosted: Fri Aug 13, 2004 10:31 am    Post subject: Reply with quote

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
View user's profile Send private message
ThorstenHirsch
Tux's lil' helper
Tux's lil' helper


Joined: 25 Sep 2003
Posts: 111

PostPosted: Fri Aug 13, 2004 11:28 am    Post subject: Reply with quote

@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
View user's profile Send private message
gnuageux
Veteran
Veteran


Joined: 17 Apr 2004
Posts: 1201

PostPosted: Fri Aug 13, 2004 11:36 am    Post subject: Reply with quote

xhost +

??
_________________
The realOTW: http://forums.realotw.org/index.php

Registered Linux user#364538
Back to top
View user's profile Send private message
ThorstenHirsch
Tux's lil' helper
Tux's lil' helper


Joined: 25 Sep 2003
Posts: 111

PostPosted: Fri Aug 13, 2004 11:37 am    Post subject: Reply with quote

@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
View user's profile Send private message
gnuageux
Veteran
Veteran


Joined: 17 Apr 2004
Posts: 1201

PostPosted: Fri Aug 13, 2004 11:40 am    Post subject: Reply with quote

Oh youre using xorg not xfree, sorry - missed that.
_________________
The realOTW: http://forums.realotw.org/index.php

Registered Linux user#364538
Back to top
View user's profile Send private message
ThorstenHirsch
Tux's lil' helper
Tux's lil' helper


Joined: 25 Sep 2003
Posts: 111

PostPosted: Fri Aug 13, 2004 11:46 am    Post subject: Reply with quote

But that doesn't matter. Xorg 6.7.0 = XFree86 4.4rc2 (or even rc3).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum