一直玩亚马逊ec2,到目前为止,我已经能够得到Ubuntu的桌面工作(一次),虽然这是一个从博客黑客随机集我一直无法重现是什么让它的工作
我的设置窗口框瓦特/腻子,NX-Nomachine,亚马逊:Ubuntu的10.04清晰的艾米,当我启动NX我可以看到桌面查看器,在普通的黑色背景上很好地呈现terminal窗口。 以前我曾尝试sudo aptitude安装Ubuntu的桌面,但即时通讯不清楚到底需要什么步骤来查看我的图像在我的新桌面。 当我尝试启动x – 我得到一个用户没有授权启动x服务器..我也注意到错误,如'xf860penconsole无法打开dev / tty0 [没有这样的文件或目录]'和'有什么想法这可能是吗?
我刚刚在Windows上设置了Ubuntu的远程桌面。 我有EC2上运行的Ubuntu实例。 我跟着这个链接 。 但是为了快速安装,让我给你执行的命令。 逐个执行这个命令。
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客户端
注意:如果你得到错误
gpg:从hkp服务器请求密钥D018A4CE keyserver.ubuntu.com gpgkeys:HTTP提取错误7:无法连接到主机gpg:找不到有效的OpenPGP数据。 gpg:处理总数:0
然后执行这个命令
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
我正在使用12.04,并发现需要一个额外的线路
sudo apt-get install gnome-session-fallback
有点晚了,但作为别人的参考。
更详细的安装: http : //michaelhallsmoore.com/blog/Desktop-Ubuntu-in-Amazon-EC2-The-Right-Way
只是基本步骤: http : //aws-musings.com/4-easy-steps-to-enable-remote-desktop-on-your-ubuntu-ec2-instance/
这两个使用FreeNX服务器。
我在Oneiric Ocelot上得到了更好的结果,使用了Anand Soni的答案 (我投了赞成票,希望你也会)。 阿南德可能更适合精确的前进。
export DEBIAN_FRONTEND=noninteractive sudo -E apt-get update sudo -E apt-get install -y ubuntu-desktop wget http://64.34.173.142/download/3.5.0/Linux/nxclient_3.5.0-7_i386.deb wget http://64.34.173.142/download/3.5.0/Linux/nxnode_3.5.0-9_i386.deb wget http://64.34.173.142/download/3.5.0/Linux/FE/nxserver_3.5.0-11_i386.deb sudo dpkg -i nxclient_3.5.0-7_i386.deb sudo dpkg -i nxnode_3.5.0-9_i386.deb sudo dpkg -i nxserver_3.5.0-11_i386.deb sudo /usr/NX/bin/nxserver --status sudo sed -i 's/PasswordAuthentication\ no/PasswordAuthentication\ yes/g' /etc/ssh/sshd_config sudo service ssh restart sudo passwd ubuntu
请注意,从NoMachine下载了NX免费版的i386和amd64版本。 检查他们的下载页面的wget命令的正确链接,并在上面的中间部分解压缩步骤。