Forum Replies Created
-
AuthorPosts
-
TomParticipant
Hi KeyX,
to make UPnP work UPnP you need two things.
1) Router that supports UPnP
2) Public IP address. You can’t be behind double NATIf you have the set key – EnableUPnP NXUDP in server.cfg
Run these commands in the console /usr/NX/bin/nxserver –restart
sudo /etc/NX/nxserver –upnpmap
The first one will restart the server NoMachine
The second one will show whether you have set the UPnP port on the router.
You should see something like this: NX UDP port 4000 mapped to: Your_Public_IP:23167Example port 23167 is the port you should connect to your public IP.
Regards,
TomTomParticipantHi Nurbels,
I checked this solutions in my lab. It works for me without any problem . Maybe it’s a problem with the ports you set in socat.
Try to set them using the command: socat TCP4-LISTEN:4000 TCP4:server_network:4000Regards,
TomTomParticipantHi Tinywolf,
I think you’re talking about Windows, but I’ll also give the commands for Linux, just in caseWindows
Open the CMD console as administrator and move to the bin folder under the NoMachine installation directory and run:
e.g.
C:\Program Files\Nomachine\bin\nxserver --start
C:\Program Files\Nomachine\bin\nxserver --stop
C:\Program Files\Nomachine\bin\nxserver --restartLinux
/usr/NX/bin/nxserver --start
/usr/NX/bin/nxserver --stop
/usr/NX/bin/nxserver —restartThe port can be changed by editing the server.cfg file
Windows
It is located in the etc directory in the folder where Nomachine was installed e.g.
C:\Program Files\Nomachine\etc\server.cfg
Key – Port 4000Linux
/usr/NX/etc/server.cfg
Key – Port 4000After changing the port it is necessary to restart NoMachine, use the restart command, examples of which I have given above.
Ragards,
TomTomParticipantHi Alexis,
can you update NoMachine to the latest version on macOS?
Or you can uninstall version 7 and install version 8.
If you still can’t connect, collect logs according to this link https://kb.nomachine.com/DT07S00244 and send them to us.An almost full disk should not affect the operation of NoMachine, unless the system itself has a problem with it or log files can no longer be saved by NoMachine.
Maybe you deleted something necessary for NoMachine to run when you tried to wipe the disk?
I understand that after a failed system update, the machine was not restored from a snapshot or a backup?Regards,
TomTomParticipantHi Zdbsk,
if you prefer to just tunnel the SSH connection over the NX protocol, take a look at our article here:
https://kb.nomachine.com/AR10K00728The following articles might also be of interest to you which outline what ports are used, why and how:
NoMachine Security Statement
https://www.nomachine.com/AR04S01121Default ports used by NoMachine
https://kb.nomachine.com/AR01L00770Regards,
TomJune 6, 2023 at 16:10 in reply to: How can I block a connection to a NoMachine server by IP address? #44500TomParticipantHi,
I’m not sure what you want to do?
Do you want to block connection via NoMachine to your computer for some addresses from the local network?
eg. IP 192.168.1.109 can’t connect but IP 192.168.1.165 can.What OS are you using?
Regards,
TomMay 10, 2023 at 14:18 in reply to: Unable to connect remote desktop with one particular internet connection #44181TomParticipantHi Suman06,
are there Windows computers on both sides?
Is the computer you are connecting to (NoMachine server) on the local network?
What version of NoMachine do you have installed on both computers?
How is the computer you are connecting to (NoMachine server) connected to the network?Please read the article: https://kb.nomachine.com/DT11R00181
Collect logs and send as attachments to forum[at]nomachine[dot]com.Regards,
TomTomParticipantHi Robert,
today I installed on VM Windows 10 Enterprise OS.
I added it to existing Active Directory.
I created a localadmins group in AD with rights to install software.
I created a localadmin user and added it to the localadmins group.
I logged into Windows 10 with the localadmin user and installed NoMachine 8.4.2 from http://www.nomachine.com.
After restarting Windows 10, I can connect to this desktop, I see the NoMachine icon in the tray.
Everything works without a problem.Your problem seems to be related to your machine configuration or premissions in the GPO.
You should discuss this issue with your company administrators.Regards,
TomTomParticipantHi Robert,
I understand that you have administrator rights on this computer and can install the software as a domain user?
Do you also have domain administrator rights?
When you are at home, you log in to a domain or local account, e.g. computer-name\localusername?
Do you have antivirus software installed on your laptop?
Any other computer security software?When installing NoMachine, are you connected via VPN to the company?
The only thing that comes to my mind is to check system files or corrupted files
https://support.microsoft.com/en-us/topic/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system-files-79aa86cb-ca52-166a-92a3- 966e85d4094eMaybe administrators from your company will help with the installation?
Regards,
TomTomParticipantHi Robert,
now the logs are full of information.
From the logs I deduce that your Windows is connected to Active Directory (AD), but has lost connection to Domain Controller (DC).
Run cmd as administrator and with command nltest/dsgetdc:[domain-name] check if you are connected to DC
[domain-name] replace with your domain eg. test.local
Most likely, after repairing the connection to AD and reinstalling NoMachine, everything will work as it should.Regards,
TomTomParticipantHi Robert,
log file nomachine_log.zip is corrupted, I can’t unpack it.
Please check it and upload it again.Regards,
TomTomParticipantHi,
The logs look strange.
Have you set the log level to 7? SessionLogLevel 7 key in InstallationDirectory/NoMachine/etc/server.cfg?Can you uninstall NoMachine?
Verify that all directories have been deleted, if not delete them manually.
Install NoMachine, set the log level to 7, restart Windows and then collect and upload the logs again.Before installing NoMachine, follow the Windows repair steps from this link:
https://support.microsoft.com/en-us/topic/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system-files-79aa86cb-ca52-166a-92a3-966e85d4094eWhat is the version of Windows home or professional?
Which version is e.g. 22H2? What type of system is it 64 or 32 bit?
You can find this data in the system tab in the system settings.Is this a clean install of Windows or is it an upgrade from Windows 7 or 8?
How much memory does the computer have?Regards,
TomTomParticipantHi Teknicianexpertiz,
I don’t know if such a change will be possible. This is definitely the easiest solution.
When explaining to them what effect you want to achieve, tell them that you need to open a port on your router and forward this port to your local computer.Regards,
TomTomParticipantHi Wintermute,
I solved it in this way:
Pull down the Apple menu and go to “System Preferences”;
Choose “Dock & Menu Bar” preferences;
Uncheck “Automatically hide and show the menu bar in full screen” so it’s disabled.I don’t know if you are using two screens ?
For one monitor I set it to “In Full Screen Only” and open NoMachine Client.
For a dual monitor setup I set “On desktop only”.
To set NoMachine Client to full screen mode I use CRL+ALT+F keyboard shortcuts.
You can use page-peel or CTRL+ALT+0 to change NoMachine Client settings.Regards,
TomTomParticipantHi Teknicianexpertiz,
this unfortunately looks like double NAT.
If you do not have access to the router from 10.11.x.x network, you will not be able to forward the port to your router on the 192.168.2.x network.
Without this, NoMachine will not work.Can you describe how your network is configured in the place where the computer you want to connect to from the outside is located (NoMachine Server)?
Do you have a router?
Do you have a separate Access Point and is the computer you are trying to connect to (NoMachine Server) connected to it via WiFi?A solution can be to create a tunnel that will connect the computer to which you want to connect to on the VM on e.g. Amazon AWS. Then the connection that comes to the machine on AWS will be redirected to the NoMachine Server behind the double NAT. Unfortunately, this configuration requires technical knowledge and an account with one of the cloud solutions providers.
Regards,
Tom -
AuthorPosts