Reputation: 714
My OS is ubuntu 18.04.5。Xrdp is 0.9.5
it@it51:~$ sudo netstat -ptan | grep xrdp
tcp6 0 0 ::1:3350 :::* LISTEN 4576/xrdp-sesman
tcp6 0 0 :::3389 :::* LISTEN 4587/xrdp
it@it51:~$ xrdp -v
xrdp: A Remote Desktop Protocol server.
Copyright (C) Jay Sorg 2004-2014
See http://www.xrdp.org for more information.
Version 0.9.5
Xrdp 0.9.5 only bind ipv6,Can it be bound to ipv4? If so, how should I configure it?
Upvotes: 5
Views: 8240
Reputation: 3343
Use port=tcp://:3389
I managed to get IPv4 port listening on Ubuntu 20.04 with these steps:
sudo nano /etc/xrdp/xrdp.ini
port=3389
to port=tcp://:3389
& save,exitsudo systemctl restart xrdp
I had setup xrdp with the xrdp-installer from c-nergy.be
Upvotes: 9