Open your local remote desktop client and connect to the IP address or DNS name of your Linux VM. In the “Computer” field, enter the remote server IP address and click “Connect”. Si es asÃ, omita el paso siguiente acerca de cómo crear una regla de grupo de seguridad de red para permitir el tráfico de escritorio remoto.If so, skip the following step on creating a network security group rule to allow remote desktop traffic. We’ll be installing Xfce As Windows-to-Windows Remote Desktop can, xrdp supports not only graphics remoting but also. One of the various ways to use remote graphical desktop environment sessions with Linux is to use the Remote Desktop Protocol (RDP). Sign up to our newsletter and get our latest tutorials and news straight to your mailbox. Microsoft Windows natively supports RDP: it acts as a Remote Desktop server and comes with a Remote Desktop client. Let me know if you have any problems with the installation and I will test it since it is actually an easy remote access setup for a change on Linux. También puede mirar soluciones alternativas de RDP que admitan la autenticación, como, You can also look at alternative RDP solutions that do support NLA, such as, Si no se puede conectar a la máquina virtual Linux con un cliente de escritorio remoto, use, If you cannot connect to your Linux VM using a Remote Desktop client, use. You can verify it by typing: The output will look something like this: By default Xrdp uses the /etc/ssl/private/ssl-cert-snakeoil.key file that is readable only by members of the “ssl-cert” group.
Para obtener más información sobre cómo crear y utilizar claves de SSH con máquinas virtuales Linux, consulte, For more information about creating and using SSH keys with Linux VMs, see, Para obtener información sobre el uso de SSH de Windows, vea, For information on using SSH from Windows, see, usar Azure Portal para crear una regla de grupos de seguridad de red, use the Azure portal to create a network security group rule, Solucionar problemas de conectividad de la aplicación, Troubleshoot application connectivity issues, Crear claves SSH para máquinas virtuales de Linux en Azure. Remote connections can be established from your favorite browser or a desktop plugin, regardless of the remote computer’s network. En la CLI de Azure, no en la sesión de SSH de la máquina virtual, abra la siguiente regla de grupo de seguridad de red: From the Azure CLI, not the SSH session to your VM, open the following network security group rule: Conectar la máquina virtual Linux con un cliente de escritorio remoto, Connect your Linux VM with a Remote Desktop client. If so, skip the following step on creating a network security group rule to allow remote desktop traffic. Crear una regla de grupo de seguridad de red para el tráfico de escritorio remoto, Create a Network Security Group rule for Remote Desktop traffic. XRDP is a remote desktop server for Linux based on the Remote Desktop Protocol (RDP), the same protocol used by the Windows app Remote Desktop Connection and the RDP clients for Linux that we saw in the previous post. However, RDP might be the best solution, even on Linux machines, if your organization is primarily a Microsoft shop. Conclusion # Installing an Xrdp server allows you to manage your Ubuntu 18.04 server from your local desktop machine through an easy to use graphic interface. En el ejemplo siguiente se crea una regla de grupo de seguridad de red con az vm open-port en el puerto 3389.The following example creates a network security group rule with az vm open-port on port 3389. However, RDP might be the best solution, even on Linux machines, if your organization is primarily a Microsoft shop. Now that you have set up your Xrdp server, it is time to open your Xrdp client and connect to the server. In January of 2019, TU/e system administrators saw a huge increase in automated attempts to guess the passwords of valid TUE accounts through RDP. En este artÃculo se detalla cómo instalar y configurar un entorno de escritorio (xfce) y el escritorio remoto (xrdp) para la máquina virtual Linux con el modelo de implementación de Resource Manager.This article details how to install and configure a desktop environment (xfce) and remote desktop (xrdp) for your Linux VM using the Resource Manager deployment model. Underneath, xrdp uses a VNC server.
To allow access to the Xrdp server from a specific IP address or IP range, in this example 192.168.1.0/24, run the following command: If you want to allow access from anywhere (which is highly discouraged for security reasons) run: For increased security, you may consider setting up Xrdp to listen only on localhost and creating an SSH tunnel By default, the RDP protocol uses TCP port 3389. It can be configured to automatically close the session when the user disconnects. If your local RDP client uses network level authentication (NLA), you may need to disable that connection setting. Since then NoMachine has developed its technology to cover all the leading server, desktop and mobile operating systems, so much it now runs on Windows, Mac, Linux, iOS, Android and Raspberry with the same incredible ease and performance. If you have questions, feel free to leave a comment below. Microsoft provides a registry hack to change the default port used by Windows. Para obtener más información acerca de las reglas de grupos de seguridad de red, consulte, For more information about network security group rules, see, En el ejemplo siguiente se crea una regla de grupo de seguridad de red con, The following example creates a network security group rule with. Según la elección del entorno de escritorio, se puede utilizar de 1 a 2 GB de espacio en disco y tardar de 5 a 10 minutos en instalar y configurar todos los paquetes necesarios.Depending on your choice of desktop environment, it may consume one to 2 GB of disk space, and take 5 to 10 minutes to install and configure all the required packages. xrdp es un servidor de protocolo de escritorio remoto (RDP) de código abierto que está disponible en la mayorÃa de las distribuciones de Linux y funciona bien con xfce.xrdp is an open source Remote Desktop Protocol (RDP) server that is available on most Linux distributions, and works well with xfce.
: Restart the Xrdp service for changes to take effect: That’s it. En el ejemplo siguiente se instala el entorno de escritorio xfce4 ligero en una máquina virtual de Ubuntu 18.04 LTS.The following example installs the lightweight xfce4 desktop environment on an Ubuntu 18.04 LTS VM. The main configuration file is named xrdp.ini Xrdp is now supporting TLS security layer. With RDP, you can log in to the remote machine and create a real desktop session the same as if you had logged in to a local machine. In this tutorial, we'll see how to get RDP support in Linux. Now that you have a desktop environment installed, configure a remote desktop service to listen for incoming connections. Si no se puede conectar a la máquina virtual Linux con un cliente de escritorio remoto, use netstat en la máquina virtual Linux para comprobar que la máquina virtual escucha las conexiones RDP de la siguiente forma:If you cannot connect to your Linux VM using a Remote Desktop client, use netstat on your Linux VM to verify that your VM is listening for RDP connections as follows: En el ejemplo siguiente se muestran las escuchas de la máquina virtual en el puerto TCP 3389 según lo esperado:The following example shows the VM listening on TCP port 3389 as expected: Si el servicio xrdp-sesman no está escuchando, en una máquina virtual Ubuntu, reinicie el servicio como se indica a continuación:If the xrdp-sesman service is not listening, on an Ubuntu VM restart the service as follows: Revise los registros en /var/log en la máquina virtual Ubuntu para obtener indicaciones sobre el motivo por el que puede que el servicio no responda.Review logs in /var/log on your Ubuntu VM for indications as to why the service may not be responding. To allow Remote Desktop traffic to reach your Linux VM, a network security group rule needs to be created that allows TCP on port 3389 to reach your VM.
It displays a new X window instance using Xvnc or X11rdp.
Linux is a remarkably flexible operating system. Xrdp uses the default X Window desktop, which in this case, is XFCE.eval(ez_write_tag([[728,90],'linuxize_com-medrectangle-4','ezslot_6',160,'0','0'])); The main configuration file is named xrdp.ini Vinagre is another remote desktop client for Linux with lots of compelling features for … This allows you to access your graphical Linux desktop environment remotely, but it does not support any of the more advanced RDP features.
Para permitir que el tráfico de escritorio remoto llegue a la máquina virtual Linux, tiene que crearse una regla del grupo de seguridad de red que permita que el TCP del puerto 3389 llegue a la máquina virtual.To allow Remote Desktop traffic to reach your Linux VM, a network security group rule needs to be created that allows TCP on port 3389 to reach your VM. If you run the desktop version of Ubuntu, skip this step. As Windows-to-Windows Remote Desktop can, xrdp supports not only graphics remoting but also
Si ha creado una contraseña para su cuenta de usuario cuando se creó la máquina virtual, omita este paso. Los comandos para otras distribuciones varÃan ligeramente (use yum para realizar la instalación en Red Hat Enterprise Linux y configurar las reglas de selinux adecuadas o use zypper para realizar la instalación en SUSE, por ejemplo).Commands for other distributions vary slightly (use yum to install on Red Hat Enterprise Linux and configure appropriate selinux rules, or use zypper to install on SUSE, for example). If you are using macOS, you can install the Microsoft Remote Desktop application from the Mac App Store.
Las máquinas virtuales de Linux (VM) en Azure normalmente se administran desde la lÃnea de comandos mediante una conexión de shell seguro (SSH).Linux virtual machines (VMs) in Azure are usually managed from the command line using a secure shell (SSH) connection. Another option is to install Xfce