This guide covers common issues and their solutions.
Privileged scans
Permission denied when scanning
Nmap requires root privileges for certain scan types (SYN scans, OS detection, etc.).
Solution: Configure a graphical sudo tool in settings (F10):
Alternative tools:
kdesudo (KDE)
gksudo (GNOME)
sudo with -A flag for askpass
umask issues
If nmap XML files are created with incorrect permissions:
- Check your system umask:
umask
- Ensure the nmap output directory has correct permissions
- Verify the graphical sudo tool preserves environment variables
Binary not found errors
Core binary not found
If you see “binary not found” errors:
Symptom:
Error: Binary '/usr/bin/nmap' not found
Solution:
-
Open Settings (F10)
-
Navigate to “Core binaries” tab
-
Verify binary paths:
- nmap: Usually
/usr/bin/nmap
- terminal:
/usr/bin/konsole or /usr/bin/gnome-terminal
- graphical su:
/usr/bin/pkexec
-
Check if binaries exist:
which nmap
which konsole
which pkexec
User binary not executable
If a configured tool isn’t executable:
Solution:
# Check file permissions
ls -l /path/to/binary
# Make executable if needed
chmod +x /path/to/binary
Database issues
Database compatibility errors
Symptom:
Error while importing database: incompatible schema
Solution:
QtRecon includes automatic migrations for older database versions (< 1.2, < 1.6, < 1.7). If migration fails:
- Backup your database file
- Create a new database (Ctrl+N)
- Import your Nmap XML files (Ctrl+I)
Unsaved data warning
QtRecon tracks unsaved changes. If you see unexpected warnings:
Solution:
- Save your work regularly (Ctrl+S)
- Enable autosave in Settings (F10) → User Preferences
- Set autosave interval (default: 5 minutes)
XML parsing errors
Invalid Nmap XML
Symptom:
Causes:
- Incomplete scan: Nmap was interrupted mid-scan
- Corrupted file: File was modified or corrupted
- Wrong format: File is not a valid Nmap XML output
Solution:
- Ensure nmap completed successfully:
nmap -oX output.xml [target]
# Wait for scan to complete
- Validate XML syntax:
xmllint --noout output.xml
- Verify it’s Nmap output:
head -n 5 output.xml
# Should show: <?xml version="1.0"?>
# <!DOCTYPE nmaprun>
Missing XML files
Symptom: Nmap XML files disappear after scans.
Cause: The remove_nmap_xml_files_after_scan option is enabled.
Solution:
- Open Settings (F10)
- Navigate to “User Preferences”
- Uncheck “Remove Nmap XML files after scan”
- Click OK
With this option enabled, XML files are automatically deleted after being imported. Disable it if you need to keep the raw XML files.
Screenshot functionality
Screen lock detection issues
Symptom: Screenshots are taken even when screen is locked.
Solution:
Configure screen lock detection:
- Navigate to Screenshots tab in main window
- Enable “Don’t screenshot if screen is locked”
- Configure detection command:
For KDE/Plasma:
dbus-send --session --dest=org.freedesktop.ScreenSaver --type=method_call --print-reply --reply-timeout=20000 /org/freedesktop/ScreenSaver org.freedesktop.ScreenSaver.GetActive
Expected result: boolean true
For GNOME:
gnome-screensaver-command -q
Expected result: The screensaver is active
Process tracking
Issue: Screenshot includes too many background processes.
Solution:
Configure process blacklist in conf.json:
"screenshots": {
"include_processes": true,
"processes_blacklist": [
"systemd",
"dbus-daemon",
"kwin_x11"
],
"processes_ppid_blacklist": [1, 2]
}
Configuration issues
Invalid JSON in configuration
Symptom:
Invalid configuration file: JSON decode error
Solution:
- Validate JSON syntax:
python3 -m json.tool ~/.config/qtrecon/conf.json
- If invalid, restore default configuration:
cd /path/to/qtrecon
cp conf.json.example ~/.config/qtrecon/conf.json
- Restart QtRecon
Configuration file not found
QtRecon looks for configuration in:
$XDG_CONFIG_HOME/qtrecon/conf.json
~/.config/qtrecon/conf.json
If not found, it falls back to conf.json.example and creates a new configuration file.
High memory usage
Cause: Large in-memory database with many hosts/tabs.
Solution:
- Close unused tabs regularly
- Save and restart QtRecon periodically
- Delete hosts with no services: File → Delete hosts with no services
Slow autosave
Solution:
- Open Settings (F10)
- Increase autosave interval
- Or disable autosave and save manually (Ctrl+S)
Getting help
If you encounter issues not covered here:
- Check the QtRecon repository for known issues
- Review configuration examples in
conf.json.example
- Enable detailed logging to diagnose problems
- Report bugs with:
- QtRecon version
- Operating system
- Configuration file (sanitized)
- Error messages and logs