In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces you the solution that win10 system vnc can not connect, the content is very detailed, interested friends can refer to, hope to be helpful to you.
In many scenarios, we need to connect remotely to the Linux server (Ubuntu in this article). There are two main types of traditional connections.
The first: remote access through SSH services (using tools such as xshell) to write terminal commands, but this is interface-less, and many people like it because of xian de niu bi.
Second: remote access through a visual interface, like the built-in remote tools under Windows, can be operated remotely with a graphical interface (many people still like this way because of habitual problems, after all, the interface is still pleasing to the eye).
If you don't want to mess around on your own, here is a tool that can meet your needs-IIs7 server management tool. IIs7 server management tool can connect and manage VNC servers as server integration manager in batches. Its best function is to manage windows and linux system servers and vps in batches. It can greatly improve the work efficiency of webmaster and server operation and maintenance personnel. At the same time, the iis7 server management tool is still the vnc client, and the server really realizes one-stop management, which is very convenient.
Download address: the interface of IIS7 server management tools is as follows:
This paper mainly introduces the second way. The most common is to visualize remote operations through two remote desktop protocols, xrdp and vnc.
First, introduce the difference between xrdp and vnc
Use a table to show the main differences between xdrp and vnc
| | xrdp | vnc |
|-- |
| | BIOS screen display | Yes | No |
| | full color support | Yes | Yes |
| | change resolution | Yes |
| | Multi-monitor | only one screen | Multi-monitor support |
| | Image transmission | Image transmission | Image and graphics transmission |
| | Video playback support | No | GPU acceleration support |
| | Audio transmission | No | two-way voice can be controlled | |
| | USB transmission | No | USB can be transmitted over the network |
1 、 xrdp
There are two kinds of rdp, remote,remotefx
Applicable systems: windows, linux
Network traffic: small, normal use of about 100-200k
Suitable for scenarios: because of its good color, audio, usb and local disk mapping, it is very suitable for virtual desktops
2 、 vnc
Applicable systems: windows, linux
Network traffic: small, usually about 100k
Applicable scenario: mainly used for linux server management, because there is no voice and usb transmission, not satisfied with the use of virtual desktops
Note: vnc is the default remote desktop program based on RFB protocol in most Linux distributions, but for ordinary users, the user experience of vnc is not good and slow, and the client needs to be installed. Xrdp is recommended for personal use, and Windows's remote desktop is also based on the RDP protocol and has good compatibility. And vnc only supports one desktop, xrdp can support multiple desktops, so if there are multiple people connected to Linux at the same time, xrdp can fully support, vnc can not.
2. How to realize Windows remote access through XDRP
The following is the focus of this article, this article is mainly about xrdp under the latest version of Ubuntu 16.04. how to achieve Windows remote access. There are many related tutorials online, but you need to install xfac4 or xubuntu desktop system to connect remotely. That's because xrdp supports Gnome and native Unity desktops that are no longer supported after 13.10. Many methods on the Internet are to install third-party xfac4 or xubuntu desktop systems that can be supported by xdrp, similar to the "curve to save the nation" way, distance up to remote control Ubuntu. But I believe that most people still like Ubuntu's native interface rather than other third-party desktop systems, so some people may ask, is there no way to support native Unity desktops? The answer is actually yes, which is how to support remote access to native Ubuntu desktops through xrdp.
Let's first take a look at how in most cases, remote access is achieved by installing a third-party xfac4 or xubuntu desktop system. Here is a brief explanation, after all, this is not the focus of this article (◍ °∇ °desktop). Install it directly through the following command, and then access it directly through the remote access tool that comes with Windows.
1 # install xrdp
2 sudo apt-get install xrdp
3 # install vnc4server
4 sudo apt-get install vnc4server tightvncserver
5 # install xubuntu-desktop
6 sudo apt-get install xubuntu-desktop
7 # write xfce4-session to xsession
8 echo "xfce4-session" > ~ / .xsession
9 # enable xrdp service
10 sudo service xrdp restart
The above is shown by most examples on the Internet, which rely on third-party desktop systems for remote access. Here is how to access the native system directly.
Step 1. Download the TigerVNC Server package
Download address: Tigervnc Deb package (for Ubuntu 16.04.1-64 bits)
Step 2. Install the TigerVNC Server package
1. Open the terminal and enter the directory where you downloaded TigerVNC Server. I downloaded it directly to the default DownLoads, because what you downloaded is the zip file. Remember to unzip it and get the deb installation file.
Cd Downloads
As shown in the figure:
2. Enter the installation command again to install (su password is required)
Sudo dpkg-I tigervncserver_1.6.80-4_amd64.deb
Or
Sudo apt-get install tightvncserver (with online installation, you can skip the next step 3)
As shown in the figure: you may see some warning messages and error messages and ignore them for the time being, mainly because there is no corresponding dependency package.
3. The error message above is because there is no corresponding dependency installed. We can install it with the following command, and then repeat the second command.
Sudo apt-get install-f
As shown in the figure:
Step 3. Install xrdp
Open the terminal and enter the command (su password is required)
Sudo apt-get install xrdp-y
Step 4. Configure xrdp settings
If you need to connect to the desktop through xrdp, you need to configure the relevant information correctly and populate it into the .xsession file (for each user) or / etc/startwm.sh (for all users), enter the following command
Echo unity > ~ / .xsession
Or
Sudo sed-i.bak'/ fi/a # xrdp multi-users\ nunity\ n' / etc/xrdp/startwm.sh
Step 5. Restart xrdp
Sudo service xrdp restart
Step 6: enable desktop sharing
Go to system-preferences-Desktop sharing, or search for Desktop sharing directly, as shown in the figure
Check "allow others to view your desktop", as shown in the figure:
Now that this step is almost complete, the next step is to test whether you can connect to the Ubuntu properly.
Third, xrdp test connects to Ubuntu
1. Check the IP address of the Ubuntu server, as shown in the figure:
2. Start the Windows remote Desktop tool (mstc) and enter the IP address of Ubuntu (192.168.226.131), as shown in the figure:
3. After clicking the connection, the login screen of xrdp will pop up automatically, and we can enter our user name and password. The default mode can be selected, as shown in the figure:
4. We can see the real-time log of xrdp, as shown in the figure:
5. Finally, we connected to the Ubuntu, is not very familiar with the interface ~ ("╹◡╹)")
At this point, all the steps for xrdp to connect to Ubuntu 16.04 have been completed.
On the win10 system vnc can not connect the solution to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
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.