Time out for windows RDP port check may need to be extended
When running setup.sh, it fails with the error 13. The full output is below.
################################################################################
# #
# WinApps Install Wizard #
# #
################################################################################
Q) Install or uninstall WinApps? --> Install
Q) Configure WinApps for the current user 'nakul' or the whole system? --> Current User
Q) Automatically install supported applications or choose manually? --> Manual (Default)
WinApps installation already present at /home/nakul/.local/bin/winapps-src. Updating...
Already up to date.
Installing WinApps.
Checking for existing conflicting WinApps installations... Done!
Attempting to load WinApps configuration file... Done!
Checking whether dependencies are installed... Done!
Checking whether the user 'nakul' is part of the required groups... Done!
Checking the status of the Windows VM... Done!
Checking for an open RDP Port on Windows... Failed!
ERROR: NETWORK CONFIGURATION ERROR.
Failed to establish a connection with Windows at '192.168.122.42:3389'.
--------------------------------------------------------------------------------
Please ensure Remote Desktop is configured on Windows as per the WinApps README.
--------------------------------------------------------------------------------
Exiting with status '13'.
I ran the nc -z "$RDP_IP" "$RDP_PORT" command from the waCheckPortOpen in the terminal and noticed it took 7 seconds,
So, I changed the timeout in the waCheckPortOpen function from 5s to 10s and the installation was successful.
I am unsure if this is a problem with my machnine, but it might be helpful to add a quick note in the README for others who might run into the same issue.
thanks!
I have the same problem with Exiting with status '13'
in .local/bin/winapps-src/bin/winapps changing the TIME_INTERVAL to 10 did not help me
@D3rJust1n increase it to an even higher value. If it still does not work then the Remote Desktop on the Windows guest is probably not set up correctly.