Open cavaughankirov opened 1 month ago
It does not work under hyprland. I think something has to do with wayland/sudo. I've seen some solutions online for other programs with this kind of programs with using something called ego, but it does not seem to work with wireguird
after a bit more research i found this script. maybe it helps you.
#!/bin/bash
#small script to enable root access to x-windows system
xhost +SI:localuser:root
sudo $1
#disable root access after application terminates
xhost -SI:localuser:root
#print access status to allow verification that root access was removed
xhost
source: https://www.reddit.com/r/Fedora/comments/5eb633/solution_running_graphical_app_with_sudo_in/
Was trying out wireguird under Cosmic DE and it will not open. I think the reason has to do with the fact that wayland will not allow apps running as root (sudo?) to run. Regardless of the reason would love to see this resolved..