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

时间:2016-06-12 06:21:45

标签: linux azure ssh ubuntu-14.04 remote-access

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

我可以使用Putty登录(这意味着凭据正在运行)。

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

所有似乎都已成功安装。尝试远程进入Ubuntu VM时收到错误:

  1. Fire Run - > mstsc.exe(输入主机名/ IP和凭证)

  2. 输入凭据 enter image description here

  3. 进程抛出了一些错误消息 enter image description here

  4. 即使在尝试所有问题排查步骤后,它仍无法正常工作:https://azure.microsoft.com/en-in/documentation/articles/virtual-machines-linux-troubleshoot-ssh-connection/

2 个答案:

答案 0 :(得分:0)

使用

安装xfce4
  

sudo apt-get install xfce4

对我来说一直很好!

当我开始时,我完成了本指南: http://c-nergy.be/blog/?p=5305

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

答案 1 :(得分:0)

我再次重复这些步骤并立即开始工作:

  • sudo apt-get update
  • sudo apt-get install ubuntu-desktop
  • sudo apt-get install xrdp
  • sudo systemctl start xrdp
  • sudo systemctl enable xrdp
  • sudo apt-get install xfce4

现在执行RDP(运行mstsc.exe) - 输入hostname和passowrd