Install Nx Client On Debian Jessie

Setup NoMachine NX On Ubuntu. Published on: Wed, Mar 30, 2016 at 8:04 am EST. Download and install the NoMachine NX package on your server. Now you can connect to your server using your NoMachine NX client. Want to contribute? Install and Configure FTP Server on Debian Linux – Raspberry Pi February 21, 2016 February 4, 2015 by Mike FTP is a simple way to transfer files from your Raspberry Pi to other devices. If you have problem connecting with new NX Client ver. 2.0.0, there are 2 patch, which working for me with NX Client ver. 2.0.0-93: 'fake cookie authentication problem': Some new.

Oct

I went back to utilize an old Machine with Proxmox for containers but also wanted to have a platform to play with Docker. So I though pimping the Promox server is the best solution.

The Steps are easy to get docker running but since Proxmox offers the best GUI for lxc I needed something similar for the docker containers.

Note: This DOES NOT add Docker into the Proxmox GUI itself. I’m adding a separate web page for docker running in a container by itself.

This is based on the assumption that our servers IP address is 192.168.1.50, we are root and running on Debian 8.x. To check use

We add the Debian Backports which contains the Docker packages.

Now we install docker.io

That’s it. To test the docker installation use:

This shows that Docker is up and running.

Now we need some management GUI.

I’ve tested a few different ones with the following requirements in mind.
– Full management web GUI for docker (requirement accomplished by both options)
– Start, Stop, Create, delete containers, manage network port mapping with ease
– Ability to download containers from docker hub or any other catalog
– The GUI shall run itself in a container so it will be easy to remove or update.

Most of the GUIs I looked into and tried failed short or were too complex for my requirements. I prefer KISS. Finally, I decided to go with DockerUI and Rancher.

UI For Docker is a web interface for the Docker Remote API. The goal is to provide a pure client side implementation so it is effortless to connect and manage docker.

DockerUI is a very basic webGUI perfectly providing the ability to start, stop and remove containers and images. However, to create new container images, you cannot browse a catalog and would need to give the image name to pull. Also, I found that there is a lack in the way to manage the containers like forwarding ports not too straight forward. The creation process seems to me asking for too many things but I still could not figure where to put the only important detail which is the port I want to be forwarded. This may need some more work to look into.

Installing DockerUI

We pull DockerUI from Docker Registry Hub and run it inside a container.
We will forward the internal used port 9000 to be forwarded from the external IP adress.

To use dockerUI use the browser and go to http://yourserverip:9000/#/ (example http://192.168.1.50:9000)

Rancher is a complete, open source platform for deploying and managing containers in production. It includes commercially-supported distributions of Kubernetes, Mesos, and Docker Swarm, making it easy to run containerized applications on any infrastructure.

Since DockerUI didn’t really satisfy my needs I moved on to look for something more manageable.
Rancher required a few more steps but seems to be able to handle cluster and multiple hosts which come handy if you run more than just one server.
Also, does Rancher provides an own catalogue of services to download and run, which comes very handy and worked out of the box. However, it does not provide a Docker Hub connection, therefore adding a container from a docker hub proved to be easier using the command line.

Another gotcha was that containers are always online unless they are removed, so therefore, you need to delete a stack in order to stop containers.

Todo: How do I get docker Hub images into Rancher, how can I keep containers offline unless I need them.

Installing Rancher

First, we need to install the Management Server

Then we use the browser to access the Management server and to add the host.

http://yourserverIP:8080 (example http://192.168.1.50:8080)

Once opening the the browser page Rancher will ask you to configure and add the first host

Rancher will ask you to Copy, paste, and run the provided command to register the host with Rancher.

Once running the command, which will pull another container and closing, the new host will be available under Infrastructure – Hosts

From there on I would suggest to read and follow the Rancher Quick start Guide.

One Important thing (for me) was to disable containers to auto start / auto restart as I use it only for testing. As above that wasnt that straight forward.

Related posts:

FreeNX is a system that allows you to access your desktop from another machine over the internet. You can use this to login graphically to your desktop from a remote location. One example of its use would be to have a FreeNX server set up on your home computer, and graphically logging in to the home computer from your work computer, using a FreeNX client.

Terminology You Should know

The Server is the computer you want to connect to. This is the computer where the FreeNX server will need to be installed. The name of the Ubuntu package providing the server is 'freenx'. For the example used here, the home computer is the server.

The Client is the computer from which you want to be able to access the Server. The name of the Ubuntu package providing the client is 'nxclient'. For the example used here, the work computer is the client.

Debian Jessie Install

Install Required software

NX server needs ssh and some libraries to run. These packages are normally not installed during the basic installation process.Use the following comamnd to install

#aptitude libstdc++2.10-glibc2.2 ssh

Install Free NX Server in Debian Etch

First you need to download the .deb packages using the follwoing commands

#wget http://64.34.161.181/download/2.1.0/Linux-NoXft/nxclient_2.1.0-17_i386.deb

#wget http://64.34.161.181/download/2.1.0/Linux/nxnode_2.1.0-22_i386.deb

#wget http://64.34.161.181/download/2.1.0/Linux/FE/nxserver_2.1.0-22_i386.deb

Now you need to install .deb packages in the following order this is very important

#dpkg -i nxclient_2.1.0-17_i386.deb

Install

#dpkg -i nxnode_2.1.0-22_i386.deb

#dpkg -i nxserver_2.1.0-22_i386.deb

If you get any errors use the following comamnd to fix

#apt-get -f install

Now you need to make sure ssh and nx servers are running if not start with the following commands

#/etc/init.d/ssh start

#/etc/init.d/nxserver start

Freenx client installation in Windows

First you need to download freenx client from here

In this example i am using freenx client for windows and i have installed in my windows xp machine

Once you finish the installation you should be having freenx shortcut in your desktop now you need to double click on that and you should see the following screen and click next here

Here you need to enter the session name,server name or ipaddress and port number and click next

Now you need to choose your session and screen resolution and click next

Configuration completed screen and click finish

Now you need to enter the username and password you want to connect as and click login

Connection established screen

This will complete the connection to your server

Freenx client installation in Debian

First you need to download the client .deb package using the following command

#wget http://64.34.161.181/download/2.1.0/Linux-NoXft/nxclient_2.1.0-17_i386.deb

Install .deb package using the following comamnd

#dpkg -i nxclient_2.1.0-17_i386.deb

If you get any errors use the following comamnd to fix

#apt-get -f install

Now you need to go to Applications-->Internet-->NX Client for Linux --> NX Client for Linux once it opens you can follow the above procedure to connect

Optional Configuration

Changing SSH port Number

By default, nxserver uses port 22 for communicating over SSH. On some machines or networks, port 22 may be blocked. For example, some providers block port 22. To make the SSH server listen on port 8888, you can do the following:

Edit the file /etc/ssh/sshd_config

#vi /etc/ssh/sshd_config

Find

Port 22

and change it to

Port 8888

You then need to restart SSHD. Try

#/etc/init.d/ssh restart

Edit the file /etc/nxserver/node.conf

#vi /etc/nxserver/node.conf

Find

# The port number where local ‘sshd' is listening.

#SSHD_PORT=22

and change it to:

# The port number where local ‘sshd' is listening.

Debian Jessie Repository

SSHD_PORT=8888

Install Nx Client On Debian Jessie Graff

That is, change the port number to the one that sshd is listening to, and uncomment the line.

Sponsored Link

Install Wine On Debian Jessie

Related content: