shadowintheday2

@shadowintheday2@lemmy.world

This profile is from a federated server and may be incomplete. Browse more on the original instance.

shadowintheday2,

Tyvm for this very well structured guide, I didn’t even realize I was on lemmy until I hit the bottom of it

shadowintheday2,

I switched to systemd boot when that happened, and it’s been so smooth ever since

shadowintheday2,

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 :))

What's (are) the funniest/stupidest way(s) you've broken your linux setup?

Tinkering is all fun and games, until it’s 4 am, your vision is blurry, and thinking straight becomes a non-option, or perhaps you just get overly confident, type something and press enter before considering the consequences of the command you’re about to execute… And then all you have is a kernel panic and one thought...

shadowintheday2, (edited )

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

shadowintheday2, (edited )

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

shadowintheday2,

Thank you for the explanation

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

shadowintheday2,

I don’t think VLC alone could handle auth/permissions/encryption

shadowintheday2,

Thanks, I will look into setting up Home Assist

shadowintheday2,

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

shadowintheday2, (edited )

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>

<span style="color:#323232;">env | grep -i display
</span><span style="color:#323232;">WAYLAND_DISPLAY=wayland-0
</span><span style="color:#323232;">DISPLAY=:0
</span><span style="color:#323232;">
</span>
shadowintheday2,

Does waypipe also work with XWayland apps?

shadowintheday2,

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

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #