public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  What is the gimmick to run tightvnc from windows to gentoo
@ 2008-07-17  1:19 Harry Putnam
  2008-07-17 21:04 ` David Blamire-Brown
  0 siblings, 1 reply; 11+ messages in thread
From: Harry Putnam @ 2008-07-17  1:19 UTC (permalink / raw
  To: gentoo-user

Tightvnc installed with server flag and seems to be working, at least
as far as viewing from gentoo through servers running on windows
machines. But when tried the other way round I get no connecton and no
log output from the gentoo server.

Just a message on the windows machine 
   `Failed to connect to Xxx.xxx.xxx'.

There is some log info on the windows side bit it appears to only
involve the server and nothing gets written to that file when I
attempt to start the viewer on a windows xp box aimed at the linux
box. 

The words `verbose' or `debug' do not appear anywhere in vncserver man
pages.  How can I get some debug info out of this thing?

Or maybe someone knows what is needed to get the connection to work.

-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user]  What is the gimmick to run tightvnc from windows to gentoo
  2008-07-17  1:19 [gentoo-user] What is the gimmick to run tightvnc from windows to gentoo Harry Putnam
@ 2008-07-17 21:04 ` David Blamire-Brown
  2008-07-17 21:36   ` Mick
  2008-07-19 13:29   ` Harry Putnam
  0 siblings, 2 replies; 11+ messages in thread
From: David Blamire-Brown @ 2008-07-17 21:04 UTC (permalink / raw
  To: gentoo-user

I did this a while back and I got it working by tunnelling via SSH (using putty on windows).
But I can't remember the exact details off the top of my head. It may be worth googling that set-up. I seem to remember thinking it felt like a kludge and I can't quite remember why I ended up doing it, but I do remember that it worked.

BB

On Wed, 16 Jul 2008 20:19:45 -0500
Harry Putnam <reader@newsguy.com> wrote:

> Tightvnc installed with server flag and seems to be working, at least
> as far as viewing from gentoo through servers running on windows
> machines. But when tried the other way round I get no connecton and no
> log output from the gentoo server.
> 
> Just a message on the windows machine 
>    `Failed to connect to Xxx.xxx.xxx'.
> 
> There is some log info on the windows side bit it appears to only
> involve the server and nothing gets written to that file when I
> attempt to start the viewer on a windows xp box aimed at the linux
> box. 
> 
> The words `verbose' or `debug' do not appear anywhere in vncserver man
> pages.  How can I get some debug info out of this thing?
> 
> Or maybe someone knows what is needed to get the connection to work.
> 
> -- 
> gentoo-user@lists.gentoo.org mailing list
> 
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user]  What is the gimmick to run tightvnc from windows to gentoo
  2008-07-17 21:04 ` David Blamire-Brown
@ 2008-07-17 21:36   ` Mick
  2008-07-19 13:18     ` [gentoo-user] " Harry Putnam
  2008-07-19 13:29   ` Harry Putnam
  1 sibling, 1 reply; 11+ messages in thread
From: Mick @ 2008-07-17 21:36 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1751 bytes --]

On Thursday 17 July 2008, David Blamire-Brown wrote:
> I did this a while back and I got it working by tunnelling via SSH (using
> putty on windows). But I can't remember the exact details off the top of my
> head. It may be worth googling that set-up. I seem to remember thinking it
> felt like a kludge and I can't quite remember why I ended up doing it, but
> I do remember that it worked.
>
> BB
>
> On Wed, 16 Jul 2008 20:19:45 -0500
>
> Harry Putnam <reader@newsguy.com> wrote:
> > Tightvnc installed with server flag and seems to be working, at least
> > as far as viewing from gentoo through servers running on windows
> > machines. But when tried the other way round I get no connecton and no
> > log output from the gentoo server.
> >
> > Just a message on the windows machine
> >    `Failed to connect to Xxx.xxx.xxx'.
> >
> > There is some log info on the windows side bit it appears to only
> > involve the server and nothing gets written to that file when I
> > attempt to start the viewer on a windows xp box aimed at the linux
> > box.
> >
> > The words `verbose' or `debug' do not appear anywhere in vncserver man
> > pages.  How can I get some debug info out of this thing?
> >
> > Or maybe someone knows what is needed to get the connection to work.

I tried connecting to a MSWindows RealVNC server with krdc and I remember that 
I couldn't login.  It could be latency across the pond, or network traffic 
causing the login to time out.  Eventually I ran out of patience/time and 
decided to remove the login passwd and instead lock down access to the 
RealVNC, MSWindows box and its network, from my IP address only.

I never discovered why authentication would not work.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: What is the gimmick to run tightvnc from windows to gentoo
  2008-07-17 21:36   ` Mick
@ 2008-07-19 13:18     ` Harry Putnam
  2008-07-19 15:31       ` Mick
  0 siblings, 1 reply; 11+ messages in thread
From: Harry Putnam @ 2008-07-19 13:18 UTC (permalink / raw
  To: gentoo-user

Mick <michaelkintzios@gmail.com> writes:

> I tried connecting to a MSWindows RealVNC server with krdc and I remember that 
> I couldn't login.  It could be latency across the pond, or network traffic 
> causing the login to time out.  Eventually I ran out of patience/time and 
> decided to remove the login passwd and instead lock down access to the 
> RealVNC, MSWindows box and its network, from my IP address only.

Sounds like this is in the opposite direction from what I'm talking
about.

I'm not experiencing any problems connecting with linux client to
windows server (tightvnc both ends).

I'm not sure what `krdc' that you mention, is, but would suggest you
try tightvnc on both ends.  It worked for me with no problems.

However trying to connect with windows (tightVnc) client to Linux
(tightVNc) server fails for me without any log info or debug info
whatever.  Makes it hard to see how to debug the problem.

-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: What is the gimmick to run tightvnc from windows to gentoo
  2008-07-17 21:04 ` David Blamire-Brown
  2008-07-17 21:36   ` Mick
@ 2008-07-19 13:29   ` Harry Putnam
  2008-07-21  5:15     ` Josh Cepek
  1 sibling, 1 reply; 11+ messages in thread
From: Harry Putnam @ 2008-07-19 13:29 UTC (permalink / raw
  To: gentoo-user

David Blamire-Brown <david@blamire-brown.co.uk> writes:

> I did this a while back and I got it working by tunnelling via SSH
> (using putty on windows).  But I can't remember the exact details
> off the top of my head. It may be worth googling that set-up. I seem
> to remember thinking it felt like a kludge and I can't quite
> remember why I ended up doing it, but I do remember that it worked.

Well at least that sounds promising.  I did see mention of that in
some of my google searches but I wondered, If I had to use ssh, why
wouldn't I just pull the X session on linux across with ssh alone.
And forget about VNC.

I think I've heard that can be done....I think I may have even done it
sometime way back, but VNC is so easy the other direction it seems it
should be just as easy connecting windows vnc client to gentoo vnc
server.

For some reason the vnc server appears not to have any debug or
verbose switches. But not sure even if it did, since it appears the
connection is simply rejected, if that would help.

I'd like to see some log info as to why the connection is rejected.

I have sysklogd setup to report everything (*.* in syslog.conf) to a
/var/log/debug file so tailing that while I attempt the connection I'm
not seeing any evidence a connection is being rejected or even seen.

Seems there should be some way to see what is happening maybe from the
windows side but again no log info is being generated.

-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user]  Re: What is the gimmick to run tightvnc from windows to gentoo
  2008-07-19 13:18     ` [gentoo-user] " Harry Putnam
@ 2008-07-19 15:31       ` Mick
  0 siblings, 0 replies; 11+ messages in thread
From: Mick @ 2008-07-19 15:31 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 447 bytes --]

On Saturday 19 July 2008, Harry Putnam wrote:

> However trying to connect with windows (tightVnc) client to Linux
> (tightVNc) server fails for me without any log info or debug info
> whatever.  Makes it hard to see how to debug the problem.

Have you checked the Linux firewall settings?

