Skip to Content

Connection has been closed. Another user may have logged in on the remote windows machine

Method 1

I am getting the following error while using the RDP via browser via the Ezeelogin GUI.
" Connection has been closed. Another user may have logged in on the remote windows machine " but there are no other users connected.

On further investigation, I see the following errors while opening
Go to Any Browser-> Right click on the browser tab -> Click Inspect - > Click Console or click on F12  to get the console of the browser and the following errors shows up.

    [mstsc.js] error : NODE_RDP_PROTOCOL_X224_NEG_FAILURE()

node_rdp_protocol

  • Open Server Manager. To open Server Manager, click Start, point to Administrative Tools, and then click Server Manager.

  • In Computer Information, click Configure Remote Desktop.

  • In the System Properties dialog box, under Remote Desktop, click the following options:

  • Allow connections from computers running any version of Remote Desktop (less secure). Use this option if you do not know the version of Remote Desktop Connection that will be used to connect to this server.
  • Review the information in the Remote Desktop dialog box, and then click OK twice.

 

Method 2

Go to Any Browser-> Right click on the browser tab -> Click Inspect - > Click Console or click on F12  to get the console of the browser and the following errors shows up.

        [mstsc.js] error :ER_DUP_ENTRY(undefined)

1.Run the below command to truncate the RDP logs.

root@gateway ~]# php /usr/local/ezlogin/ez_queryrunner.php "truncate table prefix_rdplogs"

2. After truncating the logs, do try to login to the windows server by clicking on the RDP icon.