Remote desktop from windows to linux

Learn how to connect Windows remote desktop to Linux. We described Linux remote desktop to Windows solutions - Linux remote desktop full tutorial.

Supporting remote workers

Having reliable remote access is a vital tool for a wide array of business needs- whether that be facilitating remote work options for employees, or providing more efficient customer support.

Remote desktop access has even become a daily necessity for numerous IT professionals who need control over remote devices, or the ability to troubleshoot from afar. Here we will talk about connecting remote desktop Linux to Windows machines and vice versa. Keep reading to get all possible options.

Connect To Linux From Windows

A remote connection is more commonly defined by using software that allows someone to remotely control another machine (like a remote desktop to Linux from Windows, or a remote desktop from Linux to Windows). Remote connections also allow users to access software, applications, and files, as well as to conduct system maintenance and troubleshooting resolution.

The methods outlined below work well for all Linux systems other than Ubuntu- which already has a built-in remote desktop tool that supports both RDP and VNC.

For the initial connection, ensure this feature is set up on the physical Ubuntu machine. After following the installation steps for the built-in Ubuntu-compatible remote desktop option, further installation of any additional software won’t be necessary.

Linux Remote Desktop

We are going to focus on the specifics of using Remote Desktop Protocol (RDP) on Linux-based servers, i.a., client apps you get to choose from, and some nuances of using remote access tools for Linux in cross-platform environments.

Every user of Debian-derived Linux distribution knows that setting up Kali Linux remote access and successful use of remote desktop clients like TeamViewer or AnyDesk can be tricky at times. Mind that, for starters, you’ll need to download and install all the packages required to enable remote desktop Kali capabilities and update the ones you already have to the latest versions.

After that, you can either use a script to enable XFCE and RDP or do it manually (that takes more time but gives you much more control over the process). This will be enough to access your Kali machine from any other device connected to your local network.

Accessing a remote desktop from Linux Mint machines, especially the configuration of the protocols, may seem overly complicated, but in reality, it’s nothing to be stressed about. For one, Linux Mint has a built-in desktop sharing tool available from the Main Menu. Enable remote access to a machine, and it will be available for connections via SSH terminal for everyone who knows this machine’s IP address. If the toolset provided by a standard remote access client isn’t enough, you can install a third-party client tool, like Vinagre or others, and enjoy localized GUIs, SSH tunneling, request listening option, and many more.

Accessing a remote Linux desktop from a Windows machine sharing a network can be done with just a few simple commands, or by installing easy-to-use software like RDP, Xrdp, Xfce4, TeamViewer, Gnome, Remmina, etc.

Note: Some remote access tools even allow you to access a remote printer or scanner.

Here’re some options to access a remote Linux desktop from a local Windows machine:

  • • The “Obtain the IP Address” Method
  • • The “RDP” Method
  • • The “VNC” Method
  • • The “SSH” Method

For those using devices that function over the same network, there are multiple open-source options that help users with remote desktop from Windows to Linux access.

The IP Address Method

Before initiating a Windows to Linux remote desktop connection, users will need to obtain the host machine’s IP address before doing anything else.

To find the IP address of the Linux host, log into the Linux machine, open Terminal, and type the following:

ifconfig

This command will display the Linux machine’s IP address. Users can also locate the IP address by connecting to the network’s router, then browsing the devices by their hostname. Use this information while operating your Windows computer to establish a remote connection.

The “RDP” Method

The simplest option to enable remote connections to Linux desktops is by using the remote access tool built directly into the Windows OS: Remote Desktop Protocol (RDP).

Users must install Xrdp software on their Linux machine to use RDP. Complete installation in person, or with the SSH command. Enter the command as shown below:

sudo apt install xrdp

After that, type “rdp” into the search function, then run the Remote Desktop software on the Windows computer.

From within the Remote Desktop Connection pop-up window, type the Linux computer’s IP address, then click connect.

Note: to manage advanced parameters configuration, click “Show Options”.

The “VNC” Method

Another remote desktop option to try is VNC (Virtual Network Connection). Access a remote device using VNC by installing the dedicated software on both computers. One of the most beloved VNC remote access tools is TightVNC, which is also open-source.

How to use TightVNC to access Linux from Windows

Installing TightVNC can also be done in person or by using the SSH command.

  1. Step 1: Enter the following command:

    sudo apt install tightvncserver

  2. Step 2: Users should then run using the command:

    sudo tightvncserver

  3. Step 3: Users must then set the desired password.
  4. Step 4: Once the above steps are complete, start the client app on Windows (which can be downloaded from the TightVNC website).
  5. Step 5: Type the IP address and port number in the TightVNC window on the Windows OS device.
  6. Step 6: Hit “Connect”, then enter the password that was defined in the SSH command section above.

Use SSH

Even though Secure Shell won’t permit remote desktop connections, it’s still an excellent option for remotely installing the software needed to access a Linux desktop remotely. See below to learn how to do it.

Step 1: From the Windows computer, open the Power Menu.

