Forum / General Discussions / Put nxhtd (HTTPS server) on a distinct machine ?
- This topic has 4 replies, 3 voices, and was last updated 3 months, 3 weeks ago by Irek.
-
AuthorPosts
-
August 30, 2024 at 10:28 #49459Steve92Participant
Hello,
For Enterprise Desktop, would it be possible to put nxhtd (HTTPS server) on a distinct machine ?
[ VM_A : nxhtd ] <==== NX ====> [VM_B : nxd]
Is there a config file for nxhtd where I can add a line to make it point to VM_B:4000 ?
..or nxhtd and nxd must be on the same machine ?
Thanks!
Regards,
Steve.
August 30, 2024 at 15:34 #49470Steve92ParticipantI found these 2 very interesting links :
NoMachine – Use Your Own Apache Web Server To Run NoMachine Sessions On The Web – Knowledge Base
but I had a quick look (too quick?) at this guide
NoMachine – NoMachine Enterprise Desktop – Installation And Configuration Guide – Knowledge Base
and I didn’t find a way to install only nxhtd on VM_A and only nxd on VM_B.
How can we proceed ? Is there an installer allowing to choose what component we need to install on each machine ?
Thank!
Steve.
September 2, 2024 at 15:44 #49515Steve92ParticipantHello,
I read again the page “Use Your Own Apache Web Server…”.
If I well understand the chain of components is:
[ Browser ] <= HTTPS => [ nxhtd ] <= ? => [ nxwebplayer ] <= NX/SSH => [ nxserver ]
Is it correct ? If not, what is the right one ?How [ nxhtd ], the web server, communicates (protocol, port) with [ nxwebplayer ], the web app. ?
Must [ nxhtd ] and [ nxwebplayer ] be on the same machine ?
Thanks,
Regards.
Steve.
September 2, 2024 at 16:23 #49518BritgirlKeymasterHi,
there are currently no options to install “only nxhtd” or “only nxd”, but putting the NoMachine Web server on a different machine is definitely possible by design. Simply install the NoMachine package you’re interested in adopting which includes the web server (e.g., Enterprise Desktop, Workstation, any other Enterprise-oriented product etc) on both machines [VM_A, VM_B].
Then, configure VM_A according to the instructions in the NoMachine guide:
“How to configure a NoMachine server to connect web sessions on localhost or on different hosts”
https://kb.nomachine.com/AR06P00984The Webplayer on VM_A will connect exclusively to the nxserver [on nxd port ] on VM_B.
Additionally, you can limit nxserver on that host to allow only HTTP connections, which will disable NXD and SSH connections, preventing the NXD process from starting.
To do that, modify the “server.cfg” file:
”
ClientConnectionMethods HTTP
”To prevent “nxnode” from starting on that server, modify the “server.cfg” file:
”
AvailableSessionTypes “”
“September 2, 2024 at 17:01 #49519IrekParticipantHello Steve92,
1) the flow would be like:
[ Browser/JS ] <= HTTPS => [ nxhtd / nxwebplayer ] <= nxd => [ nxserver ]
2) NX WebPlayer is a CGI
3) Yes, nxhtd and nxwebplayer have to be on the same machines.
If you replace nxhtd with “Your Own Apache Web Server” it still have to be on the same machine as nxwebplayer. -
AuthorPosts
This topic was marked as solved, you can't post.