Saturday, May 20, 2017

RealVNC Cloud Connect needs port 5900 open to work

I am trying to use RealVNC 6.1.x as a remote control application over the internet. The documentation is not very clear but from my experiments it seems like it needs port 5900 needs to be opened to the internet.

So RealVNC Cloud Connect is not similar to TeamViwer. This can be deal breaker in NAT (home configuration) or small office where only ports 80 and 443 are allowed.

How to apply RealVNC 6.x Enterprise license

On Windows 10 using RealVNC 6.x 64-bit, open cmd.exe in C:\Program Files\RealVNC\VNC Server, then type:
vnclicense.exe -add XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

Microsoft Network Analyzer 1.4 WFP Callout Driver not installing on Windows 10 Creators Update

I was trying to install Microsoft Network Analyzer 1.4 but it failed installing one of the components on Windows 10 Creators Update. See for text and image capture below.

Program Compatibility Assistant 
A digitally signed driver is required 
Message Analyzer -- WFP Callout Driver
Microsoft Corporation 
Windows blocked the installation of a digitally unsigned driver. Uninstall the program or device that uses the driver and check the publisher's website for a digitally signed version of the driver.

Is this expected? Will it work?

Saturday, April 22, 2017

Open startup folder in Windows 10

To open system level(common) startup location using Run dialog (WinKey+r), type:
shell:common startup
To open current user's startup location:
shell:startup
or from the command line (cmd.exe) do:
explorer.exe shell:common startup


Reference(s):
http://8thstring.blogspot.com/2013/08/open-all-users-start-up-folder-in.html
http://www.winhelponline.com/blog/shell-commands-to-access-the-special-folders/
http://www.osattack.com/windows-7/huge-list-of-windows-7-shell-commands/
http://support.microsoft.com/kb/2806079

Specifying port number as part of IPv6 address

Enclose IPv6 address with square brackets followed by colon and the port. For example to check if port 80 is open on 2607:f8b0:4000:811::2004, do:

c:\> psping -6 [2607:f8b0:4000:811::2004]:80

Reference(s):
http://stackoverflow.com/questions/186829/how-do-ports-work-with-ipv6

Sunday, April 02, 2017

Enable SSH server on QNX 6.5

This is quick start guide how to run ssh server on QNX. Tested on QNX 6.5 (650SP1-VM.tar).

# ssh-keygen -t dsa -b 1024 -f /etc/ssh/ssh_host_dsa_key -N ''
# ssh-keygen -t rsa -b 1024 -f /etc/ssh/ssh_host_rsa_key -N ''

This is not security best practice but this is only a test machine. Enable direct root ssh login to the machine.
# sed -i 's/#PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config

Start ssh service
# /usr/sbin/sshd

Use /usr/sbin/sshd -ddd to view debug output

Reference:
http://www.qnx.com/developers/docs/660/index.jsp?topic=%2Fcom.qnx.doc.neutrino.utilities%2Ftopic%2Fs%2Fsshd.html

Tuesday, February 28, 2017

Enable Retina display on macOS VMware Fusion VM

By default, macOS (tested on 10.2.3) VM using VMware Fusion is not using Retina display. To enable high display resolution, do:

  1. On the macOS host machine, open VMware Fusion Preferences ( VMware Fusion | Preferences... )
  2. In Display selection, set Single Window to "Resize the virtual machine and the window" and Full Screen to "Resize the virtual machine and the window". See figure below for reference.
  3. In VMware Fusion, select the machine in the library ( Window | Virtual Machine Library
  4. In Virtual Machine Library, select the macOS guest VM then select Virtual Machine | Settings...
  5. In System Settings area, select display icon 
  6. Then in Display, select Use full resolution for Retina display
  7. Power up the macOS VM and install VMware Tools
  8. Once tools installation is complete, open terminal and type
  9. sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true
    
  10. Logout and log back in
  11. In the VM System Preferences | Display, select Resolution to Scaled and the resolution marked HiDPI.
  12. Done

Reference(s):
http://patrickbougie.com/2015/10/03/retina-os-x-vm/