Step 2: Choose “Windows PowerShell”.

Step 3: Type the following command:

ssh [IP_ADDRESS]

Step 4: After accepting the certificate, enter the appropriate username and password.

The connection is now established.

The options described above are excellent for small businesses, anyone working on a smaller network, or those who don’t need frequent access to a remote device.

Using RDP Clients To Create A Linux to Windows Remote Desktop Connection

This section will help anyone interested in protocols to connect a remote desktop to Windows from Linux.

To start, we’ll begin with using the Windows app, Remote Desktop Connection.

Utilizing the Remote Desktop Protocol (RDP), the Remote Desktop Connection app is included with all Windows OS. RDC allows users to access a Windows PC, or Windows Server remotely.

This is very convenient and cost-effective because organizations can install apps onto one central server, instead of multiple computer systems. Employees can then use those programs by accessing the remote server. This centralization also ensures that maintenance and troubleshooting are much easier processes.

This technology was originally called Terminal Services (TS). In modern times, web systems are far more commonplace- but situations remain where Windows remote applications are still required.

During those instances, Linux users can access Windows computers and servers remotely from their preferred system via RDP client.

There are numerous linux remote desktop clients, and we’ll cover three of them below:

  • • Remmina
  • • FreeRDP & rdesktop

After reading the features below, users can select the option that suits their unique needs.

Note: there are some instances where users may prefer to use a VPN for their remote access needs, but this article will solely focus on dedicated remote access software.

Enabling remote desktop on Windows

Users must first set up the machine that they wish to connect with remotely.

While operating the Windows computer that will be remotely connected to, follow the steps below:

Step 1: Login as Administrator;

Step 2: Open the Start menu;

Step 3: Click Settings;

Step 4: When the Settings window opens, open the System category > Remote Desktop;

Step 5: Now enable it;

Enable Remote Desktop on Windows

Please note: users can’t connect with computers running Windows Home edition (like Windows 10 Home). This screen details the information, if that is the case:

Home edition of Windows 10 doesn't support RDP

Remmina

Remmina supports numerous remote access protocols like RDP, VNC, NX, XDMCP, and SSH. Remmina’s main goal is to help system administrators and travelers that work with multiple remote desktops and/or servers. Remmina is included in the Ubuntu Linux distribution as a default remote desktop client.

FreeRDP and rdesktop

Not only was rdesktop the very first Linux RDP client, but it was also the most popular for many years. However, as of November 2019, the project is searching for a new maintainer.

Alternatively, FreeRDP was initially released in 2009 as a fork of rdesktop. This occurred when Microsoft opened the RDP specifications. As time went on, and FreeRDP grew, it became the standard RDP client on systems lacking native Microsoft clients.

Simply double-click on the computer you want remote access to from the list.

Following the Microsoft Open Specifications, FreeRDP is a free implementation of Remote Desktop Protocol. Said implementation offers the server and client applications, as well as a library that permits other applications to utilize RDP protocol. FreeRDP is both an app and a library, providing reusable features for alternative applications. Aside from rdesktop, the clients listed above utilize FreeRDP’s library.

Please note: The inclusion of rdesktop on this list was intended for informational purposes only, and unless users have a specific scenario in mind, we advise another client that is compatible with the FreeRDP library.

В  мире ИТ существует уже довольно широкий спектр операционных систем, начиная с серверных, заканчивая операционными системами для мобильных устройств. В обычных пользовательских компьютерах и в серверах довольно часто используются две ОС — Linux и Windows. Поэтому очень часто возникают ситуации, когда приходится подключаться по сети из одной операционной системы к другой для выполнения разнообразных операций.

В этой статье мы рассмотрим варианты подключения к Linux из Windows. Существуют бесплатные и условно бесплатные утилиты вроде AnyDesk или TeamViewer, но установка их довольно тривиальна и не нуждается в дополнительном пояснении. Утилиты подобного рода обладают рядом ограничений при бесплатном некоммерческом использовании, либо их функциональность не удовлетворяет тем или иным потребностям пользователя. Мы рассмотрим полностью бесплатные способы как подключится к Linux из Windows.

Удалённый доступ к Linux с помощью VNC

На сегодняшний день самое популярное удаленное подключение к Linux из Windows, с использованием привычный в Windows графического интерфейса, является VNC (Virtual Network Computing) — утилита, использующая протокол RFB (Remote FrameBuffer — удалённый кадровый буфер). Управление осуществляется путём передачи нажатий клавиш на клавиатуре и движений мыши с одного компьютера на другой и ретрансляции содержимого экрана через компьютерную сеть.

В качестве сервера VNC в данном примере будет использоваться  TightVNC, установленный в Ubuntu 20.04. Для установки сервера VNC необходимо выполнить ряд действий:

Шаг 1. Установка рабочей среды XFCE

Xfce — одна из самых легковесных рабочих сред, используемых в Linux, она будет быстро работать даже при слабом и нестабильном сетевом подключении. Установите её с помощью команд:

sudo apt update

