Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Jan 2010

    How do I get xrdp to work form windows to lubuntu

    How do I get xrdp to work form windows to lubuntu? I have it working from lubuntu to windows7. I just installed aptitude install xrdp but it will not go from windows 7 to lubuntu.

  2. #2
    Just Joined!
    Join Date
    Sep 2007
    Silver Spring, MD

    Gain access

    I think the first thing you want to do is to see if the service is running on the machine with the correct port

    service xrdp status # verifies if the daemon is running
    lsof -iTCP:3389 -P -s TCP:Listen # This lists if the port is available
    netstat -nltp | grep -i 3389 # Does the same
    If the ports are available, and you cannot get to the ports it is usually one of two things, the firewall is blocking the port or apparmor/Selinux is not allowing it because it does not recognize it as a valid application.

    Run this code

    iptables -L -n --line-numbers | more
    This lists the firewall rules, if you have INPUT chain in one of the rules, I would suggest adding a line item to open the port:

    iptables -I INPUT 1 -p tcp -m multiport --dport 3389 -m state --state NEW -s <ip subnet> -d <ip subnet> -j ACCEPT
    for example:
    iptables -I INPUT 1 -p tcp -m multiport --dport 3389 -m state --state NEW -s -d -j ACCEPT # keeps communication on the same subnet
    Let me know if this helps you.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts