[GH-ISSUE #147] NX as connection option #122

Closed
opened 2026-02-26 11:56:49 +03:00 by kerem · 5 comments
Owner

Originally created by @Josephkready on GitHub (Aug 15, 2021).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/147

Originally assigned to: @VShawn on GitHub.

Describe the solution you'd like
Having NX (NoMachine) as a connection option. If I have nomachine service installed on a machine, I would like to use PRemoteM to connect to that machine using the NX protocol.

NX protocol seems to be much faster than xrdp for linux machines. It could be challenging to integrate, so I am interested on what you think.

Originally created by @Josephkready on GitHub (Aug 15, 2021). Original GitHub issue: https://github.com/1Remote/1Remote/issues/147 Originally assigned to: @VShawn on GitHub. **Describe the solution you'd like** Having NX (NoMachine) as a connection option. If I have nomachine service installed on a machine, I would like to use PRemoteM to connect to that machine using the NX protocol. NX protocol seems to be much faster than xrdp for linux machines. It could be challenging to integrate, so I am interested on what you think.
kerem 2026-02-26 11:56:49 +03:00
Author
Owner

@majkinetor commented on GitHub (Aug 15, 2021):

Never heard about it.

Here is some quick info for others.

Why would I use this over standard RDP and friends

<!-- gh-comment-id:899075709 --> @majkinetor commented on GitHub (Aug 15, 2021): Never heard about it. Here is some quick info for others. * https://en.wikipedia.org/wiki/NX_technology * https://www.reddit.com/r/homelab/comments/b546i8/i_must_be_the_last_person_to_learn_about_no/ Why would I use this over standard RDP and friends
Author
Owner

@VShawn commented on GitHub (Aug 16, 2021):

Hi I've considered FreeNX protocol when I create the demand planning at 2020.04.

https://github.com/VShawn/PRemoteM/projects/3#card-38295433

image

But afert some investigations, here are some challenges we meet:

1. open by command line

image

NoMachine client can start connection only by passing a config file to it.

2. password storage

In the file arm.nxs I didn't see a field storaged the password, but cmd .\nxplayer.exe D:\arm.nxs did not request me to enter a password. So we don't know how to genterate a NoMachine config file containing a password by PRemoteM.

3. Integer

cmd .\nxplayer.exe D:\arm.nxs will start a process A, then A will exit and start new process B (not a sub-process of process A) to show the remote desk window.

Then PRemoteM can not capture the PID of process B, which means we cannot integer NoMachine client window into the tab window of PRemoteM.


I‘m still looking for solutions for these challenges, no progress yet.

<!-- gh-comment-id:899172183 --> @VShawn commented on GitHub (Aug 16, 2021): Hi I've considered FreeNX protocol when I create the demand planning at 2020.04. https://github.com/VShawn/PRemoteM/projects/3#card-38295433 ![image](https://user-images.githubusercontent.com/10143738/129499837-8ea74c9d-ea35-46d0-9a5b-05dd563ff108.png) But afert some investigations, here are some challenges we meet: ## 1. open by command line ![image](https://user-images.githubusercontent.com/10143738/129502833-c04087da-a544-4f65-902e-0e502e222092.png) NoMachine client can start connection only by passing a config file to it. ## 2. password storage In the file `arm.nxs` I didn't see a field storaged the password, but cmd `.\nxplayer.exe D:\arm.nxs` did not request me to enter a password. So we don't know how to genterate a NoMachine config file containing a password by PRemoteM. ## 3. Integer cmd `.\nxplayer.exe D:\arm.nxs` will start a process A, then A will exit and start new process B (not a sub-process of process A) to show the remote desk window. Then PRemoteM can not capture the PID of process B, which means we cannot integer NoMachine client window into the tab window of PRemoteM. --- I‘m still looking for solutions for these challenges, no progress yet.
Author
Owner

@VShawn commented on GitHub (Oct 26, 2021):

A new protocol: APP is add to the PRM: github.com/VShawn/PRemoteM@ea3ca701d7

so that you can assign the nxplayer.exe path and nomachin config file *.nxs, then start the connection with PRM

image

For now you have to create *.nxs by yourself in NoMachine

Annnnd since I dont find the solution to hosting then NX View in the PRM, so PRM will just open a new process of nxplayer, the NX-UI will not be integrated in my tab view

image

And here is the approach to create a *.nxs file, but I'm not intend to investigate if it is the correct approach.
See also:

Command line options for the NoMachine client
Preconfigure Username and Password
The password scrambling algorithm in NX Client

<!-- gh-comment-id:951788568 --> @VShawn commented on GitHub (Oct 26, 2021): A new protocol: APP is add to the PRM: https://github.com/VShawn/PRemoteM/commit/ea3ca701d706e5ad11b34cbdf2c46f8909dfba3e so that you can assign the nxplayer.exe path and nomachin config file *.nxs, then start the connection with PRM ![image](https://user-images.githubusercontent.com/10143738/138856420-107d5318-0823-4d3c-a1b3-cf38e780a1e5.png) For now you have to create *.nxs by yourself in NoMachine Annnnd since I dont find the solution to hosting then NX View in the PRM, so PRM will just open a new process of nxplayer, the NX-UI will not be integrated in my tab view ![image](https://user-images.githubusercontent.com/10143738/138856918-ed2e9115-4a06-46ad-afa3-04812b2926af.png) And here is the approach to create a *.nxs file, but I'm not intend to investigate if it is the correct approach. See also: [Command line options for the NoMachine client](https://www.nomachine.com/AR04O00923) [Preconfigure Username and Password](https://knowledgebase.nomachine.com/DT10O00159#3.4.) [The password scrambling algorithm in NX Client](https://knowledgebase.nomachine.com/AR01C00125)
Author
Owner

@VShawn commented on GitHub (Nov 6, 2021):

merged into main branch #161

<!-- gh-comment-id:962423385 --> @VShawn commented on GitHub (Nov 6, 2021): merged into main branch #161
Author
Owner

@VShawn commented on GitHub (Dec 8, 2021):

@Josephkready hi, here is our new beta release, you can try it with NX

<!-- gh-comment-id:988612172 --> @VShawn commented on GitHub (Dec 8, 2021): @Josephkready hi, [here](https://github.com/VShawn/PRemoteM/releases/tag/0.6.0-beta) is our new beta release, you can try it with NX
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/1Remote#122
No description provided.