使用 xRDP 访问 Azure 虚拟机 (Ubuntu 14.04LTS)

Accessing Azure Virtual Machine (Ubuntu 14.04LTS) using xRDP

昨天,我从我的 Azure 仪表板(我正在使用分类 Azure 仪表板)设置了一个新的 Ubuntu 密码框(经典 VM)。

我可以使用 Putty 登录(这意味着凭据有效)。

为了远程访问这台机器(已经为远程桌面设置了 CDN),我按照提到的步骤 (https://azure.microsoft.com/en-in/documentation/articles/virtual-machines-linux-classic-remote-desktop/) 设置了 xRDP - 请注意我正在尝试从 Windows8 访问这个框.1 台机器。

似乎都安装成功了。尝试远程进入 Ubuntu VM:

时收到错误
  1. 解雇 运行 -> mstsc.exe(输入 hostname/IP 和凭据)

  2. 输入的凭据

  3. 进程抛出了一些错误消息

即使尝试了所有故障排除步骤,它仍无法正常工作:https://azure.microsoft.com/en-in/documentation/articles/virtual-machines-linux-troubleshoot-ssh-connection/

安装 xfce4

sudo apt-get install xfce4

对我来说一直很好!

我在开始时遵循了这个指南: http://c-nergy.be/blog/?p=5305

您还可以查看此线程以获取提示: https://askubuntu.com/questions/449785/ubuntu-14-04-xrdp-grey

我再次重复这些步骤,它现在起作用了:

  • sudo apt-get 更新
  • sudo apt-get 安装 ubuntu-桌面
  • sudo apt-get 安装 xrdp
  • sudo systemctl 启动 xrdp
  • sudo systemctl 启用 xrdp
  • sudo apt-get install xfce4

现在执行 RDP (运行 mstsc.exe) - 输入主机名和密码