ryan209
April 23rd, 2016, 01:14 AM
I have set up xrdp on my ubuntu server 15.10, with mate desktop environment and it all works fine and dandy. Except for when I enable UFW. I have the following ports allowed all tcp
2222 (ssh)
3389 (what I believe is for xrdp)
5910 (because xrdp kept trying to use that port, don't know if I need that open)
now if I disable ufw, then login to the remote desktop, then close it, and re enable ufw, I can then re open the remote desktop. Once I reboot the server though I find myself in the same predicament.
/etc/xrdp/xrdp.ini[globals]
bitmap_cache=yes
bitmap_compression=yes
port=3389
crypt_level=high
channel_code=1
max_bpp=24
[xrdp1]
name=sesman-Xvnc
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=ask5910
I have set the port to ask5910 although I would like to set it to just a specific port.
I have searched everywhere, and all I can find is allow ssh and 3389/tcp through ufw, and I have done that. So what am I doing wrong? Is there anyway I can use xrdp as soon as my system boots without having to disable my firewall?
2222 (ssh)
3389 (what I believe is for xrdp)
5910 (because xrdp kept trying to use that port, don't know if I need that open)
now if I disable ufw, then login to the remote desktop, then close it, and re enable ufw, I can then re open the remote desktop. Once I reboot the server though I find myself in the same predicament.
/etc/xrdp/xrdp.ini[globals]
bitmap_cache=yes
bitmap_compression=yes
port=3389
crypt_level=high
channel_code=1
max_bpp=24
[xrdp1]
name=sesman-Xvnc
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=ask5910
I have set the port to ask5910 although I would like to set it to just a specific port.
I have searched everywhere, and all I can find is allow ssh and 3389/tcp through ufw, and I have done that. So what am I doing wrong? Is there anyway I can use xrdp as soon as my system boots without having to disable my firewall?