X Forwarding with telnet

Dege, Robert C. robert.dege at ngc.com
Mon Oct 31 15:33:55 UTC 2005


Cecilio,

Thanks for the info.  The modification to gdm.conf did the trick!

-Rob

> -----Original Message-----
> From: redhat-list-bounces at redhat.com 
> [mailto:redhat-list-bounces at redhat.com] On Behalf Of Cecilio Marín
> Sent: Monday, October 31, 2005 3:17 AM
> To: General Red Hat Linux discussion list
> Subject: Re: X Forwarding with telnet
> 
> On versions 3, default X server was XFree86, on versions 4 is 
> X.org. By default on versions 4, X config files differs 
> something, p. ex., not allow remote tcp conections (used by 
> telnet forwarding). If allows it, you can see port 6000/tcp 
> open in your host:
> 
> fuser -n tcp -v 6000
> 
> Also, you can see "-nolisten tcp" on X daemon string: ps -def | grep X
> 
> 
> 2 possible solutions: Open port 6000, or ssh forwarding.
> 
> - How open port 6000/tcp? If use gdm (don't know in kdm):
> Edit /etc/gdm/gdm.conf and puts parameter "DisallowTCP=false"
> Telnet forwarding must work restarting X system.
> 
> - ssh forwarding: whith command
> 
> ssh <host> -X -C
> 
> Probe it (local user and remote user must be the same?). The 
> -X parameter means 'Tunnel Forwarding', and -C is for compression.
> 
> 
> Good luck!
> Cecilio M.
> 
> 
> Dege, Robert C. escribió:
> 
> >I'm running RHEL 4, and am unable to forward X apps to my 
> local display 
> >when I telnet to a remote machine.
> >
> >I have correctly set the DISPLAY correctly on the remote 
> machine, and 
> >also ran xhost +, but am still unable to run any remote X apps on my 
> >display.
> >
> >Is there some local config file that I need to modify to 
> allow this?  I 
> >have iptables stop, and SELinux is not running.
> >
> >Thanks.
> >
> >-Rob
> >
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 




More information about the redhat-list mailing list