From jjkyllo@u.washington.edu Tue Oct 24 21:39:35 2000 Received: from jason03.u.washington.edu (root@jason03.u.washington.edu [140.142.8.11]) by lists.u.washington.edu (8.9.3+UW00.05/8.9.3+UW99.09) with ESMTP id VAA86276 for ; Tue, 24 Oct 2000 21:39:34 -0700 Received: from homer01.u.washington.edu (jjkyllo@homer01.u.washington.edu [140.142.15.35]) by jason03.u.washington.edu (8.9.3+UW00.05/8.9.3+UW00.01) with ESMTP id VAA54018 for ; Tue, 24 Oct 2000 21:39:33 -0700 Received: from localhost (jjkyllo@localhost) by homer01.u.washington.edu (8.9.3+UW00.05/8.9.3+UW99.09) with ESMTP id VAA105036 for ; Tue, 24 Oct 2000 21:39:33 -0700 Date: Tue, 24 Oct 2000 21:39:32 -0700 (PDT) From: "J. Kyllo" To: UW Linux Group Subject: Re: DISPLAY variable and ssh In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Umm, you shouldn't have to set the $DISPLAY variable manually. If they are logging in from a console shell then their ssh client will not set DISPLAY. If they are in X windows, then ssh will know this buy their current TERM variable and set the DISPLAY accordingly. ================================ Jeffrey J. Kyllo Technical Consultant UW@SPS, University of Washington On Tue, 24 Oct 2000, C. Olmsted wrote: > So I have users connecting to my server from winblows. They typically > don't have X software running, but the server doesn't know that. I have > modified the global profile such that if the $TERM variable doesn't equal > "xterm" then the DISPLAY variable is set to nothing. > > This works well for those with no X-connection software (i.e. Emacs > plays niceley). My question is how to restore encrypted X connections for > those that do have X software running? If you set DISPLAY to the local > client, the connections are not encrypted...how do I find out what to set > DISPLAY to if it has been nulled out? > > Thanks, > Cliff > > .