Re: X11 forwarding over SSH

From: Roel Schroeven (rschroev_nospam_ml_at_fastmail.fm)
Date: 10/19/04

  • Next message: Clive Menzies: "(no subject)"
    To: debian-user@lists.debian.org
    Date: Tue, 19 Oct 2004 09:45:33 +0200
    
    

    Andrew Alsup wrote:

    > I have 2 debian servers: 1 running Woody and 1 running Sarge. I'm
    > using PuTTY as my SSH client (from WinXP). I can successfully tunnel
    > X (over SSH) on the Woody server. However, I'm unable to get it
    > working on the Sarge server.
    >
    > Both servers have the following in /etc/ssh/sshd_config
    > X11Forwarding yes
    > X11DisplayOffset 10
    >
    > One thing that I noticed: I am not setting the DISPLAY env variable
    > in my .profile (or .bash_profile) files. There is no reference to
    > the DISPLAY env variable *anywhere*. If I connect to the Woody
    > server (telling PuTTY to use X11 forwarding) then DISPLAY
    > automatically gets set to localhost:10.0. If I connect to the Sarge
    > server (telling PuTTY to use X11 forwarding) DISPLAY is NOT
    > automatically set. Its not in the env at all.
    >
    > This is driving me crazy, and I'll bet its something stupid on my
    > part!

    While you're connected with PuTTY, click on the icon in the top left
    corner to show the system menu and choose 'Event log'. A connection with
    successfull X11 forwarding will show the lines

    2004-10-19 09:39:10 Requesting X11 forwarding
    2004-10-19 09:39:10 X11 forwarding enabled

    If the first line is missing, you haven't configured PuTTY configured
    properly. Otherwise there's still something wrong on the server side.
    Did you restart sshd after setting X11Forwarding to yes?

    -- 
    "Codito ergo sum"
    Roel Schroeven
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Clive Menzies: "(no subject)"

    Relevant Pages

    • Re: SSH with Putty Xwindows
      ... > my server via putty (SSH client) but could not start a xwindows session. ...
      (alt.linux)
    • SSH with Putty Xwindows
      ... How can one start an Xwindows session via putty? ... my server via putty (SSH client) but could not start a xwindows session. ...
      (alt.linux)
    • Re: Peer to Peer using Putty?
      ... No. PuTTY is an SSH client; you need an SSH server on the other host. ... The phrase "create a tunnel" is vague; what are you trying to accomplish? ...
      (comp.security.ssh)
    • Re: Alternative to PUTTY?
      ... Does anyone have any recommendations for ... There is no better ssh client for Windows than PuTTY. ... Or when you connect to your server from other clients? ...
      (comp.os.linux.misc)
    • Re: CORE-2004-0705: Vulnerabilities in PuTTY and PSCP
      ... difficult to exploit w/o modifying source for an ssl server. ... packets, got hexdumps of the packets, wrote a prog to pretend to be an ssl ... or build packets with the ssl functions used in putty.. ... Vulnerabilities in PuTTY and PSCP ...
      (Vuln-Dev)