Optimus Manager doesn't want to switch GPU, multiple desktop sessions?

Hi,

I’ve decided to try EndeavourOS out on my laptop which has integrated graphics, but it seems that optimus doesn’t want to make the switch to my graphics card. I’ve done everything that this link has told me, but whenever I want to make the switch (by using the tray icon), it says that I have another desktop session open and that changes won’t be made until every session is logged out. If I try the same thing again straight after, it says that I have two sessions open. I’m using Xfce, could the DE be the issue? I’ve got everything that’s supposed to be installed, drivers and optimus. The switch never happens if I check inxi -G