Re: X Forwarding with telnet

From: Cecilio Marín (cmarin_at_essiprojects.com)
Date: 10/31/05

  • Next message: Nigel Wade: "Re: up2date problems"
    Date: Mon, 31 Oct 2005 09:16:35 +0100
    To: General Red Hat Linux discussion list <redhat-list@redhat.com>
    
    

    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@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Nigel Wade: "Re: up2date problems"

    Relevant Pages

    • RE: Send xterm to remote workstation with OpenSSH
      ... I think my problem has no solution because the remote workstation must have a OpenSSH server to use Tunneling in that direction. ... Didier BOURGUIGNON ... > If you want SSH remote port forwarding, ... > forwarding, or X11 forwarding, one of your machines ...
      (SSH)
    • Re: PHP dynamic dns forwarding
      ... I am thinking of implementing a little dynamic dns service for my personal needs. ... It works fine for a simple forwarding to my Remotely Anywhere. ... Windows Remote Desktop uses port 3389. ... How could I achieve a forward to that port, assuming the request carries the port. ...
      (comp.lang.php)
    • Re: remote desktop (complex setup)
      ... using port forwarding on my router. ... was able to connect sucessfully from inside and outside my local network. ... Because I can only forward port 3389 to ... I am able to remote to the ...
      (microsoft.public.cert.exam.mcse)
    • Re: Send xterm to remote workstation with OpenSSH
      ... > ssh server on the remote workstation, ... If you want SSH remote port forwarding, ...
      (SSH)
    • PHP dynamic dns forwarding
      ... I am thinking of implementing a little dynamic dns service for my personal needs. ... It works fine for a simple forwarding to my Remotely Anywhere. ... Windows Remote Desktop uses port 3389. ... How could I achieve a forward to that port, assuming the request carries the port. ...
      (comp.lang.php)