-
Configure the Amazon Linux 2 MATE desktop connection - Amazon Elastic Compute Cloud
- Follow these steps to set up a Remote Desktop Protocol (RDP) connection from your local machine to an Amazon Linux 2 instance running the MATE desktop environment.
- Reconnect to the instance and run the following command on your Linux instance to set the password for
ec2-user.
-
-
-
First, start the
xrdpservice. You should be able to connect an RDP client to the host on the default RDP port (3389). If successful, you will be greeted with the xrdp session manager window which allows you to choose between Xorg or Xvnc sessions and provides inputs for user authentication. The session manager UI can be highly customized by modifying/etc/xrdp/xrdp.ini.The parameters used to start Xorg and Xvnc display servers can be configured in
/etc/xrdp/sesman.ini.After successfully starting a display server, xrdp will execute
/etc/xrdp/startwm.shby default. This script is meant to start a window manager (similar to .xinitrc) and will read from~/.xinitrcor/etc/X11/xinit/xinitrcif they exist. It is recommended to edit~/.xinitrcto start your desktop environment or window manager, but you can also edit/etc/xrdp/startwm.sh.If you just close the session window and RDP connection, you can access the same session again next time you connect with RDP. When you exit the window manager or desktop environment from the session window, the session will close and a new session will be opened the next time.
-
-
Provider Requirements - Configuration Language | Terraform | HashiCorp Developer
- The
required_providersblock must be nested inside the top-levelterraformblock (which can also contain other settings). - Each module should at least declare the minimum provider version it is known to work with, using the
>=version constraint syntax:
-
-
Use xrdp with Linux - Azure Virtual Machines | Microsoft Learn
- If you created a password for your user account when you created your VM, skip this step. If you only use SSH key authentication and don't have a local account password set, specify a password before you use xrdp to log in to your VM. xrdp can't accept SSH keys for authentication. The following example specifies a password for the user account azureuser:
- Specifying a password does not update your SSHD configuration to permit password logins if it currently does not. From a security perspective, you may wish to connect to your VM with an SSH tunnel using key-based authentication and then connect to xrdp.
-
diigo.to.shak.blogspot.dailiy. 03/31/2024
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment