INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

VNC errors if desktop on remote server is locked

VNC errors if desktop on remote server is locked

(OP)
Hi,

Let me first say I'm by no means a technical user, however, I have be charged to find the solution to this.

Prior to the Christmas holidays, we have had no problems whatsoever using VNC from our local machines to connect to the main server (at least 3 of us did regularly).

However, since the new year, connection is only possible when the desktop on the server is not locked.

If it is locked, various errors are reported:
"read: Connections reset by peer (10054)"
"server closed connection unexpectedly."


I have also noticed that any attempts to send ctrl-alt-del is ignored, i.e. nothing happens.

Using VNC from the server onto a local machine poses no problems.

We are unaware of any manual changes mades to settings on VNC or our firewall.

Any advise, links, or direction is much appreciated.

Many thanks,
Cylc

RE: VNC errors if desktop on remote server is locked

what o/s are you using?

RE: VNC errors if desktop on remote server is locked

The 'Connections reset by peer (10054)' error is often a 'timeout' problem (but can sometimes be a 'server unavailable' problem.

Try pinging the server and checking for long delays and/or intermittent failures?

Also, if you're using XP/2K, have a look in the Event Viewer and see if there are any errors.

RE: VNC errors if desktop on remote server is locked

(OP)
Thanks for the replies guys.

Smorgan11 - the server is on MS Server 2003, the local machines are XP

Rick998 - There's no problems pinging the server, there's always a reply. And the event logs shows these 2 errors:

VNCServerWin32: TcpListener on port 5800 failed (unable to bind listening socket: Only one usage of each socket address (protocol/network address/port) is normally permitted.
 (10048))  

VNCServerWin32: TcpListener on port 5900 failed (unable to bind listening socket: Only one usage of each socket address (protocol/network address/port) is normally permitted.
 (10048))  


Thanks again

RE: VNC errors if desktop on remote server is locked

not a solution but why do you not use Remote Desktop Connection which comes with Windows XP?

RE: VNC errors if desktop on remote server is locked

(OP)
I'm not sure, to be honest. I will ask the system admin.

VNC has always been in use since I started, there must have been a reason for it.

Thanks.

RE: VNC errors if desktop on remote server is locked

Looks like the ports used by VNC are already in use. On the server, open a command prompt and enter netstat -a. This will show you a list of TCP/IP ports and their connections.

Ports 5800 and 5900 should be in a 'Listening' state and show the 'Foreign Address' as 0.0.0.0:0, i.e. waiting for an incoming VNC connection. If there already a VNC connection then the IP address of the connection will be shown as the 'Foreign Address' and the state will show as 'Established'.

If there is a VNC connection already established but you cannot determine which PC is the connected client then stop the VNC server on the server (or right-click on the taskbar icon and select 'Kill [or Disconnect] all clients').

If you need to identify what software is using a particular port then have a look at:

What is using port XXX on my computer?
http://www.dslreports.com/faq/9444

Hope this helps...

RE: VNC errors if desktop on remote server is locked

(OP)
Thanks for all your help, the issue's been resolved now.

VNC was just running in the wrong mode - it should be in service mode not user.

Cheers!
Cylc

RE: VNC errors if desktop on remote server is locked

Its still a problem for us...after launching vnc and successfully connecting to the server remotely we are prompted for the local password...after which the session is closed.

RE: VNC errors if desktop on remote server is locked

IS VNC installed as a service on the server? and if it is, have you tryed to restart the service?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close