sudo apt install xfce4 xfce4-goodies

Шаг 2. Установка TightVNC

Далее установите TightVNC:

sudo apt install tightvncserver

Шаг 3. Настройка пароля

Перед началом выполнения всех действий необходимо задать пароль пользователя VNC.  Выполните команду:

vncpasswd

Вам будет предложено создать новый пароль, а также пароль только для просмотра. Откажитесь от второй опции:

Завершите процесс vncserver:

vncserver -kill :1

Шаг 4. Настройка скрипта запуска

Отредактируйте скрипт, который выполняется после запуска VNC-сервера:

nano ~/.vnc/xstartup

Он должен содержать такой текст:

#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
startxfce4 &

Сделайте файл исполняемым:

chmod +x ~/.vnc/xstartup

Шаг 5. Запуск VNC сервера

На этом этапе уже можно запустить VNC-сервер с помощью команды:

vncserver

Шаг 6. Подключение из Windows

Для того, чтобы подключиться из Windows к вашему Linux-серверу, используйте TightVNC Viewer.

Укажите IP-адрес компьютера, к которому нужно подключиться, и номер порта в поле Remote Host. В данном примере — 192.168.56.102::5901:

После того, как будет введён пароль, вы должны увидеть рабочий стол Xfce:

Шаг 8. Настройка systemd

Для того, чтобы запуск вашего VNC-сервера добавить в автозагрузку надо использовать systemd. Создайте новый файл сервиса systemd:

sudo nano /etc/systemd/system/vncserver@.service

Его содержимое должно быть следующим:

[Unit]
Description=Systemd VNC server startup script for Ubuntu 20.04
After=syslog.target network.target
[Service]
Type=forking
User=ubuntu
ExecStartPre=-/usr/bin/vncserver -kill :%i &> /dev/null
ExecStart=/usr/bin/vncserver -depth 24 -geometry 800x600 :%i
PIDFile=/home/ubuntu/.vnc/%H:%i.pid
ExecStop=/usr/bin/vncserver -kill :%i
[Install]
WantedBy=multi-user.target

Измените имя пользователя ubuntu и рабочего каталога ubuntu на нужные вам значения. Если у вас запущен VNC-сервер, остановите его:

vncserver -kill :1

Сообщите systemd о появлении нового сервиса:

sudo systemctl daemon-reload

Добавьте запуск вашего нового сервиса в список автозагрузки:

sudo systemctl enable vncserver@1.service

Запустите VNC-сервер:

sudo systemctl start vncserver@1

Использование RDP для удалённого подключения

Помимо VNC, для управления Linux-сервером из Windows можно воспользоваться RDP (Remote Desktop Protocol). Для этого на компьютере с Ubuntu 20.04 установите утилиту xrdp:

sudo apt install xrdp

Для корректной работы сервиса необходимо добавить пользователя xrdp в группу ssl-cert:

sudo adduser xrdp ssl-cert

Установите Xfce:

sudo apt-get install xfce4

Добавьте Xfce в сессии RDP в качестве рабочего стола по умолчанию:

echo xfce4-session >~/.xsession

Перезапустите сервис xrdp:

sudo systemctl restart xrdp.service

Процедура подключения из Windows к Linux-серверу по протоколу RDP почти ничем не отличается от подключения к удалённым Windows-серверам. Введите IP-адрес сервера, логин и пароль пользователя в Linux:

Если всё сделано правильно, вы увидите рабочий стол Xfce:

Для подключения к компьютеру под управлением Linux по протоколу SSH из Windows можно воспользоваться PowerShell. Сначала становите OpenSSH Client, если ещё не установлен. Запустите на вашем компьютере PowerShell от имени администратора системы и выполните следующую команду:

Get-WindowsCapability -Online | ? Name -like 'OpenSSH*'

Это необходимо для того, чтобы узнать текущую версию SSH-клиента. В данном примере доступна версия OpenSSH.Client-0.0.1.0. Установите OpenSSH.Client с помощью команды:

Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0

Для того, чтобы подключиться к устройству, на котором запущен SSH-сервер, необходимо ввести имя пользователя и IP-адрес. Команда для подключения по SSH используя PowerShell выглядит так:

ssh ubuntu@192.168.56.1

Здесь ubuntu — имя пользователя на удалённом компьютере, а 192.168.56.1 — IP-адрес Linux-сервера, на котором запущен демон SSH.

При первом подключении необходимо подтвердить использование специального персонального ключа для шифрованного соединения по SSH-протоколу (введите слово Yes), затем введите пароль пользователя (в данном случае для пользователя ubuntu):

Как видите, соединение прошло успешно. Теперь можно выполнять все команды так же, как если бы вы их выполняли используя стандартный Linux SSH-клиент:

Для завершения терминальной сессии на удалённом компьютере введите команду exit. Теперь вы знаете как выполняется подключение к Linux из Windows по SSH.

Использование Putty для подключения к Linux

