• 3 Posts
  • 17 Comments
Joined 3 years ago
cake
Cake day: June 9th, 2023

help-circle




  • RDP

    How do you approach RDP? Do you have multiple monitors at all? Is your approach scriptable? The reason I ask is because I can easily access my machines like so:

    exec xfreerdp3 /u:<user> /p:<pass> /v:<address> +f +clipboard /drive:/home/<user>>,Z: /drive:/,Y: -grab-keyboard /monitors:0,1 /multimon

    This can be added to a script that also checks the state of the target machine, and boots it via my IPMI console if necessary, waiting until the machine is ready to login. And, as you’ll note, I can specify which monitors I would like to provide for the connection. grab-keyboard allows me to set a keyboard shortcut that minimises the remote session, and you’ll note the mapped drives also. This is pretty much the lowest level of functionality I’m after. If that can be replicated on Wayland, that’s at least one hurdle down.







  • You don’t need something huge. Remove the DVD drive and the old mechanical drive from a USFF machine, stick a pair of 4TB drives in it, and put a basic debian image on it. Configure SMB with a shared folder or two, and voila: you now have a comfortable NAS for maybe £20 plus drives. Add in a sata pcie card if you can find a decent low-profile one, and that’s an extra four or even six drives. It won’t give you the cream of top performance, but it will be perfectly serviceable for a homelab.






  • Forewarning, wine appears to be a bit broken on Mint at the moment. I was recently experimenting with it in a VM, and I could not seem to get it installed properly - even after adding the winehq repo. Debian, by contrast, just works. I still use winamp for my music library, and play a few games that are windows based.



  • I’ve discovered a pattern to my logout error as referred to here: https://lemmy.world/comment/1144382

    It occurs specifically when I navigate to a community page, without visiting the homepage first. If I navigate specifically to, for example, lemmy.world/c/lemmyworld, I’ll be logged out. However, if I visit lemmy.world and then visit lemmy.world/c/lemmyworld, I’ll be logged in.

    I wonder if this is a bug with SameSite in the JWT? Reddit’s token, for example, has a value of None, where Lemmy’s has a value of Strict. I’ve changed that to None for the moment, we’ll see if that changes anything