DEV Community

Discussion on: How to Set Up Microsoft Office on Linux Mint 21.3: A Comprehensive Guide

Collapse
 
devtomm profile image
Markus

Thanks for the guide. I get the following errors when trying to run the install script in step 6:

markus@Dell-7480-2024:~/winapps$ ./setup.sh 
################################################################################
#                                                                              #
#                            WinApps Install Wizard                            #
#                                                                              #
################################################################################

Q) Install or uninstall WinApps? --> Install
Q) Configure WinApps for the current user 'markus' or the whole system? --> Current User
Q) Automatically install supported applications or choose manually? --> Manual (Default)

WinApps installation already present at /home/markus/.local/bin/winapps-src. Updating...
Bereits aktuell.
Installing WinApps.
Checking for existing conflicting WinApps installations... Done!
Attempting to load WinApps configuration file... Done!
Checking whether dependencies are installed... Done!
Checking container status... Done!
Checking for an open RDP Port on Windows... Done!
Attempting to establish a Remote Desktop connection with Windows... Failed!

ERROR: REMOTE DESKTOP PROTOCOL FAILURE.
FreeRDP failed to establish a connection with Windows.
--------------------------------------------------------------------------------
Please view the log at /home/markus/.local/share/winapps/FreeRDP_Test_20241210_2039_325222462.log.
Troubleshooting Tips:
  - Ensure the user is logged out of Windows prior to initiating the WinApps installation.
  - Ensure the credentials within the WinApps configuration file are correct.
  - Utilise a new certificate by removing relevant certificate(s) in /home/markus/.config/freerdp/server.
  - If using 'libvirt', ensure the Windows VM is correctly named as specified within the README.
  - If using 'libvirt', ensure 'Remote Desktop' is enabled within the Windows VM.
  - If using 'libvirt', ensure you have merged 'RDPApps.reg' into the Windows VM's registry.
  - If using 'libvirt', try logging into and back out of the Windows VM within 'virt-manager' prior to initiating the WinApps installation.
--------------------------------------------------------------------------------
Exiting with status '14'.
markus@Dell-7480-2024:~/winapps$ more /home/markus/.local/share/winapps/FreeRDP_Test_20241210_2039_325222462.log
[20:39:06:326] [2:00000003] [WARN][com.freerdp.crypto] - [verify_cb]: Certificate verification failure 'self-signed certificate (18)' at stack position 0
[20:39:06:326] [2:00000003] [WARN][com.freerdp.crypto] - [verify_cb]: CN = DOCKERW-C6NHUDQ
[20:39:06:327] [2:00000003] [ERROR][com.winpr.sspi.Kerberos] - [kerberos_AcquireCredentialsHandleA]: krb5_parse_name (Konfigurationsdatei gibt keinen Standard-Realm an [-1765328160])
[20:39:06:327] [2:00000003] [ERROR][com.winpr.sspi.Kerberos] - [kerberos_AcquireCredentialsHandleA]: krb5_parse_name (Konfigurationsdatei gibt keinen Standard-Realm an [-1765328160])
[20:39:06:329] [2:00000003] [ERROR][com.winpr.sspi.NTLM] - [ntlm_fetch_ntlm_v2_hash]: Error: Could not find user in SAM database
[20:39:06:329] [2:00000003] [WARN][com.winpr.sspi] - [winpr_InitializeSecurityContextA]: InitializeSecurityContextA status SEC_E_INTERNAL_ERROR [0x80090304]
[20:39:06:329] [2:00000003] [ERROR][com.freerdp.core.auth] - [credssp_auth_authenticate]: InitializeSecurityContext failed with SEC_E_INTERNAL_ERROR [0x80090304]
[20:39:06:329] [2:00000003] [ERROR][com.freerdp.core.rdp] - [rdp_recv_callback_int][0x641cd0154220]: CONNECTION_STATE_NLA - nla_recv_pdu() fail
[20:39:06:329] [2:00000003] [ERROR][com.freerdp.core.rdp] - [rdp_recv_callback_int][0x641cd0154220]: CONNECTION_STATE_NLA status STATE_RUN_FAILED [-1]
[20:39:06:329] [2:00000003] [ERROR][com.freerdp.core.transport] - [transport_check_fds]: transport_check_fds: transport->ReceiveCallback() - STATE_RUN_FAILED [-1]
[20:39:06:329] [2:00000003] [ERROR][com.freerdp.core] - [rdp_client_wait_for_activation]: ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]

Enter fullscreen mode Exit fullscreen mode

I have a few questions:

  • do I have to change anything in the config file from 6.?
  • is the bew install script started with ./setup.sh?

Thanks a lot
Markus

Collapse
 
lionthehoon profile image
Lion The Hoon

Yes, you are correct. It has since been updated to ./setup.sh. For the error you are seeing, have you tried restarting Windows and then Sign out the user? I retested these steps on Linux Mint 22, and was able to reproduce your error and resolved it by restarting and signing out the user.

Collapse
 
devtomm profile image
Markus

Hello Ryan,
thank you that solved my problem - works perfect.