Computer technology: linux remote desktop connection

  
We know that under Windows we can use remote desktop connection to control other computers,
But linux remote desktop connection?
But before you say how to connect, you must first define a concept, why My title does not use the remote desktop connection in Linux,
This is because the desktop under Linux, which is what we call X Window, is just an application under Linux,
So remote connection in Linux It is divided into shell and X desktop connection.
Let's talk about connecting to the shell under linux via SSH (Secure Shell). If the operating platform is windows,
you can download the SSH client tool to connect to linux, such as the most commonly used PuTTY, you can go Download here:
http://www.chiark.greenend.org.uk/~sgtatham/putty/
After running, as shown:
Enter the IP of your Linux host, the default port is 22 , then click Open,
The login screen will appear, enter the username and password::
The login process is complete.
If your client also uses linux, it is more convenient, directly enter:
ssh -l username [address of the remote host] connection,
will make you confirm when you connect for the first time. Enter yes and then enter your password.
In fact, through the ssh connection, we have been able to remotely manage the host,
but sometimes you need to do something under the X Window,
The next step is to talk about how to remotely connect to the Linux desktop.
Usually we use XDM (X Display Manager) and VNC to connect remotely.
Here I am going to use vnc to implement remote connection.
It is definitely not unfamiliar to mention VNC. It is a remote control software for the platform.
With the server side installed on Linux, we can connect through the client.
The installation is not much to say, after the completion, enter at the prompt:
vncserver
Even if it is started, pay attention to the number 1 in the back, you need to use it after connecting
Started, if you run vncserver for the first time, you will be asked to enter the access password.
If you are connecting to Linux under Windows platform, then you can install the vnc client directly.
That is to install vncviewer, start after installation:
Enter the access password, enter:
connection succeeded.
Copyright © Windows knowledge All Rights Reserved