I need to set up a Remote Desktop connection from Windows 8 to a Debian instance running on AWS. I've tried modifying the Ubuntu instructions from AWS , replacing the ubuntu-desktop with task-desktop. When I connect sesman tells me
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
There's nothing helpful in /var/log/auth.log or /var/log/xrdp-sesman.log.
What am I missing here?
It turns out the place to look was in ~/.xsession-errors, where it was complaining that it couldn't find xfce4-session. After looking at the Debian wiki it looks like the way to start xfce on Debian is to use startxfce4, not xfce4-session.
So the complete solution seems to be:
you should guis with this steps
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
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 and check my post facebook
https://www.facebook.com/photo.php?fbid=10218879958565053&set=a.1751108612582&type=3
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.