ngoduykhanh / wireguard-ui

Wireguard web interface
MIT License
3.77k stars 464 forks source link

Can't run in Ubuntu #576

Closed maifeeulasad closed 1 month ago

maifeeulasad commented 1 month ago

It just closes itself. I tried running it from the terminal, and this is the log I got:

current: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
payload: IpPayload { origin: "123.253.98.214" }
app inited
app state: AppSt(Mutex { data: <locked> })
Gtk-Message: 15:07:02.846: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
libEGL fatal: DRI driver not from this Mesa build ('23.2.1-1ubuntu3.1~22.04.2' vs '23.0.4-0ubuntu1~22.04.1')
goerdi commented 1 month ago

How you started the programm ? You have to open it in a browser.... Ciso iGerd

maifeeulasad commented 1 month ago

Sorry I thought it was a client, sorry my silly mistake.

maifeeulasad commented 1 month ago

Steps:

sudo apt update
sudo apt install wireguard # install
nmcli connection import type wireguard file <path/to/wireguard.conf> # add the config
nmcli connection show # see all the config, to get the name
nmcli connection up <wireguard-config-name> # start that connection

ref: https://developerinsider.co/how-to-set-up-wireguard-client-on-ubuntu/

goerdi commented 1 month ago

Sorry I thought it was a client, sorry my silly mistake.

The wireguar-ui is a GUI for the server....

Ciao Gerd