Mainly here to keep up with the news on Linux.

  • 1 Post
  • 46 Comments
Joined 1 year ago
cake
Cake day: July 15th, 2023

help-circle

  • Kekin@lemy.loltoSelfhosted@lemmy.worldCaddy and forgejo
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 months ago

    Not really through Caddy but for my setup I have it so the ssh port for Forgejo is only accessible through tailscale. So for push/pulling updated my ssh config file to something like

    Host git.mysite.com HostName tailscaleMachineName User git Port 1234

    Then doing git pull git@git.mysite.com:user/project.git works just fine as long as I am connected to tailscale

    Otherwise you could open the port for Forgejo’s ssh so that you can access it without any vpn


  • Getting a second drive just for windows I think is a good approach. If you were to do so, it’s important that you remove all other drives while installing windows, otherwise the Windows installer will put its boot files into whatever existing EFI partition it finds.

    Then using something like https://github.com/Raphire/Win11Debloat you should be good to go with a relatively clean setup.

    To have a local account, I use Rufus to setup the usb installer in a way that it automatically creates the local account, and it can also disable the secure boot and tpm requirements from the installer if you want. Though I think rufus is a windows program only. I know there’s the “OOBE” approach for the local account, but I haven’t done that before. That could be an option too







  • It mentions it fixed bluetooth issues with certain devices, I wonder if it’s related to what I’m experiencing on regular fedora KDE (and EndeavorOS too) with a kernel version 6.9.3, CachyOS kernel on fedora, Liqourix on EndeavorOS, where my game controller will not connect to Bluetooth unless I restart the bluetooth service or pair the controller again.

    With Fedora’s default kernel which is currently 6.8.11 I don’t have this issue. Honeslty I don’t know what’s up, and from a quick search I couldn’t find people with the same issue. I’ll search again later just in case


  • One pet peeve of mine is how in Windows 10 switching between virtual desktops was flawless, and somehow in Windows 11 they fucked it up. At first it had no animation when switching, the taskbar kind of glitches. Now it has an animation but it’s kind of delayed and the taskbar still kind of glitches, it seems to reload or something. Kinda crazy honestly




  • I can speak at least for rootless podman, I spent some hours on it and different ways I tried all ended in permission issues.

    I gave up on trying to do it properly and just set the permissions of the /dev/dri device to 666, so that my podman container can use the gpu for transcoding.

    Part of the issue with the container images that I tried is that they create a new user with whatever uid:gid I pass to the container, and so even if my nonroot user is part of the render group, the new user inside the container is not and so it can’t write to the /dev/dri/renderD128 (gpu), and so transcode wouldn’t work.

    That’s where I left the troubleshooting at cause it was being a headache




  • Yeah I’m fairly certain it’s a permission issue. Having the gpu with permissions 666 makes it work inside the containers.

    The thing is also that these container images (plex and jellyfin) create a separate user inside, instead of using the root user, and this new user (“abc” for lsio images) doesn’t get added to the same groups as the root user.

    Also the render group that gets passed to the container appears as “nogroup”, so I thought of adding user abc to “nogroup” but still didn’t seem to work.