Forum / NoMachine for Linux / Need to remove NoMachine from Pop!_OS COSMIC computer
- This topic has 7 replies, 3 voices, and was last updated 7 hours, 8 minutes ago by  fisherman. fisherman.
- 
		AuthorPosts
- 
		
			
				
October 26, 2025 at 17:26 #54645 doobsParticipant doobsParticipantSo, I used the https://web9001.nomachine.com/download/9.1/Linux/nomachine_9.1.24_6_x86_64.tar.gz to install NoMachine on my newly instantiated Pop!_OS COSMIC BETA on a desktop computer. Several things are inop: - I only have access to one of two monitors from client machines
- NoMachine does not echo input from either a Linux or Windows client
 looking through nxserver, there doesn’t seem to be an install for Pop!_OS COSMIC. So, until there is more support, I want to remove NoMachine from this computer. Trouble is, I have no idea how. Can someone please weigh in here? Thank you chris October 28, 2025 at 15:12 #54652 BritgirlKeymaster BritgirlKeymasterPopOS is based on Ubuntu, so it should not be that different. The only issue we are aware of is on the latest Ubuntu 25, virtual display sessions are not possible because Ubuntu has removed support for Xorg. See this article for reference: http://www.nomachine.com/AR10W01330. I only have access to one of two monitors from client machines 
 NoMachine does not echo input from either a Linux or Windows clientPlease explain exactly what you mean. Screenshots or images which show the problem would be useful. For uninstall instructions, take a look at the installation guide: https://kb.nomachine.com/DT04U00269#2.7 sudo /opt/NX/scripts/setup/nxserver --uninstallthen, remove the installation directory: sudo rm -rf /opt/NXOctober 28, 2025 at 19:30 #54660 doobsParticipant doobsParticipantA screenshot of NoMachine not working? Dunno how to do that. I managed to find nxserver, and no it wasn’t in /opt/NX, it was in /usr/NX/bin The folder that I installed from was deleted after initial installation. Had no idea it would be needed it to uninstall. So I got this: chris@halfpint:/usr/NX/bin$ sudo ./nxserver --uninstall nawk: cannot open "/mnt/library/Linux/NoMachine/nomachine_9.1.24_6_x86_64/NX/etc/server.cfg" (No such file or directory) NX> 595 ERROR: Initialization failed. Cannot open file: /mnt/library/Linux/NoMachine/ nomachine_9.1.24_6_x86_64/NX/etc/server.cfg NX> 595 ERROR: No such file or directory. Please try to fix the problem by NX> 595 ERROR: running /mnt/library/Linux/NoMachine/ nomachine_9.1.24_6_x86_64/NX/scripts/setup/nxserver --installLooking through the newly unzipped files, I find server.cfg.sample and copy it over to “/mnt/library/Linux/NoMachine/nomachine_9.1.24_6_x86_64/NX/etc/server.cfg” and edit it to reflect where (I think) the files are. This is what server.cfg looks like now: # Specify the path of base directory where the NX software has been # installed. # ServerRoot = “/usr/NX/bin” # # Specify the path of the home directory of the nx user on Windows. # NXUserHome = “/var/NX/nx/.nx” Now I get: chris@halfpint:/usr/NX/bin$ sudo ./nxserver --uninstall NX> 630 ERROR: No subscription found on this server. NX> 630 ERROR: Please contact NoMachine to acquire a valid subscription.So, I’m going to ask again: How do I remove NoMachine from this computer? Thank you October 29, 2025 at 10:10 #54665 BritgirlKeymaster BritgirlKeymasterSorry I pasted the command to use for non-default locations. Here are the commands, again, from the guide I previously linked. UNINSTALL sudo /usr/NX/scripts/setup/nxserver --uninstallthen, remove the installation directory: sudo rm -rf /usr/NXOctober 29, 2025 at 16:09 #54667 doobsParticipant doobsParticipantThird time : sudo /usr/NX/scripts/setup/nxserver –-uninstall NX> 704 ERROR: Unknown action '–-uninstall'. Usage: nxserver ACTION Actions: --install {SYSTEM} Run the NoMachine server install procedure for the specified system or distribution --update {SYSTEM} Run the NoMachine server update procedure for the specified system or distribution --uninstall Run the NoMachine server uninstall procedure. --pre-uninstall Disable access to new NX sessions, terminate sessions and reset the session DBs. --keygen Generate a new pair of SSH keys for the NoMachine login. After running this procedure, clients will use the key: /usr/NX/share/keys/default.id_dsa.key to connect to this NX server. --keyrestore Restore the SSH key provided with the server package. Current key will be moved to default.id_dsa.key.backup file. --help Show this message The specified SYSTEM must be one of the following operating systems. If not the NoMachine setup will try to autodetect the system or will choose the layout that better resembles one of the known OS.   redhat Red Hat Enterprise 4 and later. suse SLED 10 and later, SLES 10 and later, Open SUSE 10 and later. slackware mandriva Mandriva 2009 and later. debian Debian 4.0 and later. Ubuntu 8.04 and later. fedora Fedora 10 and later.If it’s any help, I tried this: 
 sudo /usr/NX/scripts/setup/nxserver --updateNX> 704 NoMachine Server package is already installed in: /mnt/library/Linux/NoMachine/nomachine_9.1.24_6_x86_64/NX. 
 So, once more with feeling:How do I remove NoMachine from this computer? October 30, 2025 at 12:37 #54673 BritgirlKeymaster BritgirlKeymasterI am pasting what you have written above sudo /usr/NX/scripts/setup/nxserver –-uninstalland now I’m pasting what the command is in our guide sudo /usr/NX/scripts/setup/nxserver --uninstallI see a slight difference in the ‘-‘ you are using. I don’t know if that is an error in the paste and how it shows in our forum or if you copied from your terminal. But please check this. If you don’t use the right command, the output you show is expected. October 30, 2025 at 21:59 #54681 doobsParticipant doobsParticipantCopied and pasted EXACTLY as shown above: 
 sudo /usr/NX/scripts/setup/nxserver --uninstallNX> 704 Standalone NoMachine Server package is installed in another directory.
 Why is this so hard?October 31, 2025 at 12:30 #54685 fishermanModerator fishermanModeratorBased on this discussion and the info you shared, it looks like NoMachine is installed in two different locations: /usr/NX and /mnt/....From the command output you posted: sudo /usr/NX/scripts/setup/nxserver --update NX> 704 NoMachine Server package is already installed in: /mnt/library/Linux/NoMachine/nomachine_9.1.24_6_x86_64/NX.We can see that there’s also an installation under 
 /mnt/library/Linux/NoMachine/nomachine_9.1.24_6_x86_64/NX/.
 It also seems that this folder no longer exists or that the /mnt drive is detached, which explains the error message:
 nawk: cannot open “/mnt/library/Linux/NoMachine/nomachine_9.1.24_6_x86_64/NX/etc/server.cfg”As a workaround, you can try copying the files from /usr/NX/ to /mnt/library/Linux/NoMachine/nomachine_9.1.24_6_x86_64/NX/, and then run: 
 /mnt/library/Linux/NoMachine/nomachine_9.1.24_6_x86_64/NX/scripts/setup/nxserver --uninstallThis should let you properly uninstall the leftover NoMachine installation. 
- 
		AuthorPosts
You must be logged in to reply to this topic. Please login here.

