In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the knowledge of "how to connect to remote desktops in linux". Many people will encounter this dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
We know that under windows, we can use remote desktop connections to control other computers.
But linux remote Desktop connection?
But before I talk about how to connect, I still need to make a clear concept. Why didn't I use the remote Desktop connection in linux?
This is because the desktop under Linux, what we call X Window, is just an application under linux.
So remote connections in linux are divided into shell and X desktop connections.
First talk about connecting to shell under linux through SSH (Secure Shell), if the operating platform is windows
You can download SSH client tools to connect to linux, such as the most commonly used PuTTY, which you can download here:
Http://www.chiark.greenend.org.uk/~sgtatham/putty/
After running, as shown in the figure:
Enter the IP of your linux host, the default port is 22, and then click Open
The login screen will appear and enter the user name and password:
The login process is complete.
If you also use linux on your client, it's more convenient to type:
Ssh-l username [address of the remote host] connection
The first time you connect, you will be asked to confirm, enter yes, and then enter the password.
In fact, we can manage the host remotely through ssh connection.
But sometimes you need to do something under X Window.
The next step is to talk about how to remotely connect to linux desktops.
Usually we configure XDM (X Display Manager) and VNC to connect remotely
What I'm talking about here is to use vnc to make a remote connection.
We must be familiar with VNC, it is a platform of remote control software.
With linux installed on the server side, we can connect through the client side.
There is no need to say much about the installation, enter it at the prompt when you are finished:
Vncserver
Even if it is started, pay attention to the following number 1, which will be used when connecting later.
This starts the vnc server, and if you run vncserver for the first time, you will be asked to enter your access password.
If you are connecting to linux on the windows platform, just install the vnc client directly
That is, install vncviewer, and start it after the installation is complete:
Enter the access password and enter:
Connection successful.
If your operating platform is linux, type:
Vncviewer IP: X (x is the identifier), you can connect.
In another case, if the linux host connects to windows, in addition to using vnc
There is a toolkit similar to remote Desktop in windows in linux, which is Rdesktop, type at the prompt:
Rdesktop ip will be fine. In addition, you can start it in the tools menu of gnome:
Enter IP, user name and password, if there is no domain, leave blank, and then connect, just like the XP desktop, it is really convenient, by the way, if you want to connect to the linux host located in the LAN, do not forget to do port mapping, if you use SSH to map 22 to the host, if it is to connect with VNC, it will be based on your identity, such as 1 in this case, map port 5901, and so on.
That's all for "how linux connects to remote desktops". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.