From owner-freebsd-questions@FreeBSD.ORG Thu Nov 16 21:39:58 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C241D16A407 for ; Thu, 16 Nov 2006 21:39:58 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57B0343D49 for ; Thu, 16 Nov 2006 21:39:58 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141]) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAGLdvVT003972 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 16 Nov 2006 13:39:58 -0800 X-Auth-Received: from [128.208.4.96] (dzihan.cs.washington.edu [128.208.4.96]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAGLdvDx000490 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 16 Nov 2006 13:39:57 -0800 Message-ID: <455CDAAD.7070709@u.washington.edu> Date: Thu, 16 Nov 2006 13:39:57 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.8 (X11/20061108) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20061116191618.GA36885@ducati-748.3rdrock.kicks-ass.net> <455CC1AE.8000603@u.washington.edu> <20061116205800.GA37119@ducati-748.3rdrock.kicks-ass.net> In-Reply-To: <20061116205800.GA37119@ducati-748.3rdrock.kicks-ass.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.16.132433 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: deny of x sessions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Nov 2006 21:39:58 -0000 Alain G. Fabry wrote: > With ssh it works, both with -Y and -X, but I need this to work also with regular telnet. > > Thanks, > > On Thu, Nov 16, 2006 at 11:53:18AM -0800, Garrett Cooper wrote: > >> Alain G. Fabry wrote: >> >>> Hey, >>> >>> I've just installed KDE 4.5.3 on a FreeBSD 6.1 system. >>> >>> I'm having problem getting an x-window from another PC when I'm connected >>> to that PC via telnet (with ssh -X .... everything works fine) >>> >>> When I telnet to the other machine and export/setenv my DISPLAY >>> environment towards the display I'm telnetting from, I get the following >>> error. >>> >>> xterm Xt error: Can't open display: 10.0.0.250:0.0 >>> >>> I've already tried to change the kdmrc by removing the -nolisten tcp or >>> commenting out >>> >>> ServerArgsLocal=-nolisten tcp >>> >>> but this does not seem to work either....when I reboot, it even undoes all >>> the changes I've made to the file (as root) >>> >>> Anybody can give me some advise on what I need to do to accept incoming >>> x11 requests. >>> >>> x11 packets are received (seen by a tcpdump) but it just does not want to >>> work. >>> >>> Just for you info, I did not forget the xhost + >>> >>> Thanks in advance. >>> >> Try ssh -Y instead of ssh -X. ssh -X was deprecated some time ago due to >> security concerns I believe over trusted hosts and X11 forwarding >> (Google that particular flag because there are a lot of discussion items >> out there about this). >> -Garrett 1. Please top post on this list. 2. Why do you want to do it over regular telnet? It's very insecure and unwise to do. If you do want to use telnet, try running xhost after logging into the machine. Make sure you login to the machine directly with X, as there isn't any portforwarding functionality built in to telnet.