You figured out why xrdp doesn’t work on Ubuntu, but not why it only listens on IPv6 or what changed – who tests this besides me?
OK after a lot of trial and tribulation (probably too much but I didn’t look into that because I knew xrpd worked)…
I understood that xrdp is only listed on port 3389 for TCP6 (IPv6).
I found an old issue related to this but I’m using a much newer version of ubuntu and a more up to date version of xrdp.
Just when I was quite happy that Ubuntu updates no longer try to force IPv6.
So now I have to try and figure out how to fix this…tomorrow.
I don’t want to have to rebuild xrdp from the source or something to fix this. That’s not what I should be working on right now.
It seems from the post above that the problem has something to do with changing Ubuntu and not xrdp. So, is this a change or a problem with Ubuntu? Because to my knowledge xrdp and the xfce4 hasn’t changed – but I received Ubuntu or AWS updates. I don’t know which one or both or what caused this.
I hope this doesn’t take me all day to solve tomorrow.
Update:
I disabled IPv6 on Ubuntu:
sudo vi /etc/default/grub#Change this line
GRUB_CMDLINE_LINUX="ipv6.disable=1"
sudo update-grub
#restart but on AWS don't recommend the method in that post.
#stop the instance in the EC2 console and start.
#I haven't had much succss with reboot from console - not sure it's doing anything.
Now I see something listed as IPv4.
This is great, but all I get now is a black screen.
I ran too.
sudo lsof | grep xrdp