aws的Linux云主机配置vnc实现RDP连接

您好!

很高兴与您在电话上进行交流,下面我们把交流的内容进行总结如下。

 

问题描述:

由于我们要在linux os 中做makefile编译研发,对比与windows图形界面,所以需要若干linux的图形界面的os

Redhat Linux的图形界面就可以

 

后续步骤:

我们进行了测试,请按以下方法 开启红帽系统的 图形界面

 

启动新机器 搜索公开镜像,找到这个AMI

RHEL-6.9_HVM-20170613-x86_64-3-Hourly2-GP2 (ami-0ed90863)

 

登录机器后 sudo su - 切换到root 然后执行下面的操作步骤

 

1. 安装必要的包

# yum -y groupinstall "X Window System" "Desktop" "General Purpose Desktop"

# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

# yum -y install xrdp tigervnc-server

 

2.修改vnc配置 末尾添加

# vi /etc/sysconfig/vncservers

VNCSERVERS="3:root"

 

3. 配置密码  两个命令分别都要设密码 设一样的

# vncpasswd

# passwd

 

4.启动服务

chkconfig vncserver on

chkconfig xrdp on

chkconfig iptables off

service vncserver start

service xrdp start

iptables -F

 

5.用windows远程桌面连接 用户名root 密码就是配置的密码

 

配置完成

 

如果您还需要进一步的帮助,可以随时回复案例与我们取得联系。

期待您的回复,谢谢!

 

此致 (Best Regards),

 

Tianhao

 

要就此案例再次联系我们,请使用以下 URL 返回 AWS 支持中心:

To contact us again about this case, please return to the AWS Support Center using the following URL:

 

https://support.amazonaws.cn/support/case?caseId=1382011444&language=zh

 

*请注意: 此电子邮件是从无法接收电子邮件的地址发送的。如果您需要就相同的问题再次联系我们,请使用上述链接。

*Please note: this e-mail was sent from an address that cannot accept incoming e-mail. Please use the link above if you need to contact us again about this same issue.

 

AWS(中国)北京区域由 亚马逊通技术服务(北京)有限公司授权北京光环新网科技股份有限公司运营。亚马逊通技术服务(北京)有限公司是Amazon Web Services, Inc.的关联公司。

本消息由北京光环新网科技股份有限公司制作分发。

 

AWS China (Beijing) Region is operated by Beijing Sinnet Technology Co., Ltd. under the authorization of Amazon Connect Technology Services (Beijing) Co., Ltd., an affiliate of Amazon Web Services, Inc.

This message is produced and distributed by Beijing Sinnet Technology Co., Ltd.

 

---- Original message ----

 

您好:由于我们要在linux os 中做makefile编译研发,对比与windows图形界面,所以需要若干linux的图形界面的os

猜你喜欢

转载自blog.csdn.net/qq_39579242/article/details/81775945