![]() Open then 'Server preferences' (previous called 'Connection preferences' for the free version of NoMachine v. Click on the !M icon in the system tray to open the menu and choose 'Show the service status' ('Connections' or ' Server status' for version 5 and 4). Note also that the default port values can be changed from the NoMachine User Interface for server administration. Ports to be opened on the router and mapped to the public IP address of the server host are:Ĥ000 for connections using the NX protocol.Ģ2 or 4022 on Windows for connections using the SSH protocol. If you are using NoMachine Free Edition, you will need to open port 4000 on the router and map it to the public IP address of your NoMachine (server ) host. The UPnP or NAT-PMP port mapping service can work efficiently only when:ġ) It's enabled in the server configuration.Ĥ) The router accepts UPnP or NAT-PMP commands for enabling port forwarding.įor point 4), if the router doesn't accept UPnP or NAT-PMP commands, it will be necessary to configure it manually through its administrative interface. UPnP/NAT-PMP port mapping is disabled by default for: UPnP/NAT-PMP port mapping is enabled by default for: Configure the router to allow a NoMachine client to connect from outside of the private network.Īll server types supports the UPnP/NAT-PMP port mapping, but only products tailored for personal user or small environments have it enabled by default: Retrieve the public or external IP of the host machine where it's installed. In this article, we showed how to install and configure NoMachine on your Webdock server to access your remote desktop.When the NoMachine (server) computer is behind a NAT router or a firewall, NoMachine tries to use the UPnP or NAT-PMP protocol (depending on what is supported by the router) to: You can now continue to our next article which shows how you connect to your Remote Desktop with NoMachine. $ sudo ufw allow 4000 Installing NoMachine on your PC Execute the following command to allow communication over port 4000. Please run the below command if you have the firewall activated on your server. However, on our clean OS installs, UFW is disabled by default. To access your remote desktop you need to add allow rules to your firewall. Once you have made the changes restart NoMachine using: $ sudo /etc/NX/nxserver -restart Configure firewallīy default, on our LAMP/LEMP stacks, UFW is enabled by default. $ sudo nano /usr/NX/etc/node.cfgįor Gnome: DefaultDesktopCommand "/usr/bin/gnome-session"įor Ubuntu Mate: DefaultDesktopCommand "/usr/bin/mate-session"įor Cinnamon: DefaultDesktopCommand "/usr/bin/cinnamon"įor KDE Plasma: DefaultDesktopCommand "/usr/bin/startplasma-x11"įor LXDE: DefaultDesktopCommand "/usr/bin/startlxde"įor Xfce4: DefaultDesktopCommand "/usr/bin/startxfce4" Open the node.cfg file found in /usr/NX/etc/node.cfg and change value of DefaultDesktopCommand to an appropriate value based on the desktop environment you installed. Configuring NoMachineĭepending upon the desktop environment you installed (from one of our guides), you need to change the Default Desktop Command of NoMachine. Wait for a few seconds for the installation to complete. To install the downloaded deb file run the following command: $ sudo dpkg -install nomachine*.deb ![]() Please visit the official website for the latest version. Note: At the time of writing latest version of NoMachine is 7.7. To download the NoMachine deb file first SSH into your server and fetch the file. The NoMachine server has to be downloaded from the official website as NoMachine cannot be installed from Ubuntu’s APT repo. ![]() A running Webdock Ubuntu cloud instance. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |