• 0 Posts
  • 130 Comments
Joined 3 years ago
cake
Cake day: June 13th, 2023

help-circle
  • I’m on Debian but have been using GNOME with its built-in RDP server since it’s Wayland compatible… But before I did that I had also set up XRDP so here’s a few ideas :)

    I just installed Debian with XFCE. I installed XRDP but for the life of me I cannot get it working.

    Are you using XFCE with Wayland or X11? XRDP currently only works with X11. Make sure the user you are using to RDP with is able to log in normally with XFCE + X11 before attempting RDP.

    Also RDP logins only work with Linux users that are not currently logged in at the desktop so make sure you’re logged out before testing.

    Also double-check that the xrdp.ini file looks right, particularly the incoming port it is configured to use. (on Debian it is in /etc/xrdp/xrdp.ini). When I initially configured XRDP the port setting was strangely configured, it was set with port=vsock if I remember correctly and that wasn’t working… I had to change it to a regular port number. Also consider changing the port number if necessary, I had to change mine but only because Gnome’s own RDP server was already using the default port 3389. (if you change xrdp.ini settings make sure to restart the xrdp service)

    Also double-check that the XRDP service is active and running (sudo systemctl status xrdp) - on my end the service would stop running when the port number config was wrong which meant it was no longer listening to incoming connections.


  • You don’t need to but #1 could be a bit easier if you prefer multiple torrent clients/instances for organization. qBittorrent / Deluge can run multiple instances so you could have like qBittorrent “A” instance pointing to your internal SSD and qBittorrent “B” instance pointing to your external HDD. That’s just a quick example but I’m sure Transmission and other torrent clients can do the same.

    The only tricky bit with multiple torrent clients is that they’d each need their own incoming connection port if you intend to be fully connectable (port forwarded). That may not be feasible if you’re using a VPN that only gives you 1 port forward but otherwise it’s doable, depends on your setup.


  • In qBittorrent what is the Status of DHT, PeX, LSD when you click on the torrent and click its Trackers tab?

    I’m on CGNAT

    Your own torrent peer is not and cannot be connectable (port forwarded), unfortunately.

    Not sure if you’ll be able to get much improvement, it’ll always be slow or impossible depending on the amount of connectable peers in the torrent swarm. But you should be seeing okay-ish speeds if the torrent you’re trying to download has tons of connectable peers. Does the torrent you’re downloading have a lot of seeds/leeches on it?

    PS - If you’re saying everything usually works fine then something changed, could try restarting your internet router just to rule that out.


  • Right now using a pfSense router, it’s been working well but I’ll eventually replace it with hardware to run OPNsense (pfSense fork) when the time comes.

    If you’re mainly just worried about wireless I’d just look into something to run OpenWrt or maybe FreshTomato if you’re sticking to older hardware. I have an older Linksys wireless router that is compatible with FreshTomato firmware so it’s been running on that and works well for my own usage, nothing fancy.





  • Similar to the other comment, not sure if you’ve ruled out writing a Python script? For what you’re describing Python would be able to easily tackle your requirements and still be readable since it’s just a script you can launch whenever you need. Python is also pretty easy to pick up so if you’re familiar with scripting then it could be a fun learning experience (if you don’t already know it).

    Other scripting languages could work too, just feel like Bash will be less readable if you’re writing a massive script like that.


  • Like others said dd should work.

    If for whatever reason you prefer cloning software I’m pretty sure Clonezilla will easily do a disk-to-disk clone, just double-check if you still need to expand the partition on the new drive after cloning (I don’t remember if Clonezilla does that for you).






  • That’s weird, maybe an update broke something? What I would maybe do is uninstall Xrdp (and maybe remove/rename the old config files just in case), then re-install and configure it. From there if it’s still not working try to see what’s showing up in the log files maybe.

    I did notice that Xrdp requires some extra configuration to work properly with Linux Mint Cinnamon, you apparently need to create a .xsession file in the home folder of whichever user(s) you’re trying to remote into. I’m not on Linux Mint myself but maybe searching around will give you some tips e.g. this seems like a good rundown https://gist.github.com/ParkWardRR/2ab9b5d41bbaceca8471d591755a1898

    EDIT: You probably already know this from using it before but for RDP on Linux you’d need to remote into a user that is not already logged in… it’s not like in Windows when you can RDP into any user regardless if they’re already logged in or not.