I'm running Ubuntu 20.04 LTS on WSL on Windows 11.I installed the synaptic package manager and tried to run it through sudo synaptic
, but it gives me this as a result:
Unable to init server: Could not connect: Connection refusedFailed to initialize GTK.Probably you're running Synaptic on Wayland with root permission.Please restart your session without Wayland, or run Synaptic without root permission
How can I run Synaptic with sudo in Ubuntu under WSL?