From owner-freebsd-questions@FreeBSD.ORG Fri Feb 3 16:04:06 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 D240716A420 for ; Fri, 3 Feb 2006 16:04:06 +0000 (GMT) (envelope-from frankstaals@gmx.net) Received: from smtp1.versatel.nl (smtp1.versatel.nl [62.58.50.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D58B43D46 for ; Fri, 3 Feb 2006 16:04:03 +0000 (GMT) (envelope-from frankstaals@gmx.net) Received: (qmail 3321 invoked by uid 0); 3 Feb 2006 16:04:01 -0000 Received: from ip176-173-59-62.adsl.versatel.nl (HELO [192.168.2.5]) ([62.59.173.176]) (envelope-sender ) by smtp1.versatel.nl (qmail-ldap-1.03) with SMTP for < >; 3 Feb 2006 16:04:01 -0000 Message-ID: <43E37EFB.9020408@gmx.net> Date: Fri, 03 Feb 2006 17:04:11 +0100 From: Frank Staals User-Agent: Mozilla Thunderbird 1.0.7 (X11/20060105) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Fleming References: <200602022149.17302.akbeech@alaskaparadise.com> <20060203085808.GA926@cryptomap.co.uk> In-Reply-To: <20060203085808.GA926@cryptomap.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: remote x-window 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: Fri, 03 Feb 2006 16:04:07 -0000 Michael Fleming wrote: >On Thu, Feb 02, 2006 at 09:48:56PM -0900, Beech Rintoul wrote: > > >>I have sort of a newbie question. How do I connect to a remote machine with >>x-windows and get a desktop? Could someone point me in the right direction as >>I've never had a need to to do it before. I do have ssh to the machine. >> >>Beech >>-- >> >> >> >You'll have to export $DISPLAY=x.x.x.x:0.0 so that the display on the >remote machine is displayed on the local. You'll also have to forward >X11 packets, check your ssh_conf so that "forward X11 yes". >I use cygwin on my work laptop ( XP ) and a openvpn connection to my BSD >machine then fire up the display on the XP machine. >I did use just ssh and allowed only ssh from the outside to the BSD >machine, but found that someone was trying to brute force the username >and password so set up the openvpn. I feel a lot more comfortable with >that, even though it's just my own private network. >There's plenty of info on google to point you in the right direction. > > I also noticed a lot of brute force username and password attempts, an easier solution is to just change the default SSH-port ( /etc/ssh/sshd_conf ) as I did >Mike > > >> >> >> > > > > > -- -Frank Staals