Cannot RDP to Amazon EC2 instance(windows server)

2019-08-27 10:43发布

After launching windows 2016, Amazon EC2 instance,

I received ec2-18-221-95-56.us-east-2.compute.amazonaws.com.rdp file to connect to windows instance.

From my ubuntu laptop, Clicking the .rdp file, I receive this below message after providing password:

You requested an H264 GFX mode for server ec2-18-221-95-56.us-east-2.compute.amazonaws.com, but your libfreerdp does not support H264. Please check Color Depth Settings.

Ubuntu bionic laptop:

$ uname -a
Linux machine 4.15.0-34-generic #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Ran below commands, to resolve this problem(no luck):

sudo apt-add-repository ppa:remmina-ppa-team/remmina-next
sudo apt-get update
sudo apt-get install remmina remmina-plugin-rdp libfreerdp-plugins-standard

How to resolve this issue?

1条回答
在下西门庆
2楼-- · 2019-08-27 10:53

I haven't tried connecting to a Windows machine using a Linux OS using RDP, but I found something related to your issue that could help. It seems that by changing the color depth setting, should be enough to connect. I was reading this blog and it seems that this could be a solution.

Procedure for the workaround:

  • Click the little + in the upper-left corner of the window. It is a bit hard to see; the color scheme seems to be dark grey on grey.
  • From here, choose a different color depth setting
  • Click Save as Default, or enter other settings and click Save.

This was found by an user called Ian in that respective blog.

Update

In order to connect to your Windows VM, you need to right click on the instance, a choose connect. There you will find your public DNS, which you can use to connect to that machine. You will see the following dialog.

enter image description here

If you want your public IP, on your instance administration window, select the instance, and under description in the below menu, you will see it.

enter image description here

查看更多
登录 后发表回答