AWS上从Windows到Debian的远程桌面?

问题描述 投票:0回答:2

我需要设置从Windows 8到AWS上运行的Debian实例的远程桌面连接。我已经尝试修改Ubuntu指令from AWS,用task-desktop替换ubuntu-desktop。当我连接塞斯曼告诉我

connecting to sesman ip 127.0.0.1 port 3350
sesman connect ok
sending login info to session manager, please wait ...
xrdp_mm_process_login_response: login successful for display ..
started connecting
connecting to 127.0.0.1 5910
error - problem connecting

/var/log/auth.log或/var/log/xrdp-sesman.log中没有任何帮助。

我在这里错过了什么?

linux amazon-web-services amazon-ec2 debian
2个回答
0
投票

原来看起来是〜/ .xsession-errors的地方,它抱怨它无法找到xfce4-session。在查看at the Debian wiki后,看起来在Debian上启动xfce的方法是使用startxfce4,而不是xfce4-session。

所以完整的解决方案似乎是:

  1. 从AWS at the AWS website提供的模板开始
  2. 请参阅Debian的默认用户('admin')而不是Ubuntu的默认用户('ubuntu')
  3. 使用一些替代桌面;我在这里使用的是task-desktop而不是ubuntu-desktop
  4. 在.xsession中使用startxfce4而不是xfce4-session

0
投票

你应该采取这一步骤

  1. sudo apt update && apt upgrade sudo sed -i 's/^PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config sudo /etc/init.d/ssh restart sudo passwd ubuntu sudo apt install xrdp xfce4 xfce4.goodies tightvncserver echo xfce4.session> /home/ubuntu/.xsession sudo cp /home/ubuntu/.xsession /etc/skel sudo sed -i'0,/ - 1 / s // ask-1'/ etc / xrdp / xrdp.ini` changes coincdencias sudo sed -i '0,/-1/s//ask-1/' /etc/xrdp/xrdp.ini sudo service xrdp restart sudo sed -i '0,/ask-1/s//-1/' /etc/xrdp/xrdp.ini

check example image here并查看我的帖子facebook

https://www.facebook.com/photo.php?fbid=10218879958565053&set=a.1751108612582&type=3

© www.soinside.com 2019 - 2024. All rights reserved.