From owner-freebsd-net@FreeBSD.ORG Sat Mar 3 11:26:07 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE627106566B for ; Sat, 3 Mar 2012 11:26:07 +0000 (UTC) (envelope-from patula777@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 37C968FC0A for ; Sat, 3 Mar 2012 11:26:06 +0000 (UTC) Received: by wibhn6 with SMTP id hn6so1417687wib.13 for ; Sat, 03 Mar 2012 03:26:06 -0800 (PST) Received-SPF: pass (google.com: domain of patula777@gmail.com designates 10.180.8.164 as permitted sender) client-ip=10.180.8.164; Authentication-Results: mr.google.com; spf=pass (google.com: domain of patula777@gmail.com designates 10.180.8.164 as permitted sender) smtp.mail=patula777@gmail.com; dkim=pass header.i=patula777@gmail.com Received: from mr.google.com ([10.180.8.164]) by 10.180.8.164 with SMTP id s4mr3470253wia.6.1330773966209 (num_hops = 1); Sat, 03 Mar 2012 03:26:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Hf812xYkkPcLomlGUAwAIt2CqCBtNAODgovvc065BgY=; b=oRmfOo9EdgXRAqyqJKWQYtQ0wk9s8+iPNPRNFPg3QOkJQh0f5aI+fLoxkXpUZkf9yt PKaE78A0VdefLRxTvpnyCP6GhlRQX44j8ZmI9D3TLlM/oZzAJPN3WJHbla36yw3yxBMt ZNkw1AxC6D96qttSbWlJDrkAgac5YzlDBI7jRyjIotaAboI4A04ZokEkbLhNFXEdhmEu AJPFpyIsYeDJrDVxTF38uZun81nzAfqmRId6Vz5GXnFpTp0QTJ2wHLHwh4qw2d0YlaHO hXd7OcMRgjnS7fJadDcNHyTusot+huyrrdu5ayOlOJADfDwgZzvrFvULPzm2/3uX/nWC 5c1A== MIME-Version: 1.0 Received: by 10.180.8.164 with SMTP id s4mr2643286wia.6.1330772337333; Sat, 03 Mar 2012 02:58:57 -0800 (PST) Received: by 10.216.1.8 with HTTP; Sat, 3 Mar 2012 02:58:57 -0800 (PST) Date: Sat, 3 Mar 2012 11:58:57 +0100 Message-ID: From: =?UTF-8?B?5Zu+5r2Y?= To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: nxserver/freenx connection problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 11:26:07 -0000 I have setup a FreeBSD-9 i386 virtual machine (virtualbox on FreeBSD-9 amd64) with xorg and gnome. My goal is it to connect from Windows 7 to freebsd remotely using nxserver. (As freenx/nxserver only supports i386 hosts I had to use the virtual machine for testing) On FreeBSD (vm) I have installed the following 2 ports (as I don't know the difference of them) + net/freenx + net/nxserver I have configured the server as followed: root> /usr/X11R6/NX/bin/nxsetup --install ------> It is recommended that you use the NoMachine key for easier setup. If you answer "y", FreeNX creates a custom KeyPair and expects you to setup your clients manually. "N" is default and uses the NoMachine key for installation. Do you want to use your own custom KeyPair? [y/N] N [...] root> /usr/X11R6/NX/bin/nxserver --start NX> 100 NXSERVER - Version 1.5.0-60 OS (GPL) NX> 122 Service started NX> 999 Bye root> /usr/X11R6/NX/bin/nxserver --status NX> 100 NXSERVER - Version 1.5.0-60 OS (GPL) NX> 110 NX Server is running NX> 999 Bye For my Windows7-64bit box I have downloaded and installed nomachine's nx client for windows 3.5.0-7 Now when I try to connect from windows to the FreeBSD machine I get the following error in the windows nx client log Info: Display running with pid '5308' and handler '0x1b0652'. NXPROXY - Version 3.5.0 Copyright (C) 2001, 2011 NoMachine. See http://www.nomachine.com/ for more information. Info: Proxy running in client mode with pid '6976'. Session: Starting session at 'Fri Mar 2 12:07:23 2012'. Warning: Connected to remote version 2.1.0 with local version 3.5.0. Info: Connection with remote proxy completed. Info: Using LAN link parameters 1536/24/1/0. Info: Using image streaming parameters 50/128/1024KB/6144/768. Info: Using image cache parameters 1/1/65536KB. Info: Using pack method '16m-rle-9' with session 'unix-gnome'. Info: Not using NX delta compression. Info: Not using ZLIB data compression. Info: Not using ZLIB stream compression. Info: Not using a persistent cache. Info: Forwarding X11 connections to display ':0'. Session: Session started at 'Fri Mar 2 12:07:23 2012'. Info: Established X server connection. Info: Using shared memory parameters 0/0K. Error: Connection with remote peer broken. Error: Please check the state of your network and retry. Session: Terminating session at 'Fri Mar 2 12:07:25 2012'. Session: Session terminated at 'Fri Mar 2 12:07:25 2012'. I really have no idea what i am doing wrong. Could somebody please point out what else I have to check in order to identify the problem. Best wishes =E6=BD=98=E5=9B=BE