Quick Launch:nm-connection-editor or Menu → Network Connections Purpose: Graphical interface for managing NetworkManager connections Best For: Desktop users who prefer point-and-click over terminal interfaces
1. Introduction to nm-connection-editor
1.1 What is nm-connection-editor?
nm-connection-editor is the graphical GTK-based application for configuring NetworkManager connections. It provides a full-featured GUI for creating, editing, and managing all types of network connections with visual feedback and easy-to-use forms.
1.2 Features and Capabilities
Complete GUI for all NetworkManager connection types
Visual tabs and organized settings
Advanced features not available in nmtui
Support for complex configurations (bonding, bridging, VLANs, VPNs)
Integration with desktop notification systems
Connection import/export functionality
1.3 Tool Comparison: When to Use What
nm-connection-editor
Use when:
Working on desktop system
Need visual interface
Complex configurations
Prefer mouse/keyboard
Need all advanced options
Managing VPNs visually
nmtui
Use when:
Terminal-only access
Server without GUI
SSH sessions
Quick configuration
Basic settings only
Lightweight interface
nmcli
Use when:
Scripting needed
Automation required
Batch operations
Remote administration
CI/CD pipelines
Quick status checks
1.4 Installation
# Usually installed with NetworkManager GUI components
# Debian/Ubuntu
sudo apt-get install network-manager-gnome
# RHEL/CentOS/Fedora
sudo yum install NetworkManager-gnome
# or
sudo dnf install NetworkManager-gnome
# Arch Linux
sudo pacman -S networkmanager network-manager-applet
# Verify installation
which nm-connection-editor
nm-connection-editor --version
2. Launching nm-connection-editor
2.1 Launch Methods
Method
Command/Location
Notes
Command Line
nm-connection-editor
Direct launch from terminal
Application Menu
Settings → Network Connections
Location varies by desktop
System Tray
Right-click network icon → Edit Connections
If nm-applet is running
GNOME Settings
Settings → Network → ⚙️ (gear icon)
Opens specific connection
2.2 Command Line Options
# Launch main window
nm-connection-editor
# Create new connection of specific type
nm-connection-editor --create --type=ethernet
nm-connection-editor --create --type=wifi
# Edit specific connection by UUID
nm-connection-editor --edit=UUID
# Show specific connection
nm-connection-editor --show=UUID
# Run in background (return immediately)
nm-connection-editor &
# Export all connections (command line helper)
for conn in /etc/NetworkManager/system-connections/*; do
cp "$conn" ~/network-backup/
done
# Import multiple connections
for file in ~/network-backup/*.nmconnection; do
nmcli connection import type generic file "$file"
done
# Verify imports
nmcli connection show
10. Connection Management
10.1 Activating Connections
Note: nm-connection-editor is for configuration only. To activate/deactivate connections, use:
Network applet (system tray icon)
GNOME Settings → Network
nmcli: nmcli connection up "Name"
nmtui: nmtui connect
10.2 Deleting Connections
Remove a Connection
Select connection in main window
Click - Delete button
Confirm deletion in dialog
Connection removed from system
Warning: Deletion is permanent. The connection file is removed from /etc/NetworkManager/system-connections/. Export connections before deleting if you might need them later.
10.3 Cloning Connections
Clone Technique: While there's no explicit "clone" button, you can:
Select connection and export it
Import the exported file
Edit the imported connection (change name, IP, etc.)
Save with new name
11. Troubleshooting
11.1 nm-connection-editor Won't Launch
Symptom
Possible Cause
Solution
Command not found
Not installed
sudo apt-get install network-manager-gnome
Error: Cannot open display
No X11/Wayland session
Must run in GUI environment
Permission denied errors
PolicyKit issues
Check user is in netdev group
Crashes on startup
Corrupt config or GTK issue
Check logs: journalctl -xe
11.2 Can't Save Connection Changes
Diagnostic Steps:
Check if NetworkManager is running: systemctl status NetworkManager
Verify permissions: ls -l /etc/NetworkManager/system-connections/
Check disk space: df -h /etc
Review logs: journalctl -u NetworkManager -n 50
Try with sudo: sudo nm-connection-editor
11.3 Connection Not Showing in List
Issue
Check
Fix
Created but not visible
Check file exists in system-connections
Reload: nmcli connection reload
Hidden connection
Check if it's user-specific vs system-wide
Run editor as different user or set "Available to all users"
Corrupted profile
Check file syntax
Delete and recreate, or fix manually
11.4 VPN Options Missing
Problem: VPN connection types don't appear in dropdown
Cause: VPN plugins not installed
Solution:
If connection is active, deactivate and reactivate it
Use network applet or: nmcli connection down "Name" && nmcli connection up "Name"
12. Best Practices
12.1 Connection Naming Conventions
Use descriptive names: Office-Ethernet-Desk47
Include location: Home-WiFi-5GHz
Include purpose: Lab-Testing-VLAN100
For static IPs: WebServer-192.168.1.50
Avoid generic names: Not "Wired connection 1"
Use consistent naming across infrastructure
12.2 Configuration Management
Practice
Benefit
How
Regular backups
Quick recovery
Export connections monthly
Document changes
Audit trail
Keep change log with exports
Test before production
Avoid outages
Create test connection first
Version control
Track history
Git repo for exported configs
Standard templates
Consistency
Export reference configs
12.3 Security Best Practices
Security Considerations:
Don't save WiFi passwords for public networks
Use WPA2/WPA3, never WEP or open networks
For VPNs, use certificate authentication over passwords
Set "Available to all users" carefully on multi-user systems
Protect exported connections (contain passwords)
Review connection permissions regularly
Use firewall zones appropriately
12.4 Performance Optimization
Optimize Network Performance:
Set appropriate MTU for your network (usually 1500)
Configure autoconnect priority to avoid connection conflicts
Disable IPv6 if not used: IPv6 Settings → Method: Ignore
For servers, disable IPv6 privacy extensions
Use wired over wireless when possible
For VMs/containers, use bridge instead of NAT
13. Integration and Automation
13.1 Command Line Integration
# Launch editor from scripts
nm-connection-editor &
# Create connection via GUI with pre-filled type
nm-connection-editor --create --type=ethernet &
# Edit specific connection by UUID
UUID=$(nmcli -t -f UUID connection show "MyConnection")
nm-connection-editor --edit="$UUID" &
# Combine with nmcli for automation
nmcli connection add type ethernet con-name "Auto-Created" ifname eth0
nm-connection-editor --edit="$(nmcli -t -f UUID con show "Auto-Created")" &
13.2 Configuration File Management
# Backup connections
#!/bin/bash
BACKUP_DIR=~/network-configs-$(date +%Y%m%d)
mkdir -p "$BACKUP_DIR"
# Copy all connections
sudo cp -r /etc/NetworkManager/system-connections/* "$BACKUP_DIR/"
# Create inventory
for conn in "$BACKUP_DIR"/*; do
echo "$(basename "$conn")" >> "$BACKUP_DIR/inventory.txt"
done
echo "Backup complete: $BACKUP_DIR"
13.3 Desktop Environment Integration
Desktop
Network Settings Access
Editor Launch
GNOME
Settings → Network
Click connection ⚙️ → Identity/Details
KDE Plasma
System Settings → Network
Configure button
XFCE
Settings → Network
Edit button
MATE
System → Preferences → Network
Edit button
System Tray
Click network icon
Right-click → Edit Connections
14. Advanced Topics
14.1 Connection Permissions
Understanding Permissions
Available to all users checkbox:
Setting
File Location
Access
Use Case
☑ Checked (System)
/etc/NetworkManager/system-connections/
All users, root can edit
Servers, shared systems
☐ Unchecked (User)
~/.local/share/NetworkManager/system-connections/
Only creating user
Personal devices, laptops
14.2 Firewall Zone Configuration
Firewall Zones (if using firewalld):
public: Untrusted networks (default for most)
home: Trusted home network
work: Trusted work network
internal: Internal network traffic
external: Masquerading/NAT zone
dmz: Demilitarized zone
block: Block all incoming
drop: Drop packets silently
Set in General tab → Firewall zone dropdown
14.3 Metered Connections
Metered Connection Setting: Hints to applications that bandwidth is limited or costs money.
Effects:
GNOME Software won't auto-update
Automatic backups may pause
Cloud sync may defer uploads
Browsers may compress data
When to use: Mobile hotspots, cellular connections, limited data plans
Set in General tab → Metered connection: Yes
15. Quick Reference
15.1 Common Tasks Summary
Task
Steps
Create Ethernet DHCP
Add → Ethernet → IPv4: Automatic → Save
Create Static IP
Add → Ethernet → IPv4: Manual → Enter IP/Gateway/DNS → Save
Add WiFi
Add → Wi-Fi → Enter SSID → Wi-Fi Security: WPA2 → Password → Save
Import VPN
Import button → Select .ovpn file → Review → Save
Export Connection
Select → Export button → Choose location → Save
Delete Connection
Select → Delete button → Confirm
Add Secondary IP
Edit → IPv4 Settings → Add button → Enter IP → Save
Change DNS
Edit → IPv4 Settings → DNS servers field → Update → Save