Forum / NoMachine for Linux / 2FA not notifying when login attempted on remote machine
- This topic has 17 replies, 4 voices, and was last updated 3 weeks, 4 days ago by
Brian.
-
AuthorPosts
-
July 18, 2025 at 16:23 #53801
Britgirl
KeymasterI previously wrote to start the connection, it is not necessary. So follow these corrected steps. Sorry for any confusion.
– Remove/disable 2FA for the connection on the NoMachine macOS side (Settings > Network > Machine > Two-factor, Change, remove the tick from “require 2FA” box, remove the User Id from the box, click Apply)
– Enable level 9 in Server > Security > Logs and restart the server.
– Enable 2FA for the connection again in Network (Settings > Network > Machine > Two-factor, Change, tick the “require 2FA” box), insert the User Id/NoMachine account, click Apply.
– What should appear is the push-notification I’ve attached (there’s a short version, and then the long version (attached) when you click on the short version).
– Go back to Server > Security and click Take logs. Save and send to us.July 18, 2025 at 23:41 #53803Brian
ParticipantOk this is stranger than fiction! With no other changes since we last addressed this subject, I now DO receive connect notifications on both iPhone and MacBook Pro clients from the MacMini server. The only thing that changed was that I entered 9-Debug mode and restarted the server. Not sure how that could change things, but I guess I’ll not ask questions and just be happy! Everything works fine now so I guess that’s it for this thread. Not sure if you still want logs or not at this point….thanks for staying with me!
Brian
July 21, 2025 at 23:10 #53819Brian
ParticipantAh! I think relentless tinkering has finally arrived at the answer to this.
It appears that somehow along the way, multiple attempts to uninstall and reinstall the software and delete and reestablish my user ID resulted in my iPhone appearing in the authorized devices list more than once. Apparently this confuses the notification process and it basically gives up.
If having difficulty receiving 2FA notifications to connect to a remote device (whether an external IP address or within the same LAN), might I suggest that you go online to the NM website and get in to your user account profile and look at the authorized devices signed up to receive 2FA notifications and see if it needs some cleanup.
What I did just to make sure I was totally clean was to delete ALL authorized devices from my user account on the website and then uninstall the software from all of my devices (NM servers and all clients including iPhone). I then reinstalled everything, logged back in, and re-enabled 2FA and the notifications began to work again. I had uninstalled and reinstalled many times before but it was obvious the problem was that I was unaware that I had totally screwed up the authorized devices list. So hopefully this helps !
-
AuthorPosts
You must be logged in to reply to this topic. Please login here.