Think I broke the grpahical-session.target of xdg portals

Yesterday had a sus crash out of nowhere that shut down both waterfox and whatever app I had in the background. After rebooting I was signed out of all my google accounts but not my accounts on other sites. I had switched to the flatpak version ages ago and gave it read only access to my USB drive since there’s a file on there I want it to be able to open with the bookmark I made before switching to the flatpak version.

I mention it because after rebooting and seeing that I had to relog into my accounts I suspected maybe a virus got through and was trying to hijack my logins so I went looking for what seemed safe to delete. The only thing that ended up being deleted was a startup cache folder for waterfox. I hadn’t tried using the open dialog throughout this so I don’t know if the reason waterfox can no longer launch/access the “Open with” dialog is because I somehow borked the session manager by deleting that starup cache or the “crash” itself was the cause. Either way I’m having top drag and drop at the moment which just feels bad.

The most I was able to get out of gemini was attempting to restart it or the core xdg service. When I attempted to restart it it fails over a dependency but fails to informat what dependency is the issue. gemini directed me to trying to reboot the graphical session which I attempted but it got blocked from manual restarts so I’m now asking here for direction on what to do. I’ve also attempted to restart via pkexec but to now avail there either. The most I get from the terminal info wise is this:

❯ systemctl --user restart graphical-session.target
Failed to restart graphical-session.target: Operation refused, unit graphical-session.target may be requested by dependency only (it is configured to refuse manual start/stop).
See user logs and 'systemctl --user status graphical-session.target' for details.
❯ pkexec systemctl --user restart graphical-session.target
Failed to connect to user scope bus via local transport: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user)
❯ systemctl --user restart xdg-desktop-portal.service
A dependency job for xdg-desktop-portal.service failed. See 'journalctl -xe' for details.
❯ pkexec systemctl --user restart xdg-desktop-portal.service
Failed to connect to user scope bus via local transport: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user)
systemctl --user status graphical-session.target
○ graphical-session.target - Current graphical user session
     Loaded: loaded (/usr/lib/systemd/user/graphical-session.target; static)
     Active: inactive (dead)
       Docs: man:systemd.special(7)