Пожалуй, одним из самых популярных способов подключения к Linux из Windows является кроссплатформенная утилита Putty — небольшая по размерам, но очень часто незаменима для подключения по таким протоколам как SSH, Telnet, rlogin и даже с помощью последовательных портов.

Для обычного подключения к Linux-серверу по протоколу SSH достаточно в поле Host Name (or IPaddress) указать его IP-адрес и нажать кнопку Open (в данном примере Linux-сервер имеет IP-адрес: 192.168.56.102):

При первом подключении Putty предупредит, что используется специальный ключ безопасности и его нужно добавить в доверенные хосты. Нажмите кнопку Да:

Далее нужно будет ввести логин и пароль.  Если всё сделано правильно,  запустится удалённая сессия терминала Linux:

Мало кто знает, что Putty позволяет запустить почти любое приложение, установленное на компьютере с Linux, по сети в Windows. Для этого на компьютере с Windows нужно установить собственный X-сервер. В данном примере воспользуемся Xming.

Скачайте Xming с официального сайта. Установка довольно тривиальная, поэтому не будем на ней останавливаться. Ничего не меняйте в процессе установки. Просто нажимайте кнопку Next до тех пор, пока программа не установится и не запустится:

Когда установка Xming завершится, откройте Putty и в настройках сессии для вашего подключения в разделе SSH -> X11 включите флажок напротив опции Enable X11 forwarding, а также, в строке Отображение дисплея X впишите значение localhost:0, после чего откройте сессию подключения с помощью кнопки Open:

В открывшемся терминале Putty введите консольное название программы, обладающей графическим интерфейсом. В данном примере введено название графического редактора drawing:

drawing &

(Знак & позволит запустить программу в фоновом режиме, в этом случае в окне Putty можно будет выполнять и другие команды):

Как видите, Linux-приложение drawing успешно запустилось по сети на X-сервере, установленном в Windows. С ним можно работать так же, как и с локальным приложением.

Выводы

Сегодня не существует слишком уж больших проблем для подключения к Linux из Windows. Способов существует довольно много. Каждый из них обладает своими достоинствами и недостатками, например, скорость работы VNC, да и других тоже, существенно зависит от скорости сетевого соединения. Существуют также программные средства, позволяющие подключаться к Linux-серверам используя мессенджеры или браузеры.

Creative Commons License

Статья распространяется под лицензией Creative Commons ShareAlike 4.0 при копировании материала ссылка на источник обязательна .

Set up a Linux server? Perhaps you’ve configured it as the solution to network storage. Or maybe you have a Linux work PC, media center, or simply keep a secondary PC in another room. Whatever the case, at some point, you’ll need to remotely access the Linux device from a Windows PC or laptop. So, what is the solution?

Windows users have several tools that enable simple remote desktop from Windows to Linux. Want to know how remote desktop from Windows to Linux? Read on!

You’ll Need the Linux Device’s IP Address

Before you can remote into Linux from Windows, you’ll need the device’s IP address. It’s useful for all remote connection options, although in some cases, the hostname (the device’s network name) will do.

The simplest way to check the IP address is to log in to you your Linux device and open the terminal. Enter:

 hostname -I 

The IP address of the device will be displayed. For more details, you can also use:

 ip address 

If your Linux system has multiple connections, these will be listed with prefixes. For example, an Ethernet connection will be listed alongside eth0. If it’s connected wirelessly, look for the IP address listed against wlan0.

If this isn’t easy or convenient, there is another method that is almost as simple. In your browser window, connect to your router. This is usually an address like 192.168.0.1 or 192.168.0.100. Check this by looking at the router itself or the documentation that came with it.

Get your Linux device IP address

Once signed in to the router, look for an option that lists connected devices. Browse through the IP addresses to find your Linux device by hostname. Some routers can even display the device’s operating system. You’ll find the IP address listed alongside, which you should note down for later.

How to RDP From Windows to Linux

The first and easiest option is RDP, Remote Desktop Protocol, which is built into Windows.

Before starting, you’ll need to install the xrdp software on your Linux box. You can do this in person or using SSH (see below) with a single command:

 sudo apt install xrdp 

To RDP to Linux, run the Remote Desktop software on your Windows machine. In Windows 8 and later, you can find it via Search simply by inputting the letters «rdp».

With the Remote Desktop Connection window open:

  • Input the IP address
  • Use Show Options for any advanced connection requirements
  • Click Connect
Use Windows remote desktop app

It’s as simple as that.

Benefits of RDP: while it might take a bit longer to set up, using RDP provides great reliability and remote desktop access to Linux. This makes it an ideal tool for remote working with Linux machines.

If you use plan to use RDP regularly, you can save some time by creating these custom configurations for Windows RDP.

Connect to Linux From Windows With VNC

A Virtual Network Connection (VNC) also affords remote access to your Linux desktop. As with RDP, however, you’ll need to install some dedicated software. On the Linux box, the VNC server software is required; on Windows, a client app.

One of the most popular options for connecting to Linux over VNC is TightVNC. You’ll find the Windows client software on the website, but make sure you choose the right version.

Download: VNC for Windows

Once you’ve done that, install tightvncserver on your Linux box. This might be via SSH (see the next section) or with physical access to the computer.

First, in Linux, check for updates:

 sudo apt update 

Next, install TightVNC Server:

 sudo apt install tightvncserver 

Once installed, run tightvncserver, and set a password when prompted.

 sudo tightvncserver 

There is an eight-character limit for passwords. With tightvncserver now running, you’ll see a notification displaying the port number—make a note of it.

Once you’ve done that, here’s how to connect to the Linux machine from Windows:

  1. Run the TightVNC Viewer app on Windows
  2. Input the IP address and port number
  3. Click Connect
  4. Input the password you set when prompted
Connect to Linux from Windows over VNC

The remote desktop will then open, and you can start using the app of your choice—within reason. Certain applications with heavy graphical demands are unlikely to run reliably, if at all.

Benefits of VNC: offering fast access to the remote PC, TightVNC has its limits. You can perform standard computing tasks, but media-related activities are severely limited.

Remote Into Linux via SSH

SSH (Secure Shell) is a great way to gain remote access to your Linux device. You’re not limited to Windows with this option, either, as SSH can be used from almost any device. It’s also very secure.

You have two options for SSH on Windows:

  1. SSH in Windows PowerShell
  2. Download the PuTTY SSH tool

Let’s look at both.

Remote Access Linux With SSH in Windows PowerShell

Windows PowerShell is the new command line tool in Windows 10 and 11, replacing the old Command Prompt app. Find it by right-clicking Start to access the Power Menu and selecting Windows PowerShell. To SSH, enter:

 ssh [IP_ADDRESS] 

So if the Linux device has an IP address of 192.168.13.123, enter:

  • ssh 192.168.13.123
  • When prompted, accept the certificate.
  • Input the username and password.

You now have remote SSH access to Linux.

Connect to Linux Remotely Using SSH in PuTTY

Although not natively available in Windows, you can easily download the PuTTY application. You don’t need to install PuTTY, however. Instead, you simply run the downloaded EXE file.

Download: PuTTY (Free)

For convenience, it’s a good idea to create a desktop shortcut.

To use PuTTY for SSH:

  • Select Session > Host Name
  • Input the Linux computer’s network name, or enter the IP address you noted earlier.
  • Select SSH, then Open.
  • When prompted to accept the certificate for the connection, do so.
  • Enter the username and password to sign in to your Linux device.
Remote connect to Linux from Windows using PuTTY

Benefits of SSH: using this method lets you make quick changes to Linux without getting your hands dirty. Particularly suited to software installation and admin changes. It’s also useful for setting up the previous option, VNC! SSH is also perfect for servers without a desktop environment installed.

However, if you need a remote connection to the Linux desktop from Windows, try VNC or RDP.

Three Windows Remote Desktop Methods for Connecting to Linux

Whatever your purpose, there is a suitable option to connect to a Linux machine from Windows. These methods work whether the device is a server, desktop PC at work, media center, or even a Raspberry Pi.

So, if you are wondering which of the following tools you can use to get a remote session on a UNIX/Linux system, here they are from easiest to toughest:

  • RDP (Remote Desktop Protocol)
  • VNC (Virtual Network Connection)
  • SSH (Secure Shell)

If your Linux distro happens to be Ubuntu, you already have a built-in VNC-compatible remote desktop tool with which you can easily create a Linux remote desktop server, or Linux RDP, for short.

Настраивайте удаленное подключение к Ubuntu вместе с REG.RU! В статье мы опишем варианты удалённого подключения, расскажем, что такое RDP и как настроить удаленный рабочий стол для подключения к Ubuntu из Windows.

Облачные серверы с Ubuntu

Заказывайте Облачный сервер с чистой ОС или стеком LAMP/LEMP. Почасовая оплата, первый платёж — 100 рублей.

Выбрать тариф

Способы удалённо подключиться к Ubuntu из Windows

Есть три основных способа удалённого подключения — через SSH, через VNC (Virtual Network Computing) и c помощью RDP (Remote Desktop Protocol). Для удалённого подключения к Ubuntu лучше всего подойдёт RDP.

RDP — это протокол удалённого управления, который разработала компания Microsoft. Он подходит для удалённой работы пользователя с компьютером или сервером (в том числе с виртуальным сервером), на котором установлен сервис терминальных подключений. С помощью этого встроенного в Windows инструмента можно удалённо подключиться к другим устройствам внутри сети.

Чтобы настроить удаленный доступ к Ubuntu через RDP, нужно знать IP-адрес компьютера или сервера, к которому вы хотите подключиться. Также на Ubuntu нужно установить пакет xrdp и графическое окружение Xfce. После этого вы сможете зайти в Ubuntu из Windows через удалённый рабочий стол.

Установка на Ubuntu xrdp и Xfce

  1. 1.

  2. 2.

  3. 3.

  4. 4.

    Установите пакет xorgxrdp:

    sudo apt install xorgxrdp
  5. 5.

    Активируйте xrdp:

    sudo systemctl enable xrdp
  6. 6.

    Проверьте статус xrdp:

    sudo systemctl status xrdp

    Статус должен быть active:


    Установить Ubuntu RDP

  7. 7.

    Установите графическое окружение рабочего стола Xfce:

  8. 8.

    Запустите xrdp командой:

    sudo systemctl start xrdp

    Совет

    Остановить работу xrdp можно командой sudo systemctl stop xrdp

Готово, вы установили xrdp и Xfce на Ubuntu. Теперь к Ubuntu можно подключиться через удалённый рабочий стол.

Подключение к рабочему столу Ubuntu из Windows

Обратите внимание

Для работы через удалённый рабочий стол вам понадобятся данные учётной записи Ubuntu, а также IP-адрес устройства, к которому вы планируете подключиться. IP-адрес сервера указан в информационном письме, которое пришло на контактный email при заказе услуги, а также в карточке услуги на вкладке «Управление».

  1. 1.

    Откройте меню RDP. Для этого нажмите сочетание клавиш Win+R и введите в строку mstsc:


    Настройка Ubuntu RDP

  2. 2.

    Введите IP-адрес машины, к которой хотите подключиться, и нажмите Подключить:

  3. 3.

    Укажите данные учётной записи Ubuntu, в которой планируете работать, и кликните ОК:

Готово, вы удалённо подключились к Ubuntu из Windows.

Вам нужен удаленный доступ к настольному компьютеру Linux из Windows? Вот что вам нужно знать о RDP, VNC и SSH для Linux.

Установили сервер Linux? Возможно, вы настроили его как решение для сетевого хранения данных. А может быть, у вас есть рабочий ПК с Linux, медиацентр или вы просто держите дополнительный ПК в другой комнате.

Как бы то ни было, в какой-то момент вам понадобится удаленный доступ к устройству Linux с ПК или ноутбука под управлением Windows. Каково же решение?

У пользователей Windows есть несколько инструментов, которые обеспечивают простой удаленный рабочий стол с Windows на Linux. Хотите узнать, как сделать удаленный рабочий стол с Windows на Linux? Читайте дальше!

Вам понадобится IP-адрес устройства Linux

Перед тем как удаленно подключиться к Linux из Windows, вам понадобится IP-адрес устройства. Он нужен для всех вариантов удаленного подключения, хотя в некоторых случаях достаточно имени хоста (сетевого имени устройства).

Самый простой способ проверить IP-адрес – войти в систему на устройстве Linux и открыть терминал. Введите:

hostname -I

На экране появится IP-адрес устройства. Для получения более подробной информации вы также можете использовать

ip address

Если ваша система Linux имеет несколько соединений, они будут перечислены с префиксами. Например, подключение Ethernet будет перечислено как eth0. Если система подключена к беспроводной сети, ищите IP-адрес, указанный напротив wlan0.

Если это не так просто или неудобно, есть другой способ, который почти так же прост. В окне браузера подключитесь к маршрутизатору. Обычно это адрес 192.168.0.1 или 192.168.0.0. Посмотрите на самом маршрутизаторе или в документации, которая прилагается к нему.

Получение IP-адреса устройства Linux

Получение IP-адреса устройства Linux

Войдя в маршрутизатор, найдите опцию со списком подключенных устройств. Просмотрите IP-адреса, чтобы найти устройство Linux по имени хоста. Некоторые маршрутизаторы могут даже отображать операционную систему устройства. IP-адрес будет указан рядом, его следует записать на будущее.

Первый и самый простой вариант – это RDP, протокол удаленного рабочего стола, который встроен в Windows.

Перед началом работы вам необходимо установить программное обеспечение xrdp на ваш Linux-компьютер. Вы можете сделать это с помощью одной команды:

sudo apt install xrdp

Для RDP в Linux запустите программу Remote Desktop на машине Windows. В Windows 8 и более поздних версиях ее можно найти через Поиск, просто введя буквы “rdp”.

Откройте окно “Подключение к удаленному рабочему столу”:

  • Введите IP-адрес
  • Используйте Показать параметры для любых дополнительных требований к подключению
  • Нажмите кнопку Подключиться

Используйте приложение удаленного рабочего стола Windows

Используйте приложение удаленного рабочего стола Windows

Все очень просто.

Преимущества RDP: несмотря на то, что настройка может занять немного больше времени, использование RDP обеспечивает высокую надежность и удаленный доступ к рабочему столу Linux. Это делает его идеальным инструментом для удаленной работы с машинами Linux.

Если вы планируете использовать RDP на регулярной основе, вы можете сэкономить немного времени, создав эти пользовательские конфигурации для Windows RDP.

Подключение к Linux из Windows с помощью VNC

Виртуальное сетевое подключение (VNC) также позволяет получить удаленный доступ к рабочему столу Linux. Однако, как и в случае с RDP, вам потребуется установить специальное программное обеспечение.

