Discussion:
"Connection closed" right after authentication
Andrea Vai
2011-04-07 10:25:22 UTC
Permalink
Hello list,
It's the first time for me here, I have been using realvnc for years and
I am very satisfied about it, so many thanks to the developers ;-)

My problem: when I try to connect to a windows 7 pro, running realvnc
server 4.1.3 free edition, the client asks me for the password, I enter
the password and the message "Connection closed" pops up.

I think the problem relies on the server side: I notice that there is no
vnc icon in the taskbar even if the service is running, does it mean
anything useful?

Things I have tried but didn't solve the problem:

I have disabled the firewall on both the server and the client.
Disabled Fast user Switching on the server
On the server, added a rule to Windows Defender to exclude the C:
\program....\vnc folder (should not care, should it?)

The client is a Vinagre 2.30.2 on Linux Ubuntu, but also using realvnc
viewer from a WinXP Pro machine gives the same error (well, slightly
different: "The connection closed unexpectedly")

Each time I try to connect, on the server side two events are logged:

1) Connections accepted: <ip-of-the-client>::50371
2) Connections closed: <ip-of-the-client>::50371 (Unable to connect
session to Console: Access denied. (5))

In both the events, the number after "::" is the same, but it varies
from time to time (I saw 53345, 1037, and others)

Thank you for your help
Andrea
John Aldrich
2011-04-07 12:19:15 UTC
Permalink
Post by Andrea Vai
Hello list,
It's the first time for me here, I have been using realvnc for years and
I am very satisfied about it, so many thanks to the developers ;-)
My problem: when I try to connect to a windows 7 pro, running realvnc
server 4.1.3 free edition, the client asks me for the password, I enter
the password and the message "Connection closed" pops up.
I think the problem relies on the server side: I notice that there is no
vnc icon in the taskbar even if the service is running, does it mean
anything useful?
I have disabled the firewall on both the server and the client.
Disabled Fast user Switching on the server
\program....\vnc folder (should not care, should it?)
The client is a Vinagre 2.30.2 on Linux Ubuntu, but also using realvnc
viewer from a WinXP Pro machine gives the same error (well, slightly
different: "The connection closed unexpectedly")
1) Connections accepted: <ip-of-the-client>::50371
2) Connections closed: <ip-of-the-client>::50371 (Unable to connect
session to Console: Access denied. (5))
In both the events, the number after "::" is the same, but it varies
from time to time (I saw 53345, 1037, and others)
Thank you for your help
Andrea
Not sure, but I'm going to guess that this is a Windows Protection problem.
You may have to go into the Security controls and specifically allow
VNCserver. I don't have access to a Windows 7 system right now, so this is
just a guess.
Claudio Coletta
2011-04-07 13:10:07 UTC
Permalink
My 2 cents....

"RealVNC Free" isn't compatible nor with Vista and nor with Seven. In
the free environment you'd try something like TightVNC or TigerVNC or
UltraVNC....


Bye,
Claudio.
Post by Andrea Vai
Hello list,
It's the first time for me here, I have been using realvnc for years and
I am very satisfied about it, so many thanks to the developers ;-)
My problem: when I try to connect to a windows 7 pro, running realvnc
server 4.1.3 free edition, the client asks me for the password, I enter
the password and the message "Connection closed" pops up.
I think the problem relies on the server side: I notice that there is no
vnc icon in the taskbar even if the service is running, does it mean
anything useful?
I have disabled the firewall on both the server and the client.
Disabled Fast user Switching on the server
\program....\vnc folder (should not care, should it?)
The client is a Vinagre 2.30.2 on Linux Ubuntu, but also using realvnc
viewer from a WinXP Pro machine gives the same error (well, slightly
different: "The connection closed unexpectedly")
1) Connections accepted: <ip-of-the-client>::50371
2) Connections closed: <ip-of-the-client>::50371 (Unable to connect
session to Console: Access denied. (5))
In both the events, the number after "::" is the same, but it varies
from time to time (I saw 53345, 1037, and others)
Thank you for your help
Andrea
_______________________________________________
VNC-List mailing list
http://www.realvnc.com/mailman/listinfo/vnc-list
--
===========================================================
L'HADWARE e' la parte del computer che puoi prendere a calci,
il SOFTWARE quella contro cui puoi solo imprecare (specialmente se è
Microsoft).

................................e Dio disse: "UnRar x Universo_0.1_alfa".
Andrea Vai
2011-04-07 13:45:46 UTC
Permalink
Thank you John, what do you mean exactly with "go into Windows Security
controls"? Sorry but I don't know win7 very well... if you could find a
way to be more precise I would really appreciate it.

By the time, I'll give a try with tightVNC, thank you Claudio.

Best regards,
Andrea
Post by Claudio Coletta
My 2 cents....
"RealVNC Free" isn't compatible nor with Vista and nor with
Seven. In the free environment you'd try something like TightVNC or
TigerVNC or UltraVNC....
Bye,
Claudio.
Post by Andrea Vai
Hello list,
It's the first time for me here, I have been using realvnc for years
and
Post by Andrea Vai
I am very satisfied about it, so many thanks to the developers ;-)
My problem: when I try to connect to a windows 7 pro, running
realvnc
Post by Andrea Vai
server 4.1.3 free edition, the client asks me for the password, I
enter
Post by Andrea Vai
the password and the message "Connection closed" pops up.
I think the problem relies on the server side: I notice that there
is no
Post by Andrea Vai
vnc icon in the taskbar even if the service is running, does it mean
anything useful?
I have disabled the firewall on both the server and the client.
Disabled Fast user Switching on the server
\program....\vnc folder (should not care, should it?)
The client is a Vinagre 2.30.2 on Linux Ubuntu, but also using
realvnc
Post by Andrea Vai
viewer from a WinXP Pro machine gives the same error (well, slightly
different: "The connection closed unexpectedly")
Each time I try to connect, on the server side two events are
1) Connections accepted: <ip-of-the-client>::50371
2) Connections closed: <ip-of-the-client>::50371 (Unable to connect
session to Console: Access denied. (5))
In both the events, the number after "::" is the same, but it varies
from time to time (I saw 53345, 1037, and others)
Thank you for your help
Andrea
_______________________________________________
VNC-List mailing list
http://www.realvnc.com/mailman/listinfo/vnc-list
--
===========================================================
L'HADWARE e' la parte del computer che puoi prendere a calci,
il SOFTWARE quella contro cui puoi solo imprecare (specialmente se è
Microsoft).
................................e Dio disse: "UnRar x
Universo_0.1_alfa".
John Aldrich
2011-04-07 14:42:11 UTC
Permalink
Post by Andrea Vai
Thank you John, what do you mean exactly with "go into Windows Security
controls"? Sorry but I don't know win7 very well... if you could find a
way to be more precise I would really appreciate it.
By the time, I'll give a try with tightVNC, thank you Claudio.
I personally use TigerVNC here and am very happy with it both on Windows
(XP) and Linux (Fedora 14.) As for the "Windows Security" stuff...that's
under Control Panel. Not very familiar with Windows Vista and Windows 7 as
Microsoft has moved everything around and changed what it's all called, but
in the Control Panel there should be some sort of "security settings." As
previously mentioned, it may simply be an incompatibility between Windows 7
and RealVNC.

Loading...