如何在EC2上安装Ubuntu桌面 [英] how do i setup ubuntu desktop in ec2

查看:283
本文介绍了如何在EC2上安装Ubuntu桌面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

已与Amazon EC2上打转转,到目前为止,我已经能够获得Ubuntu的桌面工作(一次),虽然它是一组随机从博客黑客 香港专业教育学院没有能够重现什么使工作

Been playing around with amazon ec2, so far I've been able to get ubuntu-desktop working (once) although it was a random set of hacks from blogs ive not been able to reproduce what made it work

我的设置 窗盒中/ - 腻子,NX-Nomachine, 亚马逊:Ubuntu的10.04明晰的AMI 当我启动NX我可以看到桌面浏览器内很好地渲染终端窗口,在一个纯黑色的背景。 previously我试过     须藤资质安装Ubuntu的桌面 但由于需要什么样的步骤来在我的图像查看我的新的桌面即时通讯不清。 当我尝试启动x - 我得到一个用户无权启动x-server..aborting 我也注意到类似的错误'xf860penconsole无法打开开发/ tty0的[没有这样的文件或目录]和 什么,这可能是什么想法?

my setup windows box w/- putty, NX-Nomachine, amazon:ubuntu 10.04 lucid ami when i launch NX i can see the nicely rendered terminal window inside the desktop viewer, on a plain black background. previously I had tried sudo aptitude install ubuntu-desktop but im unclear as to what steps are needed to view my new desktop within my image. when i try start x - i get a user not authorized to start x-server..aborting i've also noticed errors like 'xf860penconsole cannot open dev/tty0 [no such file or directory] ' and ' any thoughts about what this might be ?

推荐答案

我刚刚建立了Ubuntu的在Windows远程桌面。我在EC2上运行Ubuntu实例。我跟了这<一href="http://aws-musings.com/4-easy-steps-to-enable-remote-desktop-on-your-ubuntu-ec2-instance/">link.但对于快速安装让我给你执行的命令。执行此命令一个接一个。

I have just set up the remote desktop of Ubuntu on Windows. I have Ubuntu Instance running on EC2. I have followed this link. But for quick installation let me give you the commands to execute. Execute this commands one-by-one.

export DEBIAN_FRONTEND=noninteractive
sudo -E apt-get update
sudo -E apt-get install -y ubuntu-desktop
sudo add-apt-repository ppa:freenx-team
sudo apt-get update
sudo aptitude install -y freenx
wget https://bugs.launchpad.net/freenx-server/+bug/576359/+attachment/1378450/+files/nxsetup.tar.gz
tar -xvf nxsetup.tar.gz
sudo cp nxsetup /usr/lib/nx/nxsetup
sudo /usr/lib/nx/nxsetup --install 

说不密码

sudo vi /etc/ssh/sshd_config and set PasswordAuthentication to yes
sudo /etc/init.d/ssh restart

sudo passwd ubuntu

下载并安装安装NX客户端从这里各自的操作系统上

请注意:如果你的错误,如

Note: if you get error like

GPG:请求香港警方服务器密钥D018A4CE keyserver.ubuntu.com gpgkeys:HTTP提取错误7:无法连接到主机 GPG:没有有效的OpenPGP数据中找到。 GPG:总数处理:0

gpg: requesting key D018A4CE from hkp server keyserver.ubuntu.com gpgkeys: HTTP fetch error 7: couldn't connect to host gpg: no valid OpenPGP data found. gpg: Total number processed: 0

然后exeucte此命令

then exeucte this command

gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv F3A662B57D580D3A2E98E5152A8E3034D018A4CE | sudo apt-key add

这篇关于如何在EC2上安装Ubuntu桌面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