Have you set the allow/deny or whatever access settings Linux TightVNC has in 
place correctly for your client's IP address?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user]  Re: What is the gimmick to run tightvnc from windows to gentoo
  2008-07-19 13:29   ` Harry Putnam
@ 2008-07-21  5:15     ` Josh Cepek
  2008-07-22 15:04       ` Harry Putnam
  0 siblings, 1 reply; 11+ messages in thread
From: Josh Cepek @ 2008-07-21  5:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 4346 bytes --]

Harry Putnam wrote:
> David Blamire-Brown <david@blamire-brown.co.uk> writes:
> 
>> I did this a while back and I got it working by tunnelling via SSH
>> (using putty on windows).  But I can't remember the exact details
>> off the top of my head. It may be worth googling that set-up. I seem
>> to remember thinking it felt like a kludge and I can't quite
>> remember why I ended up doing it, but I do remember that it worked.
> 
> Well at least that sounds promising.  I did see mention of that in
> some of my google searches but I wondered, If I had to use ssh, why
> wouldn't I just pull the X session on linux across with ssh alone.
> And forget about VNC.

Session persistence. [1] With VNC I can create a full desktop session (I 
use Fluxbox because it's lightweight) and connect to it as needed from 
any system with network access. This is great for my IM app. I lock my 
firewall rules down to allow VNC only from localhost and ssh tunnel all 
my connections (even on the LAN) because VNC's auth scheme is dreadfully 
insecure.

> I think I've heard that can be done....I think I may have even done it
> sometime way back, but VNC is so easy the other direction it seems it
> should be just as easy connecting windows vnc client to gentoo vnc
> server.
> 
> For some reason the vnc server appears not to have any debug or
> verbose switches. But not sure even if it did, since it appears the
> connection is simply rejected, if that would help.
> 
> I'd like to see some log info as to why the connection is rejected.

How are you starting TightVNC from Linux? If you use something like 
`vncserver :1` then you should get lots of info in ~/.vnc/`uname 
-n`:1.log . This should provide plenty of info/debug info for you.

I'd start by starting the VNC server and making sure that the log file 
indicates it started correctly, which should look like [2]. Then try to 
connect from a remote host; if you get a connection refused message then 
chances are good you have a firewall problem, so make sure the proper 
port is open (5901 for :1, or 5801 via the java http applet.) Try nmap 
from the Windows host to verify port status if you're unsure. I've 
included a connection log sample at [3].

[1]: You could look into NoMachine's NX server (or the GPL-flavor of 
this project) as well for the persistent execution benefit, but I've had 
bad luck with NX sessions terminating on me. Plus you can't resume an NX 
you start under Linux on a Windows host or vise-versa, so it's not as 
useful to me as VNC is. YMMV.

[2]: Sample VNC session startup log segment:
20/07/08 23:59:17 Xvnc version TightVNC-1.3.9
20/07/08 23:59:17 Copyright (C) 2000-2007 TightVNC Group
20/07/08 23:59:17 Copyright (C) 1999 AT&T Laboratories Cambridge
20/07/08 23:59:17 All Rights Reserved.
20/07/08 23:59:17 See http://www.tightvnc.com/ for information on TightVNC
20/07/08 23:59:17 Desktop name 'X' (seraph:1)
20/07/08 23:59:17 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
20/07/08 23:59:17 Listening for VNC connections on TCP port 5901
20/07/08 23:59:17 Listening for HTTP connections on TCP port 5801
20/07/08 23:59:17   URL http://seraph:5801
xrdb: No such file or directory
xrdb: can't open file '/home/josh/.Xresources'
BScreen::BScreen: managing screen 0 using visual 0x22, depth 24
Xlib:  extension "RANDR" missing on display ":1.0".

[3]: Sample VNC connection log segment (this connection initiated from 
127.0.0.1, the VNC server's localhost address):
20/07/08 23:59:24 Got connection from client 127.0.0.1
20/07/08 23:59:24 Using protocol version 3.8
20/07/08 23:59:24 Enabling TightVNC protocol extensions
20/07/08 23:59:49 Full-control authentication passed by 127.0.0.1
20/07/08 23:59:49 Pixel format for client 127.0.0.1:
20/07/08 23:59:49   32 bpp, depth 24, little endian
20/07/08 23:59:49   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
20/07/08 23:59:49   no translation needed
20/07/08 23:59:49 Using tight encoding for client 127.0.0.1
20/07/08 23:59:49 Using image quality level 6 for client 127.0.0.1
20/07/08 23:59:49 Enabling X-style cursor updates for client 127.0.0.1
20/07/08 23:59:49 Enabling cursor position updates for client 127.0.0.1
20/07/08 23:59:49 Enabling LastRect protocol extension for client 127.0.0.1

-- 
Josh


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user]  Re: What is the gimmick to run tightvnc from windows to gentoo
  2008-07-22 15:04       ` Harry Putnam
