Forum Replies Created
-
AuthorPosts
-
Pesky_UKParticipantHere is a perfect example:
- I connect to a remote machine using the login details for the remote built-in administrator account. The remote user is logged in as themselves (local or microsoft acocunt with member of administrators group).
- If I want to share a drive privately it wants to map it to c:\users\administrator\……
- If I want to share the drive publicly it wants to map it to c:\programdata
Screenshots attached.
Preferably it should map to c:\users\public\desktop so that the share is available no matter who is logged in.
Attachments:
Pesky_UKParticipantWith 1 the remote user is either a local or a microsoft account and are members of the administrators group.
Pesky_UKParticipantHere’s a bash script that will check the version of the installed NoMachine. If it is greater than 9.1.24 (current version that required the fix above) then it will remove the fix and restart nxserver.
As always, check unknown scripts.
# Check macOS version and remove fix if required
version=$(sudo /etc/NX/nxserver --version | sed 's/NoMachine - Version //')
if [ "$(printf '%s\n' "9.1.24" "$version" | sort -V | head -n1)" != "9.1.24" ]; then
echo "Version $version is greater than 9.1.24. Updating configuration..."
sudo sed -i '' '/DisplayServerExtraOptions "-oldeventapi 1"/d' "/Applications/NoMachine.app/Contents/Frameworks/etc/node.cfg"
echo "Restarting NoMachine..."
if ! sudo /etc/NX/nxserver --restart; then
echo "Failed to restart NoMachine."
exit 1
fi
else
echo "Version $version is not greater than 9.1.24. No changes made."
fi
Pesky_UKParticipantFor those of us with remote machines having to remove the fix will cause problems.
Can the fix removal be programmed into the next update or is there a way to check the version programatically and remove if required?
Pesky_UKParticipantAny machine I tried it on had a Microsoft or local user account (admin level) and the built-in Administrator acocunt enabled.
I connect as the built-in Administrator account, and go to drives and connect as drive Z. The connection as an admin account maps to /users/administrator and connection as user account maps to programdata folder.
September 25, 2025 at 15:50 in reply to: Remotely deploying NoMachine with NoMachine Network? #54455
Pesky_UKParticipantIs there a command line to update the software or does it have to be done from the GUI?
September 25, 2025 at 04:24 in reply to: Remotely deploying NoMachine with NoMachine Network? #54449
Pesky_UKParticipantAh, I’ve just realised what is causing the problem.
I use brew to remotely install NM but it’s installing version 8.16.1_2 which is the latest version on homebrew.
Can someone update the package on homebrew please?!
September 25, 2025 at 04:12 in reply to: Remotely deploying NoMachine with NoMachine Network? #54448
Pesky_UKParticipantThis is what I get when running it on a Mac (permissions etc already granted):
bash-3.2# /etc/NX/nxserver –networkadd –visible-set myemail@address.com
NX> 500 ERROR: Invalid command: ‘networkadd’September 24, 2025 at 14:13 in reply to: Remotely deploying NoMachine with NoMachine Network? #54443
Pesky_UKParticipantI mean programatically from terminal – sorry, I should have specified that!
September 24, 2025 at 13:13 in reply to: Remotely deploying NoMachine with NoMachine Network? #54438
Pesky_UKParticipant@Britgirl I know that NM can be remotely installed on macOS but I can’t get either of the ID’s using the same syntax as for Windows. Even with the system extension enabled, privacy etc it doesn’t want to work.
Any suggestions?
Pesky_UKParticipantHave a look at your HDR settings.
September 10, 2025 at 14:39 in reply to: Remotely deploying NoMachine with NoMachine Network? #54325
Pesky_UKParticipantBrilliant @Britgirl, works perfectly.
For future searchers here is a very simple powershell script that will install NM on a Windows machine using choco and assign it to an email address. Chocolately also performs a silent install:
choco install nomachine -y & 'C:\Program Files\NoMachine\bin\nxserver.exe' --networkadd --visible-set your@email-address.comThe output of nxserver will also give you the Machine ID and Access ID required to add the connection to your address book.
-
AuthorPosts


