Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2007 17:02:25 -0500
From:      Gerard <gerard@seibercom.net>
To:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: Viewing on remote PC
Message-ID:  <20070214165634.9022.GERARD-SEIBERT@seibercom.net>
In-Reply-To: <45D3086E.30401@unsane.co.uk>
References:  <20070214124747.54863.qmail@web34414.mail.mud.yahoo.com> <45D3086E.30401@unsane.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070214165634.9022.GERARD-SEIBERT>