Для Linux требуется серверное программное обеспечение VNC, для Windows – клиентское приложение.

Одним из самых популярных вариантов подключения к Linux через VNC является TightVNC. Клиентское программное обеспечение для Windows вы найдете на сайте, но убедитесь, что выбрали правильную версию.

Скачать: VNC для Windows

После этого установите tightvncserver на свой Linux-компьютер. Это можно сделать через SSH (см. следующий раздел) или с физическим доступом к компьютеру.

Сначала в Linux проверьте наличие обновлений:

sudo apt update

Затем установите TightVNC Server:

sudo apt install tightvncserver

После установки запустите tightvncserver и задайте пароль, когда появится запрос.

sudo tightvncserver

Для паролей существует ограничение в восемь символов. После запуска tightvncserver вы увидите уведомление с номером порта – запишите его.

Как только вы это сделаете, вы сможете подключиться к машине Linux из Windows:

  • Запустите приложение TightVNC Viewer в Windows.
  • Введите IP-адрес и номер порта
  • Нажмите кнопку Подключиться
  • Введите установленный пароль, когда появится запрос

Подключение к Linux из Windows через VNC

Подключение к Linux из Windows через VNC

После этого откроется удаленный рабочий стол, и вы сможете начать использовать выбранное вами приложение – в пределах разумного. Некоторые приложения с высокими графическими требованиями вряд ли будут работать надежно, если вообще будут работать.

Преимущества VNC: предлагая быстрый доступ к удаленному ПК, TightVNC имеет свои ограничения. Вы можете выполнять стандартные вычислительные задачи, но деятельность, связанная с мультимедиа, сильно ограничена.

Удаленный доступ в Linux через SSH

SSH (Secure Shell) – это отличный способ получить удаленный доступ к вашему Linux-устройству. Этот способ не ограничивается Windows, так как SSH можно использовать практически с любого устройства. Он также очень безопасен.

У вас есть два варианта использования SSH в Windows:

  • SSH в Windows PowerShell
  • Скачать инструмент SSH PuTTY

Давайте рассмотрим оба варианта.

Удаленный доступ к Linux с помощью SSH в Windows PowerShell

Windows PowerShell – это новый инструмент командной строки в Windows 10, заменивший старое приложение Command Prompt. Найдите его, щелкнув правой кнопкой мыши “Пуск”, чтобы открыть меню “Питание”, и выберите Windows PowerShell. Чтобы подключиться по SSH, введите:

ssh [IP_ADDRESS].

Так, если устройство Linux имеет IP-адрес 192.168.13.123, введите:

ssh 192.168.13.123
  • Когда появится запрос, примите сертификат
  • Введите имя пользователя и пароль

Теперь у вас есть удаленный SSH-доступ к Linux.

Удаленное подключение к Linux с помощью SSH в PuTTY

Приложение PuTTY можно скачать, хотя оно и недоступно в Windows. Однако PuTTY не устанавливается. Вместо этого вы просто запускаете загруженный EXE-файл.

Скачать: PuTTY (бесплатно)

Для удобства рекомендуется создать ярлык на рабочем столе.

Чтобы использовать PuTTY для SSH:

  • Выберите Сеанс > Имя хоста
  • Введите сетевое имя компьютера Linux или введите IP-адрес, который вы указали ранее.
  • Выберите SSH, затем Открыть
  • Когда появится запрос на принятие сертификата для соединения, сделайте это.
  • Введите имя пользователя и пароль для входа на устройство Linux.

Удаленное подключение к Linux из Windows с помощью PuTTY

Удаленное подключение к Linux из Windows с помощью PuTTY

Преимущества SSH: использование этого метода позволяет быстро вносить изменения в Linux, не пачкая рук. Особенно подходит для установки программного обеспечения и изменения администратора. Он также полезен для настройки следующего варианта, VNC! SSH также идеально подходит для серверов без установленной среды рабочего стола.

Однако если вам нужно удаленное подключение к рабочему столу Linux из Windows, попробуйте VNC или RDP.

Три метода удаленного рабочего стола Windows для подключения к Linux

Независимо от вашей цели, найдется подходящий вариант подключения к машине Linux из Windows. Эти методы работают независимо от того, является ли устройство сервером, настольным ПК на работе, медиацентром или даже Raspberry Pi.

От самого простого к самому сложному – удаленный доступ к Linux из Windows с помощью:

  • RDP (протокол удаленного рабочего стола)
  • VNC (виртуальное сетевое подключение)
  • SSH (Secure Shell)

Если ваш дистрибутив Linux – Ubuntu, у вас уже есть встроенный инструмент удаленного рабочего стола, совместимый с VNC.

Looking for a way to connect Windows RDP to Linux Mint? You’ve come to the right place, in this article, we are going to discuss the basics of RDP, and how to use RDP of Linux Mint as well as Windows.

RDP stands for remote desktop protocol and is responsible for providing the user full access to another system or PC available on the internet or other local network from a remote location. Microsoft developed this network communication protocol standardized by the international telecommunication union (ITU). 

