Have you ever used the Windows app Remote Desktop Connection? This app, included in all Windows installations, allows you to remotely access another Windows PC or a server with Windows Server. For this purpose, it employs the Remote Desktop Protocol (RDP).
Organizations can install applications on a central server instead of various computers. To use those applications, employees must remotely access that server. Such centralization can make maintenance and troubleshooting easier. This technology was formerly known as Terminal Services (TS). Currently, web systems are more common. But, in some scenarios, Windows remote apps are still needed.
In those scenarios, Linux users can remotely access Windows computers and servers from their favorite system using an RDP client.
There are a few RDP clients available for Linux and we are going to talk about them today:
- Remmina
- FreeRDP
- rdesktop
- Vinagre
You can choose the one you like best or the one that best suits your needs.
Out of curiosity, FreeRDP is both an app and a library, which provides reusable features for other apps. Except for rdesktop, all of the other clients above use the FreeRDP library.
Enabling remote desktop on Windows
First of all, you must set up the computer you want to connect to so it allows remote connections. On the Windows machine you want to connect to, logged on with an administrator account, open the Start menu and click Settings. To do that, on the window that appears, open the System category, and then Remote Desktop. Finally, enable it:
Note that you can’t connect to computers running a Windows Home edition (for instance, Windows 10 Home). This screen informs you, if that is the case:
Your Home edition of Windows 10 doesn’t support Remote Desktop.
Source of the image: Digital Citizen
If you want more information about remote desktop on Windows, take a look at:
- How to use Remote Desktop — Windows Support
- Remote Desktop — Allow access to your PC — Microsoft Docs
Remmina is a remote desktop client that supports many remote access protocols such as RDP, VNC, NX, XDMCP and SSH. It aims to be useful for system administrators and travellers, who need to work with lots of remote desktops and/or servers. Remmina is included in the Ubuntu Linux distribution and is its default remote desktop client.
To install Remmina on Linux Kamarada and openSUSE, run:
1
# zypper in remmina remmina-plugin-rdp
Once installed, to start Remmina, if you use the GNOME desktop environment, open the Activities menu, on the top-left screen corner, type remmina
and click its icon:
To quickly start a remote access, select the RDP protocol, type the hostname or IP address of the computer you want to connect to (e.g. 10.0.0.251
) and hit Enter:
If it’s the first time you connect to this computer, Remmina asks whether to trust its certificate, click Yes:
On the next screen, enter your User name and Password on the remote computer. Also inform the Domain, if necessary. Optionally, you can choose to Save password. Click OK:
You will see the remote computer’s desktop in the Remmina window:
From now on, you are using that computer, but remotely, without sitting in front of it. Each clicking and typing is sent to be processed on the remote computer.
If the remote computer is a Windows desktop, its screen is locked during remote access.
If you are going to access this computer often, consider saving the connection settings, so that remote access can be easily initiated. To do this, click the Create a new connection profile button on the top-left corner of the Remmina main window:
On the next screen, give a Name to identify the connection, select RDP in the Protocol field and enter the connection settings: Server, User name, User password and Domain (if necessary). When you’re finished, click Save:
After that, the connection becomes listed on the Remmina main window:
When you want to remotely access that computer, just double-click it on the list.
FreeRDP is a free implementation of the Remote Desktop Protocol following the Microsoft Open Specifications. This implementation provides both the client and the server applications as well as a library, which allows other applications to use the RDP protocol. Today, we are interested in the FreeRDP client application.
To install the FreeRDP client on Linux Kamarada and openSUSE, run:
The FreeRDP client does not have a main screen like Remmina. To start a remote access using the FreeRDP client, run this command from a terminal:
1
$ xfreerdp /v:hostname_or_ip_address /u:username
Making the appropriate substitutions. For example:
1
$ xfreerdp /v:10.0.0.251 /u:Kamarada
If you need to inform the computer’s domain, use the /d
parameter:
1
$ xfreerdp /v:hostname_or_ip_address /d:domain /u:username
If it’s the first time you connect to this computer, the FreeRDP client asks whether to trust its certificate:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[18:10:18:588] [3213:3214] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[18:10:18:604] [3213:3214] [INFO][com.freerdp.crypto] - creating directory /home/linux/.config/freerdp
[18:10:18:604] [3213:3214] [INFO][com.freerdp.crypto] - creating directory [/home/linux/.config/freerdp/certs]
[18:10:18:604] [3213:3214] [INFO][com.freerdp.crypto] - created directory [/home/linux/.config/freerdp/server]
[18:10:18:613] [3213:3214] [ERROR][com.freerdp.crypto] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[18:10:18:613] [3213:3214] [ERROR][com.freerdp.crypto] - @ WARNING: CERTIFICATE NAME MISMATCH! @
[18:10:18:613] [3213:3214] [ERROR][com.freerdp.crypto] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[18:10:18:613] [3213:3214] [ERROR][com.freerdp.crypto] - The hostname used for this connection (10.0.0.251:3389)
[18:10:18:613] [3213:3214] [ERROR][com.freerdp.crypto] - does not match the name given in the certificate:
[18:10:18:613] [3213:3214] [ERROR][com.freerdp.crypto] - Common Name (CN):
[18:10:18:613] [3213:3214] [ERROR][com.freerdp.crypto] - WinDev2003Eval
[18:10:18:613] [3213:3214] [ERROR][com.freerdp.crypto] - A valid certificate for the wrong name should NOT be trusted!
Certificate details:
Subject: CN = WinDev2003Eval
Issuer: CN = WinDev2003Eval
Thumbprint: 23:7e:de:bc:85:d7:13:f3:e5:ce:e2:56:58:93:7d:f7:db:d1:bd:85
The above X.509 certificate could not be verified, possibly because you do not have
the CA certificate in your certificate store, or the certificate has expired.
Please look at the OpenSSL documentation on how to add a private CA to the store.
Do you trust the above certificate? (Y/T/N)
Type Y
(yes) and hit Enter. Then type your user password on the remote computer and hit Enter:
1
2
3
4
5
Do you trust the above certificate? (Y/T/N) Y
Password:
[18:11:31:595] [3213:3214] [INFO][com.freerdp.gdi] - Local framebuffer format PIXEL_FORMAT_BGRX32
[18:11:31:596] [3213:3214] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_RGB16
[18:11:32:782] [3213:3214] [INFO][com.winpr.clipboard] - initialized POSIX local file subsystem
After that, the remote desktop connection is initiated:
If you have ever started the remote desktop connection on Windows by the Command Prompt (using the mstsc command), you may have noticed that the FreeRDP client uses the same command syntax. It was implemented that way on purpose, to keep compatibility.
If you are a curious person and want to check it out by yourself:
- on Windows, run:
- on Linux, run:
rdesktop was the first RDP client for Linux and, for many years, it was the most used. But since November 2019, the project is looking for a new maintainer.
In contrast, FreeRDP was born in 2009 as a fork of rdesktop, when Microsoft decided to open the RDP specifications. As time passed and the FreeRDP project evolved, it became the standard RDP client on systems where no native Microsoft client is available.
I present rdesktop here for information purposes only. Unless you have a good reason to use it, you are advised to use one of the other RDP clients, based on FreeRDP.
To install rdesktop on Linux Kamarada and openSUSE, run:
Then, to start a remote access using rdesktop, invoke it from a terminal followed by the hostname or IP address of the computer you want to connect to. For example:
In the past, that would suffice and rdesktop would just work. But now we face a problem that comes from the lack of proper maintenance and updates:
1
2
3
Autoselected keyboard map en-us
ERROR: CredSSP: Initialize failed, do you have correct kerberos tgt initialized ?
Failed to connect, CredSSP required by server.
At some point, Microsoft released an Windows update that has since made the use of Network Level Authentication (NLA) required by default. FreeRDP does support NLA, while rdesktop does not. You can still use rdesktop for remote access, as long as you disable NLA on the computer you want to connect to. Note that this makes the connection less secure.
To disable NLA on the Windows machine you want to connect to, logged on with an administrator account, open the Control Panel, open the System and Security category, then click the System icon. On the next screen, click the Remote settings link by the left. On the dialog box that appears, select the Remote tab. Finally, disable the option Allow connections only from computers running Remote Desktop with Network Level Authentication and click OK:
With NLA disabled, back to the Linux computer that will start the remote access, try again:
This time, rdesktop will work. A window presents the Windows logon screen. Enter your username and password and press Enter to start the remote access:
If you want more information about that rdesktop bug, see:
- CredSSP does not work — Issue #71 — rdesktop/rdesktop — GitHub
- Add support for Network Level Authentication — Issue #279 — rdesktop/rdesktop — GitHub
- Doesn’t work if there is Fortress machine between connecting to the remote server — Issue #261 — rdesktop/rdesktop — GitHub
- Network Level Authentication (NLA) — rdesktop/rdesktop Wiki — GitHub
Vinagre is the default remote desktop client for the GNOME desktop. That’s why it is also the default remote desktop client for Linux Kamarada 15.1, the current stable release. Like Remmina, it supports some connection protocols: SSH, RDP, SPICE and VNC. However, like rdesktop, Vinagre is unmaintained for some time now.
When trying a RDP access, Vinagre only displays a black screen, as I reported on the openSUSE mailing list some time ago:
- [opensuse-factory] Black screen when trying a RDP access to Windows 10 using Vinagre (Leap 15.1/15.2 and Tumbleweed)
On some distributions, like Debian, Vinagre works. I believe that those distributions applied some patch to Vinagre.
Probably, the next Linux Kamarada release will come with Remmina instead of Vinagre, following the Ubuntu Linux distribution.
Because of that, I present Vinagre here just for information purposes as well.
Vinagre comes already installed by default on Linux Kamarada and openSUSE, if you chose the GNOME desktop, but if you need or want to install it, you can do this by running:
To start Vinagre, which appears as Remote Desktop Viewer on the applications list, open the Activities menu, on the top-left screen corner, type remote
or vinagre
and click the corresponding icon:
On the Vinagre main screen, click Connect:
Fill in the next screen fields with the connection settings:
- on the Protocol field, select RDP;
- on the Host field, enter the hostname or IP address of the computer to connect to;
- enter your Username on the remote computer; and
- enter the Domain, if necessary.
When you are finished, click Connect.
If it’s the first time you connect to this computer, Vinagre asks whether to trust its certificate:
Tell it to do so by clicking Connect.
Enter your Password, optionally enable Remember this credential and click Authenticate:
At this point, you should see the remote computer’s desktop. You can notice it has its screen locked (as it normally does during RDP accesses). But, as I said, Vinagre only displays a black screen:
Like Remmina, Vinagre allows you to memorize the connection settings, to easily connect to the same computer again in the future. To do this, during the remote access, open the Bookmarks menu and click Add Bookmark.
After you created the bookmark, it will now be listed on the Bookmarks menu. When you want to remotely access this computer again, just open this menu and click the bookmark.
References
- How to use Remote Desktop — Windows Support
- Remote Desktop — Allow access to your PC — Microsoft Docs
- Remote Graphical Sessions with VNC — Reference — openSUSE Leap 15.1
- Hi! — The history of the FreeRDP project — FreeRDP
Since it’s not possible to remotely access computers running Windows 10 Home, to write this how-to I used a VirtualBox virtual machine with a Windows 10 Enterprise evaluation version legally downloaded from:
- Download a Windows 10 virtual machine — Windows app development
Время на прочтение10 мин
Количество просмотров305K
Создавая виртуальный сервер на VPS.house, вы получаете полностью 100% готовую к использованию операционную систему Windows Server, к которому сразу же можно подключаться по сети с любого внешнего устройства по протолку RDP.
RDP (Remote Desktop Protocol) – специальный протокол, разработанный компанией Microsoft для удаленного управления ОС Windows (протокол удалённого рабочего стола). Изначально, разумеется, как и многие вещи под Windows, этот протокол разработали другие люди, но в настоящее время поддерживает его и развивает Microsoft.
Согласно условиям лицензирования, ОС Windows Server допускает по умолчанию не более 2-х одновременных подключений по RDP к серверу, если нужно больше, то понимается терминальный сервер и лицензируется либо количество пользователей, либо количество подключаемых устройств. Но, подключившись к серверу по RDP, вы также можете поставить любое удобное вам решение для удалённого управления рабочим столом: TeamViewer, RAdmin и прочие.
Данная статья описывает процесс подключения к серверу Windows по RDP с многих популярных операционных систем. Ввиду этого получилась она довольно длинной. Моментально перейти к нужному вам разделу вы можете по этому меню:
Подключение в VPS серверу из десктопной Windows
Данная инструкция проверена и работает успешно на всех популярных версиях Windows для персональных компьютеров: XP, Vista, Windows 7, 8, 8.1 и 10.
В каждой операционной системе Windows есть встроенное приложение для подключения по RDP – это программа «Подключение к удалённому рабочему столу» (Remote Desktop Connection в англоязычных ОС).
Для запуска ее зайдите по пути:
Пуск -> Программы -> Стандартные -> Подключение к удалённому рабочему столу
Если вы используете Windows 8, тогда:
Пуск -> Приложения -> Подключение к удалённому рабочему столу
Если вы используете Windows 10, тогда:
Пуск -> Все приложения (может этого пункта не быть!) -> Стандартные Windows -> Подключение к удалённому рабочему столу
Или же просто нажмите комбинацию клавиш Win+R и в открывшемся окне наберите mstsc
В открывшемся окне наберите IP-адрес вашего виртуального сервера и нажмите кнопку «Подключить». IP-адрес сервера вы можете видеть в вашем личном кабинете в разделе «Мои серверы»:
Если вы заказали сервер с 2-я или большим количеством IP-адресов, то для подключения к серверу вы можете использовать любой из них – это ни на что не влияет.
Те, кто впервые стакиваются с созданием удалённого рабочего стола, часто задаются вопросом «Зачем нужны эти IP-адреса и сколько нужно именно им», часто также путают количество IP-адресов с количеством рабочих столов или учётных записей, или полагают, что если зайти на сервер по одному адресу, то открывая браузер именно этот адрес будет браузер использовать. Нас самом же деле это всего лишь список внешних адресов, по которому можно подключиться к серверу, сама работа на сервере уже после подключения никаким образом не меняется.
Чаща всего при подключении по умолчанию настроена автоматическая передача данных из буфера обмена, а также подключаются к серверу и становятся на нём видны локальные диски устройства, с которого вы подключаетесь. При сразу после нажатия на кнопку «Подключить» вы можете увидеть уведомление о возможном вреде, который может нанести как удалённый компьютер вашему, так и ваш удалённому. Такое вполне возможно если вы подключаетесь к чужому серверу, на котором могут быть вирусы или вы подключаетесь к своему проведенному серверу с чужого заражённого ПК.
Подключаясь к только что созданному и чистому серверу можно смело отключить дальнейшие уведомления и продолжить процесс подключения.
Далее вы увидите окно с вводом авторизационных данных:
При создании каждого нового сервера система VPS.house автоматически генерирует новый уникальный пароль для него, при этом на всех серверах Windows по умолчанию остаётся имя пользователя Administrator. Пароль от сервера отображается также в личном кабинете возле вашего сервера на странице «Мои серверы»:
В целях безопасности, по умолчанию пароль от сервера скрыт и отображается только по нажатию на ссылку «Показать пароль», при этом сайт попросит вас ввести пароль от вашей учётной записи на VPS.house.
Обратите, пожалуйста, внимание на то, что очень часто при попытке подключения с Windows 7 если копировать и вставлять пароль, система показывает ошибку о неверно введённых учетных данных, тоже самое может возникать и в других версиях. Если вы с этим столкнулись, просто
введите пароль вручную
и обязательно с учётом регистра (заглавные буквы вводите заглавными, а строчные строчными и строго в английской раскладке клавиатуры).
После успешной авторизации перед началом сессии вы получите уведомление о неуспешной проверке подлинности удаленного компьютера. Причина этого уведомления в том, что сессия на стороне сервера шифруется по умолчанию с помощью SSL-сертификата, который сгенерировал сам же сервер, а не тем, что мог быть выдан авторизованным центром сертификации.
Данное уведомление не говорит о проблемах безопасности, и вы смело можете отключить его для будущих подключений к этому же серверу, отметив галочкой «Больше не выводить запрос о подключениях к этому компьютеру».
Если вы используете для работы Windows XP и при подключении система выдает ошибку с текстом «Удаленный компьютер требует проверку подлинности на уровне сети, которую данный компьютер не поддерживает», значит на ваш ПК очень сильно устарел и нужно дополнительно установить небольшое обновление, где его взять и как установить
мы подробно расписали здесь
.
Встроенная программа подключения к удалённому рабочему столу позволяет с лёгкостью передавать файлы на сервер, копируя их на вашем ПК и вставляя в любую папку уже на самом сервере и наоборот. Помимо этого, можно включить передачу на сервер практически любых USB-устройств и сетевых принтеров и сканеров.
Для включения этих возможностей перед подключением к серверу нажмите на кнопку «Показать параметры»:
Откроется режим расширенных настроек подключения к вашему VDS серверу. Перейдите на вкладку «Локальные ресурсы» и отметьте галочкой требуемые для вас устройства:
Еще одна очень полезная и популярная функция – это возможность создать готовый файл подключения (так называемый «ярлык»), в котором уже сохранены все нужные вам настройки и данные авторизации на сервере. Это особенно удобно если вы хотите дать доступ сотруднику, который не является опытным пользователем ПК.
Для этого также в расширенных настройках подключения на вкладке «Общие» введите имя пользователя (на серверах VPS.house это всегда по умолчанию Administrator), отметьте галочкой «Разрешить мне сохранять учетные данные», чтобы не приходилось вводить пароль каждый раз и, по завершению внесения всех нужных вам остальных параметров подключения (если таковые есть), нажиме кнопку «Сохранить как»:
В итоге вы получите готовый файл с подключением, который вы можете отправить вашему коллеге и тот в свою очередь подключится к серверу 2-я простыми кликами по нему мышкой.
В целях безопасности по умолчанию в данный файл не будет добавлен пароль от учётной записи, он будет запрошен при первом подключении.
Как подключиться к серверу по RDP если вы работаете с Ubuntu
Протокол подключения к уделённому рабочему столу Windows (RDP) – это закрытый протокол компании Microsoft, официальных служб под операционные системы Linux Microsoft не выпускает, но так или иначе уже давно существуют стабильно работающие решения, которые в последних редакциях Ubuntu даже включены в изначальную сборку.
Речи идет о клиенте под названием Remmina
По умолчанию если Remmina включена в вашу сборку, вы можете найти ее в Поиске по запросу «Remote Desktop Client», если ее нет, то установите ее при помощи следующих команд в Терминале.
- Устанавливаем пакет Remmina
sudo apt-add-repository ppa:remmina-ppa-team/remmina-next
- Устанавливаем обновления
sudo apt-get update
- Устанавливаем плагин протокола RDP
sudo apt-get install remmina remmina-plugin-rdp libfreerdp-plugins-standard
- Если ранее у вас уже была установлена какая-либо версия Remmina или была запущена до установки, то ее необходимо перезапустить. Это лучше всего сделать перезагрузкой компьютера или с помощью команды:
udo killall remmina
Если после её выполнения вы получили сообщение об ошибке типа «процесс не найден», значит и так все хорошо и можно было команду и не выполнять.
В меню поиска наберите «remote desktop» или «remmina», чтобы найти установленное приложение:
Remmina позволяет добавлять и сохранять список подключений для быстрого доступа к тому или иному серверу. Для сознания нового нажмите на «+», как показано на изображении:
Заполните поля авторизационными данными, которые
указаны в вашем личном кабинете
:
На вкладке «Advanced» вы можете также указать качество подключения к серверу и детализации при передаче изображений:
После сохранения данных вы всегда сможете найти ваш сервер в списке подключений Remmina. Для подключения к серверу теперь достаточно просто кликнуть дважды мышкой по строке сервера:
Если вы подключаетесь к серверу впервые с этого приложения, то оно может показать информацию о ошибке в сертификате безопасности. Почему это происходит
мы описали выше в блоке подключения к серверу из десктопной Windows
.
Достаточно нажать «ОК» и программа продолжит подключение к вашему серверу:
Как подключиться к серверу по RDP если вы работаете с Debian
Протокол RDP (Remote Desktop Protocol) – это закрытый протокол удалённого рабочего стола Microsoft. К сожалению, они не выпускают официальных клиентов для работы подключения к серверам Windows с операционных систем, работающих на базе Linux. Однако уже довольно давно существуют стабильно работающие решения.
Одно из самых популярных – это клиент для всевозможных удалённых Remmina, именно его мы и рекомендуем использовать для включения к серверам VPS.house или любым другим под управлением ОС Windows.
- Указываем путь к установочным файлам
echo 'deb http://ftp.debian.org/debian stretch-backports main' | sudo tee --append /etc/apt/sources.list.d/stretch-backports.list >> /dev/null
- Запускаем процесс установки
sudo apt update
- Устанавливаем плагин протокола RDP
sudo apt install -t stretch-backports remmina remmina-plugin-rdp remmina-plugin-secret libfreerdp-plugins-standard
Сразу после установки приложение можно найти через поиск программ:
В отличие стандартного от RDP-клиента ОС Windows, Remmina позволяет сохранять в список все свои подключения к различным серверам и осуществлять моментальный доступ к ним. Для добавления первого сервера в список нажмите «+» в левом верхнем углу:
В открывшемся окне задайте параметры подключения к вашему серверу и введите удобное для запоминания имя сервера. Все необходимые для подключения данных указаны в вашем личном кабинете:
На вкладке «Advanced» («Дополнительные») вы можете задать параметры передачи звука с сервера на ваш ПК, а также качество передаваемого изображения при подключении:
После сохранения я настроек вы увидите новую строку в списке подключений. Для начала работы с сервером достаточно просто дважды кликнуть по нему мышкой:
В момент первого подключения к серверу Remmina покажет уведомление у недоверенном сертификате шифрования. Это не является какой-либо ошибкой или проблемой безопасности. Причину этого сообщения мы описали выше. Просто нажмите «ОК» и вы увидите рабочий стол вашего сервера, при условии, разумеется, что все данные для подключения ранее были введены корректно.
Подключение серверу по RDP из Mac OS
Для подключения к удалённому рабочему столу для Mac OS компания Microsoft разработала и поддерживает официальный RDP-клиент. Он стабильно работает с любыми версиями ОС Windows.
Для загрузки его перейдите на сайт iTunes: https://itunes.apple.com/gb/app/id715768417
Программа обладает интуитивно понятным интерфейсом и позволяет создавать список серверов для дальнейшего моментального подключения к ним.
Для добавления нового сервера в список нажмите «New», как показано на скриншоте:
В открывшемся окне укажите авторизационные данные, как указано
в вашем личном кабинете
(IP-адрес сервера, логин Administrator и его пароль), и укажите произвольное название для нового подключения (Connection Name).
По завершению ввода нажмите на кнопку закрытия окна – все данных сохранятся и появится строчка с вашим сервером в списке подключений:
Кликните на эту строчку дважды мышкой, и вы подключитесь к серверу.
При попытке подключения к вашему VPS серверу если он работает на Windows Server 2008 или более новой версии, программа покажет уведомление о том, что не удалось проверить сертификат шифрования. Это не является проблемой безопасности, а всего лишь говорит о том, что сертификат выдан не сертифицированным центром, а сгенерирован самим же сервером.
Для того, чтобы это сообщение в будущем не возникало для этого сервера, нажмите «Показать сертификат».
Отметьте галочкой «Всегда доверять…» и нажмите «Continue».
Если в настройках подключения все параметры были введены без ошибок (IP-адрес, логин и пароль), то вы сразу же увидите рабочий стол вашего Windows Server:
Подключение к VDS серверу со смартфона или планшета на iOS (с iPhone или iPad)
Для iOS копания Microsoft выпускает полноценный официальный RDP-клиент комфортного и стабильного подключения к удалённому рабочему столу. Приложение называется Microsoft Remote Desktop или Удаленный рабочий стол: https://itunes.apple.com/ru/app/id714464092
Microsoft Remote Desktop позволяет заранее настроить целый список используемых вами для частого подключения серверов.
Специфика его работы заключается в том, что информация об учётных записях создаётся и хранится отдельно от самого списка серверов. Соответственно, для начала нам требуется добавить учётную запись пользователя Administrator. Для этого нажмите на кнопку настроек (иконка шестерёнок в верхнем левом углу) и выберите «Учётные записи»:
В открывшемся окне нажмите на «Добавление учётной записи пользователя» и введите логин Administrator и его пароль, как отображается
в вашем личном кабинете
:
По завершению вы увидите, что учётная запись Administrator добавлена в список, далее нажмите кнопку «Готово» и вы вернетесь на стартовый экран.
Следующим шагом добавляется непосредственно информация о самом сервере. Нажмите кнопку «+» в правом верхнем углу приложения и в открывшемся меню выберите «Рабочий стол»:
В окне добавления нового подключения укажите IP-адрес вашего сервера и выдерите учётную запись Administrator, добавленную на прошлом шаге:
В момент первого подключения вы увидите уведомление вы увидите уведомление о недоверенном сертификате безопасности. Причину этого
мы описали выше
. Выдерите «Больше не спрашивать для этого ПК» и нажмите «Принять».
В случае если IP-адрес и авторотационные данные указаны без ошибки, вы успешно подключитесь к вашему виртуальному серверу:
Как подключиться к VPS серверу со смартфона или планшета на Android
Для устройств под управлением Android компания Microsoft выпускает полноценное приложение для работы с удалённым рабочим столом – Microsoft Remote Desktop. Скачайте его как любое другое приложение в
Google Play
.
В отличие от всех описанных выше приложений для подключений с ПК, мобильное приложение Microsoft Remote Desktop разделяет учётные записи и сам список подключений. Поэтому сначала нужно добавить в список учётную запись пользователя Administrator с его паролем, который показан
в вашем личном кабинете
:
После добавления учётной записи возвращайтесь на главный экран приложения для добавления самого подключения (адреса вашего VDS сервера):
В открывшемся окне укажите IP-адрес вашего сервера (указан в
личном кабинете
), выберите добавленную ранее учётную запись Administrator и нажмите «Сохранить» («Save»):
На главном экране в списке подключений появится ваш сервер, просто нажмите на него, и программа начтёт подключение. Если вы подключаетесь с этого приложения к серверу впервые, то увидите информационное сообщение о том, что приложению не удалось проверить сертификат шифрования. Почему так происходит
описано в начале статьи
.
Достаточно отметить галочкой «Never ask again for connections to this PC» и данное уведомление больше появляться не будет. Далее нажмите «Connect» и если все авторотационные данные и IP-адрес сервера указан без ошибок, вы успешно к нему подключитесь:
P.S.: У клиентов нашего VPS-хостинга часто возникает вопрос, как подключиться к серверу с того или иного устройства. В поисковиках можно найти все эти инструкции в том числе и с картинками, и с видео. Надеюсь, данная статья, будет полезной и здесь, как содержащая в одном месте инструкции по подключению со всех самых популярных устройств и операционных систем.
Last update: September 11, 2024
Remote desktop connections can be incredibly useful to streamline a multiple computer work setup. This guide will
walk you through the process of setting up a remote desktop connection from Linux to Windows using Remmina, a
popular remote desktop client for Linux.
Prerequisites
- A Windows PC and a Linux machine on the same WiFi network
- Administrative access on both machines
- The Windows machine must run Windows Pro, Enterprise or Education — it won’t work with Windows Home edition.
- To find out which version of Windows you run, run
winver
from the windows search box
- To find out which version of Windows you run, run
Step 1: Configure Windows for Remote Desktop
- On your Windows PC, from the Windows start menu, open «Remote desktop settings»:
- Turn on «Remote desktop»:
- Restart your Windows PC to apply the changes.
- Open the Windows terminal (right-click on the Windows start menu and choose «Terminal»):
- In the terminal, type
ipconfig
and note down your IPv4 address: -
To find your display resolution, right-click on an empty spot on the desktop and choose «Display settings»:
- Write down your display resolution for later use.
Step 2: Install and Configure Remmina on Linux
- Open a terminal on your Linux machine and run the following commands to install Remmina:
sudo apt update sudo apt install remmina
- Launch Remmina after installation.
- Add a new connection profile by clicking the plus icon in the top-right corner:
- Configure the new connection:
- Name the connection
- In the «Server» field, enter the IP address of your Windows PC
- For «Resolution,» choose «Custom» and enter the resolution of your Windows PC, or select «Use client
resolution» to match your Linux display
- Click «Save and connect»
- Enter your Windows username and password when prompted:
Using Your Remote Desktop Connection
Once connected, you can control your Windows PC from your Linux machine. To toggle full-screen mode, press ‘F’ while
holding the right Ctrl key.
With these steps, you’ve successfully set up a remote desktop connection from your Linux machine to your Windows PC.
This setup allows you to access your Windows environment conveniently from your Linux system, enhancing your
productivity and flexibility.
3 Comments
Add a new comment:
-
Bridgett Taormina April 14, 2025
-
Kenneth Danglow April 21, 2025
-
Manshi Sharma April 21, 2025
Are you a Linux user who needs to remotely access a Windows computer? Whether you need to work on a Windows-specific application or access files and documents on a Windows machine, there are several options available to establish a remote desktop connection from Linux to Windows. In this step-by-step guide, we will explore 20 different methods to achieve this, ranging from using Remote Desktop Protocol (RDP) client software to setting up a Windows Remote Desktop Services (RDS) environment. By the end of this article, you will have a comprehensive understanding of various approaches to remote desktop to Windows from Linux, allowing you to choose the method that best suits your needs.
Introduction
Remote desktop refers to the ability to access and control a computer from a remote location. It allows users to interact with a remote computer as if they were physically present at the machine. In the context of this guide, we will focus on remote desktop connections from Linux systems to Windows computers.
There are numerous scenarios where remote desktop access to a Windows machine from a Linux system can be beneficial. For example, you may need to access Windows-specific software or tools that are not available on Linux. Alternatively, you may want to retrieve files or documents stored on a Windows computer while working on a Linux machine. Regardless of the specific use case, having the ability to establish a remote desktop connection between Linux and Windows can greatly enhance productivity and flexibility.
Option 1: Use Remote Desktop Protocol (RDP) client software
One of the most common and straightforward methods to remote desktop to Windows from Linux is by using RDP client software. RDP is a proprietary protocol developed by Microsoft that allows users to connect to a remote Windows computer and control it as if they were sitting in front of it.
There are several RDP client software options available for Linux, such as Remmina, Vinagre, and rdesktop. These applications provide a user-friendly interface to configure and establish RDP connections to Windows machines. To use this method, you will need to enable Remote Desktop on the Windows computer and have the necessary credentials to authenticate the remote connection.
Once you have installed an RDP client software on your Linux system, you can launch the application and enter the IP address or hostname of the Windows computer you want to connect to. Provide the appropriate login credentials, and the RDP client software will establish a remote desktop session with the Windows machine.
Using RDP client software is a reliable and widely supported method for remote desktop access to Windows from Linux. It offers a familiar Windows desktop experience and allows you to seamlessly work on Windows-specific applications or access files on the remote machine.
Option 2: Install and configure a Virtual Network Computing (VNC) server
If you prefer a more platform-independent solution, you can install and configure a VNC server on the Windows computer and use a VNC client on the Linux system to establish a remote connection. VNC is a remote desktop protocol that allows users to control a remote computer’s desktop environment.
To use this method, you will need to install a VNC server software on the Windows computer, such as TightVNC or RealVNC. Once the VNC server is installed, you can configure it to allow remote connections and set a password for authentication.
On the Linux system, you will need to install a VNC client software, such as Remmina or TigerVNC. Launch the VNC client application and enter the IP address or hostname of the Windows computer. Provide the VNC server’s password, and the client software will establish a remote desktop session with the Windows machine.
Using a VNC server and client combination provides a cross-platform solution for remote desktop access. It allows you to control the Windows desktop environment from a Linux system, providing flexibility and convenience.
Option 3: Utilize the XRDP package
Another method to remote desktop to Windows from Linux is by utilizing the XRDP package. XRDP is an open-source implementation of the RDP protocol that allows Linux systems to act as RDP servers.
To use this method, you will need to install the XRDP package on the Linux system. Once installed, you can configure XRDP to enable RDP support and specify the desktop environment to use for the remote session.
On the Windows computer, you can use any RDP client software, such as Remote Desktop Connection or Remmina, to connect to the Linux system. Enter the IP address or hostname of the Linux machine, provide the appropriate login credentials, and the RDP client software will establish a remote desktop session with the Linux system.
Utilizing the XRDP package allows you to turn your Linux system into an RDP server, enabling remote desktop access from Windows machines. It provides a seamless integration between Linux and Windows environments, allowing you to work on Linux while accessing Windows resources.
Option 4: Set up a Secure Shell (SSH) server
If you prefer a secure and command-line-based method for remote desktop access, you can set up an SSH server on the Windows computer and use an SSH client on the Linux system to establish a remote connection.
To use this method, you will need to install an SSH server software on the Windows computer, such as OpenSSH for Windows or Bitvise SSH Server. Once the SSH server is installed, you can configure it to allow remote connections and set up SSH keys for authentication.
On the Linux system, you will need to have an SSH client installed, which is typically available by default. Open a terminal and use the SSH command to connect to the Windows computer. Provide the IP address or hostname of the Windows machine, along with the appropriate login credentials, and the SSH client will establish a secure shell session with the Windows system.
Using SSH for remote desktop access provides a secure and lightweight method to control a Windows computer from a Linux system. It allows you to execute commands and perform administrative tasks on the remote machine without the need for a graphical desktop environment.
Option 5: Install and configure a third-party remote desktop software
If you are looking for alternative remote desktop software options, there are several third-party applications available that support both Linux and Windows systems. Examples of such software include TeamViewer, AnyDesk, and NoMachine.
To use this method, you will need to install the remote desktop software on both the Linux and Windows systems. Once installed, you can launch the application on the Linux system and enter the remote computer’s ID or IP address to establish a connection.
Depending on the specific software, you may need to create an account or provide authentication credentials to connect to the remote Windows computer. Once the connection is established, you will have full control over the Windows desktop environment from your Linux system.
Using third-party remote desktop software provides a user-friendly and feature-rich solution for remote access to Windows from Linux. These applications often offer additional functionalities such as file transfer, remote printing, and multi-platform support.
Option 6: Use the Windows Subsystem for Linux (WSL)
If you are running a Windows 10 or Windows Server 2019 system, you can utilize the Windows Subsystem for Linux (WSL) to run a Linux distribution on the Windows computer. This allows you to establish a remote connection from the Linux subsystem to the Windows environment.
To use this method, you will need to enable the WSL feature on the Windows computer and install a Linux distribution of your choice, such as Ubuntu or Debian, from the Microsoft Store. Once the Linux distribution is installed, you can launch a terminal and use SSH or other remote access methods to connect to the Windows system.
Using WSL provides a unique approach to remote desktop access, as it allows you to run a Linux environment directly on a Windows machine. This can be particularly useful if you need to work on Linux-specific tasks while having access to Windows resources.
Option 7: Set up a Virtual Private Network (VPN) connection
If you require a secure and private connection between your Linux and Windows systems, setting up a Virtual Private Network (VPN) can be an effective solution. A VPN creates an encrypted tunnel between the two systems, allowing you to access the Windows computer remotely.
To use this method, you will need to set up a VPN server on the Windows computer and configure it to accept incoming connections. There are various VPN server software options available for Windows, such as OpenVPN or SoftEther VPN.
On the Linux system, you will need to install a VPN client software, such as OpenVPN or NetworkManager, and configure it to connect to the Windows VPN server. Once the VPN connection is established, you can access the Windows computer as if it were on the same local network.
Setting up a VPN connection provides a secure and private method for remote desktop access. It allows you to establish a virtual network between the Linux and Windows systems, ensuring that your remote sessions are protected from unauthorized access.
Option 8: Utilize the Telnet protocol
Although not as secure as other methods, utilizing the Telnet protocol can be a viable option for remote desktop access from Linux to Windows. Telnet allows you to establish a text-based remote session with a Windows computer.
To use this method, you will need to install a Telnet server software on the Windows computer, such as KpyM Telnet/SSH Server or Telnet Server for Windows. Once the Telnet server is installed, you can configure it to allow remote connections.
On the Linux system, you will need to have a Telnet client installed, which is typically available by default. Open a terminal and use the Telnet command to connect to the Windows computer. Provide the IP address or hostname of the Windows machine, along with the appropriate login credentials, and the Telnet client will establish a remote session with the Windows system.
Using Telnet for remote desktop access provides a lightweight and straightforward method to control a Windows computer from a Linux system. However, it is important to note that Telnet does not encrypt the communication, making it less secure compared to other methods.
Option 9: Use the X Window System
The X Window System, commonly referred to as X11, is a widely used windowing system for Unix-like operating systems, including Linux. It allows you to remotely display the desktop environment of a Windows computer on a Linux system.
To use this method, you will need to enable X11 forwarding on the Linux system and install an X server software, such as Xming or VcXsrv, on the Windows computer. Once the X server is installed, you can configure it to allow remote connections.
On the Linux system, you will need to have an SSH client installed, which is typically available by default. Open a terminal and use the SSH command with X11 forwarding enabled to connect to the Windows computer. Provide the IP address or hostname of the Windows machine, along with the appropriate login credentials, and the SSH client will establish a secure shell session with X11 forwarding.
Once the SSH session is established, you can launch graphical applications on the Windows computer, and they will be displayed on the Linux system’s desktop environment.
Using the X Window System for remote desktop access provides a seamless integration between Linux and Windows environments. It allows you to run Windows applications on a Linux system while leveraging the Linux desktop environment.
Option 10: Set up a Remote Desktop Gateway (RD Gateway) server
If you need to establish remote desktop connections to multiple Windows computers from your Linux system, setting up a Remote Desktop Gateway (RD Gateway) server can simplify the process. RD Gateway acts as an intermediary between the Linux client and the Windows computers, allowing for secure remote access.
To use this method, you will need to set up an RD Gateway server on a Windows computer and configure it to accept incoming connections. Once the RD Gateway server is set up, you can use an RDP client software on the Linux system to connect to the RD Gateway server.
When establishing the RDP connection, specify the IP address or hostname of the RD Gateway server and provide the appropriate login credentials. The RDP client software will establish a connection with the RD Gateway server, which will then forward the connection to the desired Windows computer.
Setting up an RD Gateway server provides a centralized and secure method for remote desktop access to multiple Windows computers. It simplifies the connection process and allows you to access Windows resources from your Linux system with ease.
Option 11: Install and configure a web-based remote desktop software
If you prefer to access the Windows computer remotely from a web browser on your Linux system, installing and configuring a web-based remote desktop software can be a suitable option. Examples of such software include Guacamole and Apache Guacamole.
To use this method, you will need to set up a server accessible from both the Linux and Windows systems and install the web-based remote desktop software on the server. Once installed, you can access the software through a web browser on the Linux system.
Using the web-based remote desktop software, you can enter the IP address or hostname of the Windows computer and provide the appropriate login credentials. The software will establish a remote desktop session with the Windows machine, which can be accessed and controlled through the web browser on the Linux system.
Installing a web-based remote desktop software provides a convenient and platform-independent method for remote access to Windows from Linux. It eliminates the need for installing client software on the Linux system and allows for easy access through a web browser.
Option 12: Utilize a command-line tool
If you prefer a command-line-based approach for remote desktop access, you can utilize command-line tools that support the RDP protocol. Examples of such tools include FreeRDP and rdesktop.
To use this method, you will need to install the command-line tool on the Linux system. Once installed, you can launch the tool and provide the IP address or hostname of the Windows computer, along with the appropriate login credentials.
The command-line tool will establish an RDP connection with the Windows machine and provide a text-based interface to interact with the remote desktop environment. This method is particularly useful for scripting or automation purposes.
Utilizing a command-line tool for remote desktop access provides a lightweight and flexible solution. It allows for easy integration with other command-line utilities and provides a streamlined approach for remote administration tasks.
Option 13: Set up a Windows Remote Management (WinRM) server
If you prefer to manage the Windows computer remotely using PowerShell commands from your Linux system, setting up a Windows Remote Management (WinRM) server can be an effective method.
To use this method, you will need to enable WinRM on the Windows computer and configure it to allow remote connections. Once WinRM is set up, you can use a Linux-based PowerShell client, such as PowerShell Core, to establish a remote session with the Windows system.
Launch the PowerShell client on the Linux system and use the appropriate cmdlets to establish a WinRM session with the Windows computer. Provide the IP address or hostname of the Windows machine, along with the appropriate login credentials, and the PowerShell client will establish a remote session.
Using WinRM for remote desktop access provides a powerful and scriptable method to manage a Windows computer from a Linux system. It allows for seamless integration with PowerShell commands and provides extensive control over the remote machine.
Option 14: Use a cross-platform remote desktop software
If you require a remote desktop solution that supports both Linux and Windows systems, using a cross-platform remote desktop software can be an ideal choice. Examples of such software include AnyDesk, Chrome Remote Desktop, and DWService.
To use this method, you will need to install the cross-platform remote desktop software on both the Linux and Windows systems. Once installed, you can launch the application on the Linux system and enter the remote computer’s ID or IP address to establish a connection.
Depending on the specific software, you may need to create an account or provide authentication credentials to connect to the remote Windows computer. Once the connection is established, you will have full control over the Windows desktop environment from your Linux system.
Using a cross-platform remote desktop software provides a versatile and user-friendly solution for remote access to Windows from Linux. These applications often offer additional features such as file transfer, remote printing, and multi-platform support.
Option 15: Set up a Virtual Network Computing over Secure Shell (VNC over SSH) connection
If you require a secure and encrypted remote desktop connection between your Linux and Windows systems, setting up a Virtual Network Computing over Secure Shell (VNC over SSH) connection can be an effective solution.
To use this method, you will need to enable SSH on both the Linux and Windows systems. On the Windows computer, you will also need to install a VNC server software, such as TightVNC or RealVNC.
Once SSH and the VNC server are set up, you can establish an SSH tunnel between the Linux and Windows systems. This will allow you to securely forward VNC traffic through the SSH connection.
On the Linux system, you will need to have a VNC client software, such as Remmina or TigerVNC, installed. Launch the VNC client application and configure it to connect to the local port that is forwarded through the SSH tunnel.
Using VNC over SSH provides a secure and encrypted method for remote desktop access. It ensures that your remote sessions are protected from unauthorized access and provides a seamless integration between Linux and Windows environments.
Option 16: Utilize a remote desktop software that supports the Remote Frame Buffer (RFB) protocol
If you prefer to use a remote desktop software that supports the Remote Frame Buffer (RFB) protocol, you can utilize applications such as TigerVNC or TurboVNC. These software packages provide a cross-platform solution for remote desktop access.
To use this method, you will need to install the remote desktop software on both the Linux and Windows systems. Once installed, you can launch the application on the Linux system and enter the IP address or hostname of the Windows computer to establish a connection.
Depending on the specific software, you may need to provide authentication credentials or configure additional settings to connect to the remote Windows computer. Once the connection is established, you will have full control over the Windows desktop environment from your Linux system.
Utilizing a remote desktop software that supports the RFB protocol provides a versatile and platform-independent solution for remote access to Windows from Linux. It allows for seamless integration between different operating systems and provides a familiar desktop experience.
Option 17: Set up a Windows Remote Desktop Services (RDS) environment
If you require a centralized and scalable solution for remote desktop access to Windows computers from your Linux system, setting up a Windows Remote Desktop Services (RDS) environment can be an ideal choice.
To use this method, you will need to set up an RDS environment on a Windows Server machine and configure it to accept incoming connections. Once the RDS environment is set up, you can use an RDP client software on the Linux system to connect to the RDS server.
When establishing the RDP connection, specify the IP address or hostname of the RDS server and provide the appropriate login credentials. The RDP client software will establish a connection with the RDS server, which will then forward the connection to the desired Windows computer.
Setting up an RDS environment provides a centralized and scalable method for remote desktop access to multiple Windows computers. It allows for efficient management and control of remote sessions, making it an ideal choice for enterprise environments.
Option 18: Use a web-based remote desktop software
If you prefer to access the Windows computer remotely from a web browser on your Linux system, using a web-based remote desktop software can be a suitable option. Examples of such software include AnyDesk Web, Guacamole, and TeamViewer Web.
To use this method, you will need to set up a server accessible from both the Linux and Windows systems and install the web-based remote desktop software on the server. Once installed, you can access the software through a web browser on the Linux system.
Using the web-based remote desktop software, you can enter the IP address or hostname of the Windows computer and provide the appropriate login credentials. The software will establish a remote desktop session with the Windows machine, which can be accessed and controlled through the web browser on the Linux system.
Installing a web-based remote desktop software provides a convenient and platform-independent method for remote access to Windows from Linux. It eliminates the need for installing client software on the Linux system and allows for easy access through a web browser.
Option 19: Set up a Windows PowerShell Web Access (PSWA) server
If you prefer to manage the Windows computer remotely using PowerShell commands from your Linux system, setting up a Windows PowerShell Web Access (PSWA) server can be an effective method.
To use this method, you will need to set up a PSWA server on a Windows computer and configure it to allow remote connections. Once the PSWA server is set up, you can use a web browser on the Linux system to establish a remote session with the Windows system.
Launch a web browser on the Linux system and enter the URL of the PSWA server. Provide the appropriate login credentials, and the web-based interface will establish a remote PowerShell session with the Windows computer.
Using PSWA for remote desktop access provides a powerful and scriptable method to manage a Windows computer from a Linux system. It allows for seamless integration with PowerShell commands and provides extensive control over the remote machine.
Option 20: Utilize a remote desktop software that supports the Independent Computing Architecture (ICA) protocol
If you require a remote desktop solution that supports both Linux and Windows systems, using a remote desktop software that supports the Independent Computing Architecture (ICA) protocol can be an ideal choice. Examples of such software include Citrix Workspace app and Citrix Virtual Apps and Desktops.
To use this method, you will need to install the remote desktop software on both the Linux and Windows systems. Once installed, you can launch the application on the Linux system and enter the remote computer’s ID or IP address to establish a connection.
Depending on the specific software, you may need to create an account or provide authentication credentials to connect to the remote Windows computer. Once the connection is established, you will have full control over the Windows desktop environment from your Linux system.
Using a remote desktop software that supports the ICA protocol provides a versatile and user-friendly solution for remote access to Windows from Linux. These applications often offer additional features such as file transfer, remote printing, and multi-platform support.
Conclusion
Remote desktop access from Linux to Windows is a valuable capability that allows users to work seamlessly across different operating systems. In this article, we have explored 20 different methods to achieve remote desktop access, ranging from using RDP client software to setting up a Windows RDS environment. Each method offers its own advantages and considerations, allowing you to choose the approach that best suits your needs.
Whether you prefer a graphical desktop experience, a command-line interface, or a web-based solution, there is a method available to establish a remote desktop connection from Linux to Windows. By following the step-by-step instructions provided for each method, you can easily set up and configure the necessary software and establish a remote connection to your Windows computer.
FAQs
1. Can I use remote desktop software to access a Windows computer from any Linux distribution?
Yes, most remote desktop software options mentioned in this article are compatible with various Linux distributions. However, it is always recommended to check the software’s documentation or system requirements to ensure compatibility with your specific Linux distribution.
2. Are there any security considerations when establishing a remote desktop connection from Linux to Windows?
Yes, security should be a top priority when establishing a remote desktop connection. It is recommended to use secure protocols such as SSH or VPN to encrypt the communication between the Linux and Windows systems. Additionally, always ensure that you have strong and unique passwords for authentication.
3. Can I access a Windows computer remotely from Linux without installing any additional software?
Yes, some methods mentioned in this article, such as using the X Window System or a web-based remote desktop software, allow you to access a Windows computer remotely without installing additional software on the Linux system. However, these methods may have specific requirements or limitations, so it is important to review the documentation of the chosen method for more details.
Введение
RDP (Remote Desktop Protocol) — это протокол, разработанный компанией Microsoft, который позволяет удаленно подключаться к компьютеру с Windows с другой машины. Это может быть полезно для оказания технической поддержки, доступа к файлам на удаленном компьютере или просто для работы на нем из удаленного места.
В этом руководстве мы расскажем, как подключиться к компьютеру с Windows с устройства Linux.
Предварительные условия
- Компьютер с Windows, настроенный для удаленного доступа RDP.
- Компьютер с Linux.
- Клиент RDP для Linux.
Настройка компьютера с Windows
- Разрешить удаленный доступ RDP:
- Откройте «Система» > «Удаленный доступ».
- В разделе «Удаленный доступ к этому компьютеру» поставьте флажок «Разрешить удаленные подключения к этому компьютеру».
- Нажмите «Применить» > «ОК».
Как можно открыть вкладку «Система»
Вам понадобится открыть » Панель управления»
Выбрать «Система безопасности»
Выбрать вкладку «Система»
2. Назначьте пользователей RDP:
-
- Откройте «Система» > «Свойства системы».
- На вкладке «Удаленный доступ» нажмите «Выбрать пользователей».
- Добавьте пользователей, которым вы хотите разрешить удаленный доступ, и нажмите «ОК».
Настройка компьютера с Linux
- Установите RDP-клиент:
- В зависимости от вашего дистрибутива Linux вам потребуется установить RDP-клиент.
- Ubuntu/Debian: Remmina, XRDP
- Fedora/CentOS: Remmina, xrdp
- Arch Linux: rdp, xfreerdp
- В зависимости от вашего дистрибутива Linux вам потребуется установить RDP-клиент.
- Запустите RDP-клиент:
- Найдите и запустите установленный вами RDP-клиент.
Подключение к компьютеру с Windows
- Введите IP-адрес или имя компьютера с Windows:
- В RDP-клиенте введите IP-адрес или имя компьютера с Windows, к которому хотите подключиться.
- Введите имя пользователя и пароль:
- Введите имя пользователя и пароль учетной записи Windows, имеющей разрешение на RDP-доступ.
- Нажмите «Подключиться»:
- Нажмите кнопку «Подключиться», чтобы начать RDP-сеанс.
Дополнительные сведения
- Настройка параметров RDP:
- Большинство RDP-клиентов позволяют настраивать различные параметры подключения, такие как разрешение экрана, качество изображения и т. д.
- Использование перенаправления устройств:
- RDP позволяет перенаправлять локальные устройства, такие как принтеры и диски, на удаленный компьютер.
- Решение проблем с RDP:
- Если у вас возникли проблемы с подключением к компьютеру с Windows по RDP, ознакомьтесь с разделом устранения неполадок в документации вашего RDP-клиента.
2.2. Настройка файерволла в ЕСУ
Примечание!
Опасно держать открытым RDP в Интернет, на долгий промежуток времени.
Риски
Чем вы рискуете открывая порт RDP?
1) Неавторизованный доступ к чувствительным данным
Если кто-то подберёт пароль к RDP, то он сможет получить данные, которые вы хотите держать приватными: состояние счетов, балансы, данные клиентов, …
2) Потеря данных
Например в результате работы вируса-шифровальщика.
Или целенаправленного действия злоумышленника.
3) Потеря рабочей станции
Работникам нужно работать, а система — скомпрометирована, нужно переустанавливать / восстанавливать / конфигурировать.
4) Компрометация локальной сети
Если злоумышленник получил доступ к Windows-компьютеру, то уже с этого компьютера он сможет иметь доступ к системам, которые недоступны извне, из Интернета. Например к файл-шарам, к сетевым принтерам и т.д.
и еще многие другие риски вас могут ожидать!
Дополнительные сведение:
Можно установить на вашу ВМ, П/О IPban, оно поможет сократить не желательные подключение.
https://github.com/digitalruby/ipban
Так же рекомендация переименовать пользователя- Administrator в другое имя, т.к нельзя его удалить, если он у вас оставлен и существует. Это упрощает задачу для злоумышленников: вместо подбора имени и пароля нужно только подобрать пароль.
Ссылки
- Настройка удаленного доступа к компьютеру в Windows: https://learn.microsoft.com/ru-ru/windows-server/remote/remote-desktop-services/clients/remote-desktop-allow-access
- Подключение к удаленному рабочему столу в Windows с помощью клиента RDP: https://learn.microsoft.com/ru-ru/windows-server/remote/remote-desktop-services/clients/windows