Earlier when configuring XRDP I could not find out how to make XRDP only listen to 127.0.0.1 or localhost. Finally after playing around with multiple variables I thought it might be I picked the right one. Below is an example of my xrdp.ini before modifying the listen address and after modifying the listen address.
XRDP Default Example xrdp.ini Config File:
- [globals]
- bitmap_cache=yes
- bitmap_compression=yes
- port=3389
- crypt_level=high
- channel_code=1
- [xrdp1]
- name=sesman-Xvnc
- lib=libvnc.so
- username=ask
- password=ask
- ip=127.0.0.1
- port=-1
XRDP Example xrdp.ini Config File With Listen Address:
- [globals]
- bitmap_cache=yes
- bitmap_compression=yes
- address=127.0.0.1
- port=3389
- crypt_level=high
- channel_code=1
- [xrdp1]
- name=sesman-Xvnc
- lib=libvnc.so
- username=ask
- password=ask
- ip=127.0.0.1
- port=-1
Notice how “address” was added as a variable underneath the globals section of the configuration file.