Contents

  1. RDP Basics 
  2. What is the Process to enable RDP connections on Windows? 
  3. Can You RDP into Linux?
  4. How do I RDP from Windows to Linux Mint Operating System?
    • The “RDP” Method
    • Obtain the IP Address Method
  5. Take Away Tip

RDP Basics 

Most of the systems can connect to another desktop by using RDP installed and enabled. However, only some specific windows versions allow RDP connections. RDP is the window-only protocol which means that only those systems can avail of the connection that has windows server installation to support it. 

Two main components essential for developing RDP connections are an RDP server and an RDP client. RDP server is the PC or system which will fully access and control the RDP client device having the RDP client’s app installed. 

What is the Process to enable RDP connections on Windows? 

As you know, to develop an RDP connection to any remote server, you’ll need to enable it on your system first. Here we will mention a fairly straightforward process to enable RDP on your Linux host device.

  1. All you need to do is open your windows settings menu by clicking on the start button.
  2. Here you will see the Settings icon, click on it and then select System from the options.
  3. Once you have clicked on the system, you have to click on the Remote desktop option from the list.
  4. Here you will see an Enable Remote Desktop option with a slider giving you the option to turn on or off the remote desktop setting. Simply move the slider to the On position to enable the remote desktop connection.

Now you have enabled the connection, all you need to do is allow additional users to connect. In the remote desktop settings, Select press users that can remotely access this PC option. Once the remote desktop user window is open, click on the ADD button and continue to search for the user account you wish to add.

  • All You Need to Know About sudo rm -rf
  • How to install the Dissenter browser on Linux Mint?
  • Install WordPress using Bitnami on Linux Mint

Can You RDP into Linux?

Linux Mint is an Ubuntu-based distribution that strives to be a modern and comfortable operating system that is both powerful, full, and easy interface for its user. Having reliable remote access makes it very easy for you to work from anywhere in the world, providing more efficient customer support or facilitating remote work options for employees and others.

To remotely control another machine like a remote desktop to Linux from Windows, you’ll need to download and install all the packages required to enable remote desktop Linux capabilities. Don’t forget to update the ones you already have to the latest versions.

You can RDP into Linux with just a few simple commands. Another way is installing easy-to-use software that includes RDP, Xrdp, Xfce4, Gnome, AnyDesk, TeamViewer, and Remmina.

How do I RDP from Windows to Linux Mint Operating System?

Now, if you are confused and want to know, how do you RDP from windows into your Linux mint system? Then you are in the right section. Here we will guide you on how to do remote desktop sharing to your Linux in an easy way.

Once you know how to share Linux mint for remote desktop access, you will open up a new world of convenience, efficiency, and productivity in a way like never before.

So, to enable remote access to Linux Mint from Windows machines or Mac operating systems, follow the easy methods mentioned below.

The “RDP” Method

Since Linux Mint offers built-in desktop sharing capabilities, the RDP method is the simplest way to enable remote connections to Linux mint operating systems. Just simply use the built-in tool RDP from the windows operating system and develop a connection by following the simple steps mentioned below.

  • From your Linux machines, click on Start Menu and find the Preferences option.
  • In the preferences menu, you will see the option Desktop Sharing
  • The Desktop Sharing Preferences screen will open. Allow desktop sharing of your Linux by keeping this setting to On Mode.
  •  This will enable other users to connect to your Linux system.

Ensure that you have control over your remote desktop Linux Mint machine when providing access to another user. If you desire to prevent any unauthorized access,

Check the “Require the user to enter this password” option in the security section.

Now enter a secured password from your remote desktop Linux mint machine and then close the window. If you are not able to alter default settings, download conf editor to change the settings.

Obtain the IP Address Method

Another easy way to establish a remote desktop connection in Linux mint is by using a Linux machine IP address. Every operating system has an IP (internet protocol) address that is a unique address to identify a device on the internet or a local network.

To handle the remote desktop connection with Linux Mint Device to send and receive information, users will need to obtain the Linux machine’s IP address before doing anything else.

To find the IP address of the host Linux machine, follow these commands that will get you to the private IP address of your interface.

  • Type the “ifconfig” command, which will display the IP address of the Linux machine IP address. 
  • Once you know the IP address, enter the IP address of the Linux machine in the Remote Desktop Connection window and click Connect.
  • Click “Show Options” to select advanced limitations.

The methods described above are excellent and easiest for small businesses, for those who don’t need frequent access to a remote device, or for anyone working on a smaller network; however other methods also used are the VNC” Method and the “SSH” Method.

Take Away Tip

At one time, you can establish a single connection with the system that has enabled remote desktop. But if you want multiple users connected at once, you will need a remote desktop services component installed and enabled on your windows server.

Понравилась статья? Поделить с друзьями:
  • Remote desktop easy print windows server 2008 r2
  • Remote desktop easy print windows server 2003
  • Remote desktop device redirector bus windows 10
  • Remote desktop connection windows server 2019
  • Remote desktop connection windows server 2016