@ 2008-07-22 14:09         ` Eric Martin
  2008-07-24 15:13           ` Drew Tomlinson
  0 siblings, 1 reply; 11+ messages in thread
From: Eric Martin @ 2008-07-22 14:09 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Harry Putnam wrote:
> Josh Cepek <josh.cepek@usa.net> writes:
> 
>> Harry Putnam wrote:
>>> David Blamire-Brown <david@blamire-brown.co.uk> writes:
>>>
>>>> I did this a while back and I got it working by tunnelling via SSH
>>>> (using putty on windows).  But I can't remember the exact details
>>>> off the top of my head. It may be worth googling that set-up. I seem
>>>> to remember thinking it felt like a kludge and I can't quite
>>>> remember why I ended up doing it, but I do remember that it worked.
>>> Well at least that sounds promising.  I did see mention of that in
>>> some of my google searches but I wondered, If I had to use ssh, why
>>> wouldn't I just pull the X session on linux across with ssh alone.
>>> And forget about VNC.
>> Session persistence. [1] With VNC I can create a full desktop session
>> (I use Fluxbox because it's lightweight) and connect to it as needed
>> from any system with network access. This is great for my IM app. I
>> lock my firewall rules down to allow VNC only from localhost and ssh
>> tunnel all my connections (even on the LAN) because VNC's auth scheme
>> is dreadfully insecure.
> 
> [...]
>
> 
> I had expected to be able to connect to the running X desktop but
> apparently that isn't going to happen.  In other words I cannot view
> the running desktop from a remote machine but am forced to view a new
> or different desktop where none of the things I have running on :0 are
> available. 

I'm pretty sure x11vnc will do that.  I do know there's a vnc server
that will let you grab your current xsession and I think that's the one.
 Somebody please correct me if I'm wrong.
HTH
- --
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiF6gkACgkQdheOldgSlQj16ACgmRTVt7cN94VyUje1DHOfEYCm
L68AoMHMGLjy2LaWp2O7I8CjVykqu69e
=WtZp
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: What is the gimmick to run tightvnc from windows to gentoo
  2008-07-21  5:15     ` Josh Cepek
@ 2008-07-22 15:04       ` Harry Putnam
  2008-07-22 14:09         ` Eric Martin
  0 siblings, 1 reply; 11+ messages in thread
From: Harry Putnam @ 2008-07-22 15:04 UTC (permalink / raw
  To: gentoo-user

Josh Cepek <josh.cepek@usa.net> writes:

> Harry Putnam wrote:
>> David Blamire-Brown <david@blamire-brown.co.uk> writes:
>>
>>> I did this a while back and I got it working by tunnelling via SSH
>>> (using putty on windows).  But I can't remember the exact details
>>> off the top of my head. It may be worth googling that set-up. I seem
>>> to remember thinking it felt like a kludge and I can't quite
>>> remember why I ended up doing it, but I do remember that it worked.
>>
>> Well at least that sounds promising.  I did see mention of that in
>> some of my google searches but I wondered, If I had to use ssh, why
>> wouldn't I just pull the X session on linux across with ssh alone.
>> And forget about VNC.
>
> Session persistence. [1] With VNC I can create a full desktop session
> (I use Fluxbox because it's lightweight) and connect to it as needed
> from any system with network access. This is great for my IM app. I
> lock my firewall rules down to allow VNC only from localhost and ssh
> tunnel all my connections (even on the LAN) because VNC's auth scheme
> is dreadfully insecure.

[...]

Thanks for the tips... it turned out to be nothting worse than needing
to add the display number to the connect attempt like: host:display

I had only been putting the host name since that is how I connect
between windows machines or from linux to windows

I had expected to be able to connect to the running X desktop but
apparently that isn't going to happen.  In other words I cannot view
the running desktop from a remote machine but am forced to view a new
or different desktop where none of the things I have running on :0 are
available. 




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user]  Re: What is the gimmick to run tightvnc from windows to gentoo
  2008-07-22 14:09         ` Eric Martin
@ 2008-07-24 15:13           ` Drew Tomlinson
  2008-07-25 13:16             ` Harry Putnam
  0 siblings, 1 reply; 11+ messages in thread
From: Drew Tomlinson @ 2008-07-24 15:13 UTC (permalink / raw
  To: gentoo-user

Eric Martin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Harry Putnam wrote:
>   
>> Josh Cepek <josh.cepek@usa.net> writes:
>>
>>     
>>> Harry Putnam wrote:
>>>       
>>>> David Blamire-Brown <david@blamire-brown.co.uk> writes:
>>>>
>>>>         
>>>>> I did this a while back and I got it working by tunnelling via SSH
>>>>> (using putty on windows).  But I can't remember the exact details
>>>>> off the top of my head. It may be worth googling that set-up. I seem
>>>>> to remember thinking it felt like a kludge and I can't quite
>>>>> remember why I ended up doing it, but I do remember that it worked.
>>>>>           
>>>> Well at least that sounds promising.  I did see mention of that in
>>>> some of my google searches but I wondered, If I had to use ssh, why
>>>> wouldn't I just pull the X session on linux across with ssh alone.
>>>> And forget about VNC.
>>>>         
>>> Session persistence. [1] With VNC I can create a full desktop session
>>> (I use Fluxbox because it's lightweight) and connect to it as needed
>>> from any system with network access. This is great for my IM app. I
>>> lock my firewall rules down to allow VNC only from localhost and ssh
>>> tunnel all my connections (even on the LAN) because VNC's auth scheme
>>> is dreadfully insecure.
>>>       
>> [...]
>>
>>
>> I had expected to be able to connect to the running X desktop but
>> apparently that isn't going to happen.  In other words I cannot view
>> the running desktop from a remote machine but am forced to view a new
>> or different desktop where none of the things I have running on :0 are
>> available. 
>>     
>
> I'm pretty sure x11vnc will do that.  I do know there's a vnc server
> that will let you grab your current xsession and I think that's the one.
>  Somebody please correct me if I'm wrong.
I can confirm that x11vnc is the one.  I use it often.

Cheers,

Drew

-- 
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com




^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: What is the gimmick to run tightvnc from windows to gentoo
  2008-07-24 15:13           ` Drew Tomlinson
@ 2008-07-25 13:16             ` Harry Putnam
  0 siblings, 0 replies; 11+ messages in thread
From: Harry Putnam @ 2008-07-25 13:16 UTC (permalink / raw
  To: gentoo-user

Drew Tomlinson <drew@mykitchentable.net> writes:

>> I'm pretty sure x11vnc will do that.  I do know there's a vnc server
>> that will let you grab your current xsession and I think that's the one.
>>  Somebody please correct me if I'm wrong.
> I can confirm that x11vnc is the one.  I use it often.
>

Good to know ... thanks... I'll try that when I get a little time.




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-07-25 13:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-17  1:19 [gentoo-user] What is the gimmick to run tightvnc from windows to gentoo Harry Putnam
2008-07-17 21:04 ` David Blamire-Brown
2008-07-17 21:36   ` Mick
2008-07-19 13:18     ` [gentoo-user] " Harry Putnam
2008-07-19 15:31       ` Mick
2008-07-19 13:29   ` Harry Putnam
2008-07-21  5:15     ` Josh Cepek
2008-07-22 15:04       ` Harry Putnam
2008-07-22 14:09         ` Eric Martin
2008-07-24 15:13           ` Drew Tomlinson
2008-07-25 13:16             ` Harry Putnam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox