Friday, June 4, 2010

Life after Vista..

Life after Windows Vista is much faster. But there are many problems too.
Security is one major problem. Here is how I added the VNC server to my Fujitsu netbook Windows 7 Starter edition. The Windows 7 starter edition does not allows remote access and it is a pain in the eye due to the 7 inch small screen.

Installing VNC server allows the screen image to be projected out on another machine at home. But point to note is during installation the VNC Server will try to install itself as a service mode program. There will be problem trying to connect and remote control to the Windows 7 computer from another computer by using VNC client.

In the Event Viewer after failed while attempting to gain access control to remote Windows 7 computer, user can see the following error:

Unable to connect session to Console. Access Denied. or Connection closed unexpectedly. or No connection or connection reset by peer (10054).

Beside, on the Windows 7 machine which users try to install VNC server (from RealVNC, UltraVNC or any other VNC based server), Windows 7 will display a few symptoms or error messages as below:

Access Denied if you’re not running or installing or configuring VNC server as an Administrator.

VNC Server (Service) icon in the Notification Area displays the message ‘Not Accepting Incoming Connections’ error message.

VNC Server (Service) icon in the Notification Area (system tray) does not display the server’s assigned IP address.

When trying to execute and run VNC server in user mode, same error message of ‘Not Accepting Incoming Connections’ appeared.

The problems are caused by Windows 7 new security feature called Session 0 Isolation. Previous versions of Windows ran system services in the same login session as the locally logged-in user (Session 0). In Windows 7, Session 0 is now reserved for these services, and all interactive logins are done in other sessions, causing VNC server unable to accept incoming remote control connection request.

So in order to make VNC server on Windows 7 works properly, the workaround resolution (at least until the VNC developers to come out with proper fix or update to address the new security constraint in Windows Vista) is to run VNC server in user mode.

* Ensure that you have the exceptions to allow incoming connections to winvnc4.exe or to port 5900 (or any other port number that you want to allocate to VNC server listening port), or simply turn off firewall.

* VNC server is detected as potentially unwanted behaviour in integrated Windows Defender. Create a rule to ignore this warning.

* If you want to newly or fresh install VNC server, do not install the VNC Service by not checking or selecting the “Register VNC Server Service” option, or else you will have “Not Accepting Connections” error even when trying to run the VNC Server in User Mode.

* If you have already install VNC Service (register VNC Server as a service to start automatically when Windows Vista starts), unregister the VNC Service.

* If you want to configure settings of VNC Server, right click on “Configure VNC Server” menu item and select “Run as” for administrative privileges so that the VNC configuration tool can access to the relevant parts of the registry.

Then start VNC Server in User Mode (may need to Run as Administrator too), and you will be able to connect, remote control and access to Windows Vista computer desktop from another computer properly.

Some users reported that RealVNC Personal Edition and Enterprise Edition (both need payment) supports Windows 7, while RealVNC Free Edition still waiting for workarounds. And UltraVNC has released Vista supported and compatible VNC server/client.