It’s not exempt from happening; however, it rarely ever updates and has less complexity/functionality than grub, which makes it less prone to error happening (be it from the developers, or from the user like me trying to theme it :))
I thoroughly backup up my slow nvme before installing a new faster one. I actually didn’t even want to reuse the installation, just the files at /home.
So I mounted it at /mnt/backupnvme0n1, 2, etc and rsynced
The first few dry runs showed a lot of data was redundant, so I geniously thought “wow I should delete some of these”. And that’s when I did a classic sudo rm -rf in the /mnt root folder instead of /mnt/dirthathadthoseredundantfiles
Sir, you’re awesome! Thank you a lot for taking your time and explaining what you have found I will try these steps when I have some free time to tinker, and the info and script you have provided has cleared a lot of questions that I had
Another thing to solve: XWayland apps as a different user
Giving access to the wayland socket makes other users able to use wayland; however programs that rely on XWayland to work don’t seem to get it:
<span style="color:#323232;">
</span><span style="color:#323232;">Start Failed
</span><span style="color:#323232;">Failed to initialize graphics environment
</span><span style="color:#323232;">
</span><span style="color:#323232;">java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
</span><span style="color:#323232;"> at java.desktop/sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
</span>
Wine
<span style="color:#323232;">
</span><span style="color:#323232;">0120:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFA, 0ECAFF08
</span><span style="color:#323232;">0128:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
</span><span style="color:#323232;">0128:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
</span><span style="color:#323232;">0128:err:systray:initialize_systray Could not create tray window
</span><span style="color:#323232;">0114:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
</span><span style="color:#323232;">0114:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
</span><span style="color:#323232;">0114:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0DE4FB40
</span>
So wayland fixes most of these. Is it possible to run GUI programs as another user just like in X with xhost though ? I’m asking not only from a security point, but as a practical one since I need to run the same program under different namespaces/users
I know this is possible, but it makes switching different windows a chore. Since I have GUI programs running under different users, I would want the screensharing program to not even be aware that other user’s GUI programs are in the screen
Thank you, I managed to get it working with MediaMTX and DockoVPN I still don’t know how I would manage dynamic IP changes during the days I’m away, that would break the VPN