Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
forwarded X display through telnet?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dleifelohcs
Apprentice
Apprentice


Joined: 10 Jul 2003
Posts: 160
Location: UNH

PostPosted: Tue Feb 17, 2004 3:35 pm    Post subject: forwarded X display through telnet? Reply with quote

Hello, I have a Sun 5.8 box that has a few X apps that need to be forwarded to my Gentoo box.

normally, this entails: # xhost + to get the box to accept connections, and then basically you are good to go. This does currently work with both RedHat and Windows 2000 (With Exceed).

However, my Gentoo box will not allow the connections. What can I do?
Back to top
View user's profile Send private message
trapperjohn
Apprentice
Apprentice


Joined: 11 Nov 2003
Posts: 242
Location: Bremen/Germany

PostPosted: Tue Feb 17, 2004 4:00 pm    Post subject: Reply with quote

Check if your Gentoo's xserver is started WITHOUT the parameter '-nolisten tcp'. If you use gdm, it's in /etc/X11/gdm/gdm.conf .
Back to top
View user's profile Send private message
tmr777
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2003
Posts: 101
Location: Chicago, IL

PostPosted: Tue Feb 17, 2004 4:01 pm    Post subject: Reply with quote

Not sure if you can install sshd on the old sun box, but I love ssh for X forwarding:

Code:

# startx /usr/X11R6/bin/xterm
# ssh -X -C you@your.sun.box
# xclock


Boom -- forwarded X app.

HTH,

_Terry
Back to top
View user's profile Send private message
dleifelohcs
Apprentice
Apprentice


Joined: 10 Jul 2003
Posts: 160
Location: UNH

PostPosted: Tue Feb 17, 2004 4:22 pm    Post subject: Reply with quote

SSH is not an option. The sun box is very old, and it works, so we'd like to leave it be until it's fazed out (soon!). However, I still need it for the meantime. And just a note: That I CAN "ssh -X" to machines and pull X displays from them. So I don't know if it's the -nolisten tcp suggestion someone gave.
Back to top
View user's profile Send private message
dleifelohcs
Apprentice
Apprentice


Joined: 10 Jul 2003
Posts: 160
Location: UNH

PostPosted: Wed Feb 18, 2004 3:23 pm    Post subject: Reply with quote

-nolisten tcp definitely didn't work.


ANY suggestions?
Back to top
View user's profile Send private message
trapperjohn
Apprentice
Apprentice


Joined: 11 Nov 2003
Posts: 242
Location: Bremen/Germany

PostPosted: Sat Feb 21, 2004 5:29 pm    Post subject: Reply with quote

Start
Code:
ps -eaf | grep X
and see, how X is started. If there is the 'nolisten' option, it won't ever accept any X connection over the network.

If you start without this parameter and don't have a firewall, it definitely works ..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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