Re: Viewing on remote PC

2007-02-15 Thread Frank Staals

Gerard wrote:

On Wednesday February 14, 2007 at 08:02:38 (AM) Vince wrote:


  
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 ATT 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  
You have to connect to a VNC server with a VNC client ( Windows tightVNC 
client is available from http://www.tightvnc.com/download.html ). Notice 
that by default you won't have encryption so you might want to use putty 
to create an SSH tunnel for your traffic ( See the tunneling section in 
putty )


--
-Frank Staals


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Viewing on remote PC

2007-02-14 Thread White Hat
FreeBSD-6.2

I have a FBSD computer that I need to access via ssh from a WinXP machine 
running 'putty'. I am using ssh certificates for authorization. No problem 
there. I can do anything I want when I access the FBSD machine in this manner, 
except run something like KDE or XFCE4. I thought I made all of the required 
changes to the ssh_config and sshd_config as well as 'putty', but evidently not.

Situation:

I have 'startx' set to start 'xfce4' presently. If I type: 'startx' while 
logged in via ssh, xfce4 will start on the FBSD machine just fine. However, on 
the WinXP PC with 'putty', all I see are the start up messages on the screen. 
The actual GUI, etc. never appears. This makes using the program impossible 
from a remote location.

I am sure I am doing something really stupid here. Perhaps someone could point 
me i the right direction.

Thanks!
 
-- 

White Hat 
[EMAIL PROTECTED]


 

Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Viewing on remote PC

2007-02-14 Thread Vince
White Hat wrote:
 FreeBSD-6.2
 
 I have a FBSD computer that I need to access via ssh from a WinXP machine 
 running 'putty'. I am using ssh certificates for authorization. No problem 
 there. I can do anything I want when I access the FBSD machine in this 
 manner, except run something like KDE or XFCE4. I thought I made all of the 
 required changes to the ssh_config and sshd_config as well as 'putty', but 
 evidently not.
 
 Situation:
 
 I have 'startx' set to start 'xfce4' presently. If I type: 'startx' while 
 logged in via ssh, xfce4 will start on the FBSD machine just fine. However, 
 on the WinXP PC with 'putty', all I see are the start up messages on the 
 screen. The actual GUI, etc. never appears. This makes using the program 
 impossible from a remote location.
 
 I am sure I am doing something really stupid here. Perhaps someone could 
 point me i the right direction.
 
 Thanks! 
  
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.


Vince
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Viewing on remote PC

2007-02-14 Thread Gerard
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 ATT 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Viewing on remote PC

2007-02-14 Thread Anuj Singh
Why don't you try tight vnc for this(server running vnc and WinXpee
running vnc client.
http://www.tightvnc.com/

PuTTY (the Telnet and SSH client itself)
  * PSCP (an SCP client, i.e. command-line secure file copy)
  * PSFTP (an SFTP client, i.e. general file transfer sessions much
like FTP)
  * PuTTYtel (a Telnet-only client)
  * Plink (a command-line interface to the PuTTY back ends)
  * Pageant (an SSH authentication agent for PuTTY, PSCP and Plink)
  * PuTTYgen (an RSA and DSA key generation utility). 

From my shell if I login threw 
[EMAIL PROTECTED] ssh -X remote machine
and after logging in 
I can use different X based utilities of remote machine.
[EMAIL PROTECTED] firefox 
   ^Opens firefox browser of remote machine.

regards 
anugunj anuj

On Wed, 2007-02-14 at 04:47 -0800, White Hat wrote:
 FreeBSD-6.2
 
 I have a FBSD computer that I need to access via ssh from a WinXP machine 
 running 'putty'. I am using ssh certificates for authorization. No problem 
 there. I can do anything I want when I access the FBSD machine in this 
 manner, except run something like KDE or XFCE4. I thought I made all of the 
 required changes to the ssh_config and sshd_config as well as 'putty', but 
 evidently not.
 
 Situation:
 
 I have 'startx' set to start 'xfce4' presently. If I type: 'startx' while 
 logged in via ssh, xfce4 will start on the FBSD machine just fine. However, 
 on the WinXP PC with 'putty', all I see are the start up messages on the 
 screen. The actual GUI, etc. never appears. This makes using the program 
 impossible from a remote location.
 
 I am sure I am doing something really stupid here. Perhaps someone could 
 point me i the right direction.
 
 Thanks!
  


signature.asc
Description: This is a digitally signed message part