简体   繁体   English

如何在GUI中访问Amazon AMI ec2实例

[英]How to access Amazon AMI ec2 instance in GUI

I am having an Amazon Linux AMI 2013.03.1 (64 bit) ec2 instance, I am accessing it using putty by providing the ppk file and ip address. 我有一个Amazon Linux AMI 2013.03.1(64位)ec2实例,我通过提供ppk文件和ip地址使用腻子对其进行访问。 But it connects me to the terminal, is there any way I can access it with GUI ? 但是它将我连接到终端,是否可以通过GUI访问它?

Very brief answer. 非常简短的答案。 It is not amazon linux specific because I don't use it but should give you enough hints because it is Red Hat based AFAIK. 它不是特定于Amazon Linux的,因为我没有使用它,但是应该给您足够的提示,因为它是基于Red Hat的AFAIK。

Basically you need to install the GUI you want to use (xfce, gnome, kde, etc.) and vnc server. 基本上,您需要安装要使用的GUI(xfce,gnome,kde等)和vnc服务器。 try yum search vnc and yum search gnome to find out what packages do you need to install. 尝试yum search vncyum search gnome来找出您需要安装哪些软件包。

You then start vnc server on the machine. 然后,您在计算机上启动vnc服务器。 You do the above through command line console. 您可以通过命令行控制台执行上述操作。 If it works for you you may make VNC start with machine boot. 如果适合您,则可以使VNC从计算机引导启动。

I don't know which tutorial is good for putty port forwarding because not using windows but this looks promising to me: http://martybugs.net/smoothwall/puttyvnc.cgi 我不知道哪个教程适合腻子端口转发,因为不使用Windows,但这对我来说很有希望: http : //martybugs.net/smoothwall/puttyvnc.cgi

With linux (perhaps if you install cygwin on your windows that will be possible for you as well) one usually can start a remote vnc session with automatic port forwarding like: vncviewer -via <machine you try to connect> <screen number, usually :1> 使用linux(也许您也可以在Windows上安装cygwin)通常可以通过自动端口转发启动远程vnc会话,例如: vncviewer -via <machine you try to connect> <screen number, usually :1>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM