Forum Replies Created
-
AuthorPosts
-
BritgirlKeymasterYou can try with “custom scripts”, they’re also supported in the free version. Take a look at the following article:
Server Automation Interface: some examples to use custom scripts triggered on server/node events
https://kb.nomachine.com/AR02L00787and any of the guides of the Enterprise products. Here’s the link to the Enterprise Desktop guide (like the free version but with more features) https://kb.nomachine.com/DT10R00171#11.3.
You could use, for example, UserScriptAfterSessionStart (in node.cfg) executed as user, not as user nx. Prepare your script and run it at disconnection to restore the previous monitor configuration.
#
# Specify absolute path of the custom script to be executed after the
# session start-up. The script can accept session ID, username, node
# host and node port as its input.
#
#UserScriptAfterSessionStart “”or
#
# Specify absolute path of the custom script to be executed after
# the session is disconnected. The script can accept session ID, user-
# name, node host and node port as its input.
#
#UserScriptAfterSessionDisconnect “”
BritgirlKeymaster3093 3093 2024-05-23 15:28:39 406.174 NXSERVER Read 'NX> 596 Error: Cannot create /rhome/DV9G49/.nx. Error is 'Permission denied'.\n' 78 from FD#16.There are some permission denials occurring when NoMachine attempts to create the .nx directory in the user’s home. Check that user DV9G49 has rights to create it.
An option is to set the path by using the key below, in node.cfg
#UsersDirectoryPath ""# Specify a different path to the default home to create the .nx # directory for storing session files and user's logs. This doesn't # apply to the nx user, the NoMachine reserved user necessary for # internal operation. If it doesn't exist yet, a sub-directory is # created for the user who's starting a session, named as username. # The .nx directory is created under that sub-directory. E.g. if this # key is set to /tmp/nxdir/, when user nxtest runs the first session, # the /tmp/nxdir/nxtest/.nx will be created. The directory specifed # in the UsersDirectoryPath key should be writeable for all users or # alternatively, the administrator should create a directory with # proper ownership and permissions, named as username, for each of # the users who need to start sessions there. # #UsersDirectoryPath ""
BritgirlKeymasterThanks for the screenshots. I was not clear in what I wrote yesterday, sorry for that. When I wrote “You can check if file-transfer is enabled by going to Server settings from the !M icon on the remote desktop > Security > Scroll down to “File transfers” and check that the boxes are ticked.” – you need to do that on the Red Hat host you are connecting to, not on the Mac. The settings panel you showed us are the server settings for your own Mac (so if you were to connect to your Mac from another client, those settings control the upload and download of files from and to your Mac as a server).
If you are not the administrator and can’t access the NoMachine server settings, you need to make a request to who is responsible for that machine. It is likely that file-transfer has been disabled in the configuration files of the server by whoever is (i.e the FT key has been set like this:
EnableFileTransfer nonein the node.cfg.)
BritgirlKeymasterPlease submit that image to forum[at]nomachine[dot]com.
You can check if file-transfer is enabled by going to Server settings from the !M icon on the remote desktop > Security > Scroll down to “File transfers” and check that the boxes are ticked.
File transfers
Allow clients to upload files – enabled by default, it ensures that others connecting to this computer can send files to the server.Allow clients to download files – enabled by default, it allows users connected to this computer to download files from the server.
You can also see an example in Section 2.5 in the following guide https://kb.nomachine.com/DT07S00237#2.5.
BritgirlKeymasterAre you connecting to the remote NoMachine server using the browser or is this a traditional connection from inside the Player? I ask because you mention “virtual clipboard” and this is only available in web-based sessions.
I do not see the “Transfer a File” option when I click on the !M icon.
Are you clicking on the !M icon on the NoMachine server side? Start your session to the remote computer, click on the !M icon and take a screenshot if there is no file transfer option.
Are you the administrator of the NoMachine server? Could it be possible that this option has been disabled on the server?
BritgirlKeymasterThis is a bug we are aware of and it’s reported here: https://www.nomachine.com/TR04V11131, the fix is planned for the next update. In the meantime, please follow the instructions I posted here: https://forum.nomachine.com/topic/no-gpu-after-uninstalling-nomachine#post-47927, and I’m pasting them here as well:
As user root
Make a copy of the following files
/usr/NX/scripts/vgl/vglserver_config /usr/NX/scripts/vgl/vglgenkeymaking sure to place them in the same folder
– Uninstall
– Execute
/vglserver_config -unconfig– Reboot
BritgirlKeymasterHi, for the logs from the NoMachine server you are connecting to you should run:
$ sudo /etc/NX/nxserver --debug --collectIf you are the root user, run the command above without ‘sudo’.
The log archive is named as: NoMachine-log-
.zip (e.g. NoMachine-log-2018.09.27-11.44.01.zip) and stored in: /usr/NX/var/log/archives. sudo tar -cvp --exclude 'cache*' --exclude 'images' --exclude 'temp' -f - path_to_user_home/.nx | gzip -c nxdir.tar.gzFor the moment, we do not need logs from the device you are connecting from. You would need to replace path_to_user_home, usually its “/home/username”, but it depends on the username and system path where user’s home directories are stored.
BritgirlKeymasterHi, can you send us the logs?
It’s better to enable debug first, before reproducing the problem. Full instructions on how to gather logs can be found here:https://kb.nomachine.com/DT07S00243
Also, if it’s Gnome which is failing, check for errors in “.xsession-errors” and system logs (journalctl). Attach these along with NoMachine logs and send to forum[at]nomachine[dot]com.
BritgirlKeymasterHi, I’m not sure whether you’re asking about the labels or why you are seeing two connection icons. So I’ll try to be comprehensive in my answer 🙂
The pipe icon (located through local discovery) represents computers which are found on the same LAN. You can turn this off if you don’t want your server machines to advertize themselves on the LAN. See more about this here:
https://www.nomachine.com/finding-other-nomachine-computers-on-the-same-network
You can also turn off LAN computers from being shown in your local Player if you want as well, this is also explained in the above tutorial. It has a label (in the edit panel) which explains what it is: “Located through local discovery service”.
The other icon (!M) represents an nxs file, i.e a connection you created manually. It shows when you create a connection to that computer using the “Add” button or if you input the IP address in the ‘Search’ field. This connection file can also be from previous installations as it is stored in the .nx/cache folder.
Regular nxs connections can be used to connect to any NoMachine server whether it’s on a LAN or over the Internet. The labels you see are not dynamic. They don’t change on the basis of whether you have enabled port-forwarding or not. They are used to distinguish the difference between the types of connection: one for local discovery hosts, the other for direct connections (which for the majority of users that we have had feedback from “over the internet” clarifies the difference between the two).
Can you reattach your image? (don’t paste it in)
BritgirlKeymasterThanks for letting us know!
BritgirlKeymasterHi, the package for macOS is what you need across all your Macs. The package is suitable for all mac ARM and Intel-based architectures. Can you first check that permissions have been enabled correctly on the M1? Go to System Settings > Privacy > Accessibility and then “+” and add NoMachine. If it’s already there, remove and add it again (see this article https://kb.nomachine.com/AR11Q01061).
May 20, 2024 at 10:35 in reply to: What are the differences between the free version and the paid version #48176
BritgirlKeymasterThere are no limits on how many outgoing NoMachine connections you start. What counts is the number of incoming connections. Let’s look at an example. You have installed the free version on the computer you want to connect from and you’ve also installed the free version on the computer you want to access (the “server”). The number of connections you can start is unlimited. On the server side, one incoming connection will be possible. If you install Enterprise Desktop on the server machine, unlimited incoming connections will be possible.
Please also take a look at the following article:
What is the difference between NoMachine Free Edition and NoMachine Enterprise Desktop?
https://www.nomachine.com/AR07L00808
BritgirlKeymasterAh so it was related to permissions not being correctly set for NoMachine during installation. Thanks for letting us know.
BritgirlKeymasterIf you’re trying to close the window on the remote machine, you could try enabling “grab the keyboard” from the connection menu (https://kb.nomachine.com/DT06S00218#3. ) or setting it in advance in the Player settings (https://kb.nomachine.com/DT07S00236#2.1). You can also toggle this setting using the keyboard shortcut with Ctrl Alt(Option) K for macOS.
BritgirlKeymasterHi,
a useful guide to follow for connecting to machines on the same LAN is here https://www.nomachine.com/getting-started-with-nomachine. To connect from a device to your Mac using its local IP address, both those devices must be on the same LAN.
But let’s check that everything is configured correctly. On the Mac, open NoMachine > Server Settings > Ports, and make sure that the “Advertise this computer on the local network” box is enabled. In Server Status is the server showing as ‘running’?
How are you connecting? Are you creating the connection manually or are you using an MDNS connection? By MDNS I’m referring to the computer icon with a little pipe that appears when you open the app on one of your mobile devices (scroll to the bottom of this guide for an example of what it looks like, thttps://www.nomachine.com/finding-other-nomachine-computers-on-the-same-network).
Could you firewall be blocking ports that NoMachine uses?
-
AuthorPosts
