我正在使用AWS服务,我可以使用“远程桌面工具”轻松访问Windows实例,但为了访问Ubuntu实例,我通常使用终端。
有什么方法可以图形化的访问Ubuntu实例吗?
发布于 2015-09-10 07:31:17
正如评论中所指出的,X11 forwarding from Amazon EC2 AMI是解决方案的一部分。要让多个程序协同工作(作为桌面),您可能还需要研究VNC:
(当然,您可以在VNC中使用X转发)
发布于 2021-01-09 02:20:18
步骤1:使用PuTTY打开ec2 Ubuntu终端。有关如何使用PuTTY https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html从Windows连接Linux实例的更多详细信息,请参阅
Step2:在PuTTY Ubuntu终端上逐步执行以下命令
sudo apt update安装xrdp以允许RDP连接:
sudo apt install ubuntu-desktop
sudo apt install xrdp为ubuntu用户设置密码:
sudo passwd ubuntu第3步:
Go to AWS console
Click on instance(running)
Select your running Ubuntu instance
Go to Security
Click on Security Groups
Click on Edit inbound rules
In type drop down select RDP
It by default select port 3389
In Source add 0.0.0.0/0 IP
Click on Save rules第4步:
Open Remote Desktop Connection on windows machine
Enter Computer: Public IP of ubuntu ec2 and add username:your_user_name
click on connect will open up GUI version of Ubuntu (linux), It ask for password please enter the set password.https://stackoverflow.com/questions/32487039
复制相似问题