From owner-freebsd-stable Tue Apr 25 7:57: 2 2000 Delivered-To: freebsd-stable@freebsd.org Received: from csmd2.cs.uni-magdeburg.de (csmd2.CS.Uni-Magdeburg.De [141.44.22.2]) by hub.freebsd.org (Postfix) with ESMTP id C3A0C37BD27 for ; Tue, 25 Apr 2000 07:56:57 -0700 (PDT) (envelope-from jesse@mail.CS.Uni-Magdeburg.De) Received: from knecht.cs.uni-magdeburg.de (jesse@knecht [141.44.21.3]) by csmd2.cs.uni-magdeburg.de (8.9.3/8.9.3) with ESMTP id QAA24458 for ; Tue, 25 Apr 2000 16:56:55 +0200 (MET DST) Received: (from jesse@localhost) by knecht.cs.uni-magdeburg.de (8.8.8+Sun/8.8.8) id QAA29563; Tue, 25 Apr 2000 16:56:00 +0200 (MET DST) X-Authentication-Warning: knecht.cs.uni-magdeburg.de: jesse set sender to jesse@cs.uni-magdeburg.de using -f To: freebsd-stable@freebsd.org Subject: OpenSSH: DISPLAY not set From: Roland Jesse Date: 25 Apr 2000 16:55:59 +0200 Message-ID: <0vem7ui60w.fsf@cs.uni-magdeburg.de> Lines: 45 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I am using OpenSSH on a 4.0-stable box. The manpage states: The session terminates when the command or shell in on the remote machine exists and all X11 and TCP/IP connections have been closed. The exit status of the remote program is returned as the exit status of ssh. If the user is using X11 (the DISPLAY environment variable is set), the connection to the X11 display is automatically forwarded to the remote side in such a way that any X11 programs started from the shell (or com- mand) will go through the encrypted channel, and the connection to the real X server will be made from the local machine. The user should not manually set DISPLAY. Forwarding of X11 connections can be configured on the command line or in configuration files. The DISPLAY value set by ssh will point to the server machine, but with a display number greater than zero. This is normal, and happens because ssh creates a ``proxy'' X server on the server machine for forwarding the connections over the encrypted channel. However, the DISPLAY variable does not get set when I connect to a remote machine (running ssh but not OpenSSH). Here is an example session: r.arthur ~ % echo $DISPLAY :0.0 r.arthur ~ % ssh -V SSH Version OpenSSH-1.2.2, protocol version 1.5. Compiled with SSL. r.arthur ~ % ssh -l jesse knecht jesse@knecht.cs.uni-magdeburg.de's password: Last login: Tue Apr 25 10:33:55 2000 from arthur.cs.uni-ma Sun Microsystems Inc. SunOS 5.6 Generic August 1997 You have mail. SunOS 5.6 jesse.knecht ~ % echo $DISPLAY jesse.knecht ~ % Am I just missing some config setting or does it simply not work? Roland To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message