See the Security and Bug Fixes Section - Grub EFI Install Updates Fix Sticky


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I get Xrdp working?
#5
Well I don't know what I was doing wrong - first I was getting windows with:

Here's what ultimately worked for me:
  1. Use "Install/Remove Software" (aka Synaptic Package Manager) to find and install xrdp.  (Don't forget to click the Apply button!)
  2. Start the service by running the following in a terminal window: sudo service xrdp restart
  3. Allow incoming connections through the firewall (via "sudo ufw allow 3389/tcp" in terminal or Settings -> Firewall Configuration -> Simple (tab), Set... Name: Xrdp, Protocol: TCP, Port: 3389, click "+ Add" then "Close")
  4. Know your IP address (this can be found via "ifconfig" in the terminal or right-clicking on the network icon near the clock and selecting "Connection Information")
  5. From your Windows box run Remote Desktop Connection (aka mstsc.exe)
  6. If you get a "Login to <your machine>" window select, Enter Session: Xorg, <username>, <password>, and click "OK" (if you don't get that window, review previous steps)
  7. If you get connected, you're done! If your RDP window unceremoniously closes, make sure you're not logged in (connected is OK, but "switch users" is NOT) to your Linux session somewhere else and try connecting again.
  8. Reboot your Linux box and make sure you can still connect (in other words, test that xrdp is running as a boot service)
Notes:
  • You can only be logged in from one place at a time.  If you close your remote connection without logging out, then you will not be able to log in any *other* way until you log out or reboot.
  • If you want to change the default port away from 3389, change  "port" in /etc/xrdp/xrdp.ini (via "sudo nano /etc/xrdp/xrdp.ini" or text editor as administrator), restart the service (see step 2), and update your firewall to the new port.  (Or to be safe, add the new port to a new firewall rule then remove the old rule after new port tests are complete.)
For SEO purposes, here are some of the errors I ran into when testing various stuff:With session xrdp I was getting windows with:
Quote:connecting to sesman ip 127.0.0.1 port 3350
sesman connect ok
sending login info to session manager, please wait...
login successful for display 10
started connecting
connection problem, giving up
some problem
With session x11vnc I was getting windows with:
Quote:connecting to sesman ip 127.0.0.1 port 3350
sesman connect oksending login info to session manager, please wait...
login successful for display 10
VNC started connecting
VNC connecting to 127.0.0.1 5910
VNC error - problem connecting 
some problem
Reply


Messages In This Thread
How do I get Xrdp working? - by JonMikelV - 09-19-2018, 10:00 PM
Re: How do I get Xrdp working? - by trinidad - 09-19-2018, 10:23 PM
Re: How do I get Xrdp working? - by JonMikelV - 09-20-2018, 09:26 PM
Re: How do I get Xrdp working? - by JonMikelV - 09-25-2018, 02:05 PM
Re: How do I get Xrdp working? - by JonMikelV - 10-02-2018, 07:55 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)