UnnoTed / wireguird

wireguard gtk gui for linux
MIT License
720 stars 48 forks source link

wireguird under wayland #54

Open cavaughankirov opened 1 month ago

cavaughankirov commented 1 month ago

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..

mimi0000oo commented 2 weeks 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

mimi0000oo commented 1 week ago

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/