Installation Issues
Package Installation Failures
dpkg: dependency problems
dpkg: dependency problems
Error message:Cause: Missing runtime dependencies.Solution:This command will install all missing dependencies automatically.
Package libayatana-appindicator3-1 is not available
Package libayatana-appindicator3-1 is not available
Error message:Cause: Your distribution may use a different package name or repository.Solution for Ubuntu 18.04:Solution for newer Ubuntu versions:
Permission and Access Issues
WireGuard Requires Root Permissions
Common error:Run WireGuird with sudo (not recommended)
This is not recommended for regular use as it runs the entire GUI with root privileges.
Configure PolicyKit (recommended)
Create a PolicyKit rule to allow your user to run wg-quick without a password:Create
/etc/polkit-1/rules.d/50-wireguard.rules:Cannot Access /etc/wireguard
Error: WireGuird cannot read tunnel configurations. Cause: The/etc/wireguard directory has restrictive permissions.
Solution:
Keep private keys secure! The
.conf files contain sensitive information. Only make the directory readable, not the private key files themselves.Tunnel Connection Issues
Tunnel Name Length Error
Error message:gui/tunnels.go:217-219
Connection Fails with wg-quick Errors
resolvconf: command not found
resolvconf: command not found
Error in wg-quick output:Cause: The See Dependencies for more information.
resolvconf package is not installed.Solution:RTNETLINK answers: File exists
RTNETLINK answers: File exists
Error:Cause: The network interface or route already exists, possibly from a previous failed connection.Solution:
Unable to access peer
Unable to access peer
Symptoms: Connection establishes but no data flows.Possible causes:Verify UDP port is not blocked:Check firewall rules:
- Incorrect peer endpoint
- Firewall blocking UDP traffic
- NAT traversal issues
GUI and Display Issues
Application Doesn’t Start
Failed to connect to X server
Failed to connect to X server
Error:Cause: Running WireGuird over SSH or without a display.Solution:
If using SSH, enable X11 forwarding:
GTK version errors
GTK version errors
Error:Cause: GTK+ 3 is not installed or is an incompatible version.Solution:Check GTK version:
System tray icon not appearing
System tray icon not appearing
Cause: Missing AppIndicator support in your desktop environment.Solution:For Ubuntu/GNOME:For other desktop environments, ensure system tray/indicator support is enabled.
Icons Not Displaying
Symptoms: Missing or broken icons in the interface. Cause: Icon files are not in the expected location. Solution:Configuration Issues
Settings Not Persisting
Symptoms: Settings reset after restarting WireGuird. Cause: Settings file is not writable or in the wrong location. Solution:Cannot Import Tunnel Configuration
Error: “Add tunnel error” Possible causes:- Invalid configuration file format
- Missing required fields
- Permission issues
.conf file follows the correct format:
Logging and Diagnostics
Enable Debug Logging
WireGuird useszerolog for logging. View logs by running from terminal:
Check WireGuard Status
System Journal Logs
Performance Issues
High CPU Usage
Possible causes:- Excessive logging
- Continuous connection attempts
- Large number of peers
- Reduce logging verbosity
- Check for connection loops
- Optimize peer configurations
Slow Connection Speeds
Diagnostic steps:- Adjust MTU in tunnel configuration (typically 1420 for WireGuard)
- Verify no packet loss:
ping -c 100 <peer-ip> - Check for CPU bottlenecks on either endpoint
Getting More Help
If you’re still experiencing issues:- Check existing issues: GitHub Issues
-
Create a new issue: Include:
- Your distribution and version
- WireGuird version
- Error messages (full output)
- Steps to reproduce
- Output of
wg show(remove sensitive keys)
-
Collect diagnostic information:
