From owner-freebsd-questions@FreeBSD.ORG Wed Feb 14 22:02:12 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 95D4016A400 for ; Wed, 14 Feb 2007 22:02:12 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.237]) by mx1.freebsd.org (Postfix) with ESMTP id 5B52F13C491 for ; Wed, 14 Feb 2007 22:02:12 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: by wx-out-0506.google.com with SMTP id s18so388198wxc for ; Wed, 14 Feb 2007 14:02:11 -0800 (PST) Received: by 10.90.104.14 with SMTP id b14mr1464126agc.1171490531795; Wed, 14 Feb 2007 14:02:11 -0800 (PST) Received: from ?192.168.0.4? ( [67.189.184.224]) by mx.google.com with ESMTP id 7sm2261343wrl.2007.02.14.14.02.11; Wed, 14 Feb 2007 14:02:11 -0800 (PST) Date: Wed, 14 Feb 2007 17:02:25 -0500 To: User Questions Organization: Seibercom.net In-Reply-To: <45D3086E.30401@unsane.co.uk> References: <20070214124747.54863.qmail@web34414.mail.mud.yahoo.com> <45D3086E.30401@unsane.co.uk> X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20070214165634.9022.GERARD-SEIBERT@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.30.02 [en] From: Gerard Subject: Re: Viewing on remote PC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: User Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2007 22:02:12 -0000 On Wednesday February 14, 2007 at 08:02:38 (AM) Vince wrote: > White Hat wrote: [snip] > Windows != Xwindows and you need xwindows to display xwindows programs. > what you will need to do is either setup VNC server on your Freebsd > machine and access it via VNC to get a desktop (realvnc, tridia and > tight vnc are in ports,) or install X windows on your windows machine > (and make sure X forwarding is enabled in ssh.) I'd probably VNC as its > easier and faster except on high bandwidth links, but if you really want > Xwindow on your windows machine www.cygwin.com or > http://freedesktop.org/wiki/Xming are a good place to start. > OK, I installed 'tightvnc' from ports. That went OK. Then, I started the process by entering: 'vncserver' at the command prompt on the FBSD machine. The first time this ran it asked for information which I provided. Now when I invoke it, it runs silently. This is the contents of the log file it creates. // Contents of: ~/.vnc/scorpio.seibercom.net:1.log // 14/02/07 10:42:32 Xvnc version TightVNC-1.3.8 14/02/07 10:42:32 Copyright (C) 2000-2006 Constantin Kaplinsky 14/02/07 10:42:32 Copyright (C) 1999 AT&T Laboratories Cambridge 14/02/07 10:42:32 All Rights Reserved. 14/02/07 10:42:32 See http://www.tightvnc.com/ for information on TightVNC 14/02/07 10:42:32 Desktop name 'X' (scorpio.seibercom.net:1) 14/02/07 10:42:32 Protocol versions supported: 3.7t, 3.7, 3.3 14/02/07 10:42:32 Listening for VNC connections on TCP port 5901 14/02/07 10:42:32 Listening for HTTP connections on TCP port 5801 14/02/07 10:42:32 URL http://scorpio.seibercom.net:5801 // End Log // I have the following in the 'putty' configuration Under SSL / X11, I have this: X Display location: localhost:0 I have tried with both: Enable X forwarding checked and unchecked without any difference. Under SSH / Tunnels, I have this: L5905 192.168.0.2:5901 I am not sure about the port # 5905. I simply copied it from a example I found. I have tried 5901, 5900 and 5902 all without success. There is no notification when I actually log onto the remote machine other than what I normally receive. If I try: 'startx', all I get is a lot of text output on the screen, although the application does start on the remote PC. Now, I can make a connection via HTTP and do get a login box. In fact, that seems to be the only way I can make a successful connection. Therefore, I am positive the VNC is working, just not with putty. Obviously I am doing something really stupid. Thanks! -- Gerard