| Summary: | knetworkmanager cannot find any networks in KDE 3.5.10 on Debian Lenny x86_64 | ||
|---|---|---|---|
| Product: | [Unmaintained] knetworkmanager | Reporter: | Philip Ashmore <contact> |
| Component: | general | Assignee: | Will Stephenson <wstephenson> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Philip Ashmore
2009-06-06 15:14:20 UTC
I fixed it.
Maybe this should go into some kind of GNU/Linux troubleshooter!
The problem solution needs some background:
I keep my development files in a separate partition so I can backup and restore it with different distributions. Because of this I set my regular user id to 500, the default for a Fedora install but not Debian where it's 1000.
When installing Debian I create a temporary user "x" (with id 1000) so I can log in and then create my regular user "y" (with id 500).
By default new users get their own group with the same name.
The problem was that I didn't add user "y" to the same system groups as user "x"!
These groups are dialout,cdrom,floppy,audio,video,plugdev,netdev,powerdev.
This can be repaired with
# usermod -G $(groups x | sed -e 's|x ||g' -e 's| |,|g') -a y
to add user "y" to the groups x belongs to, but not group "x".
Too bad the error messages were so cryptic.
By the way I reported this to Debian network-manager-kde: knetworkmanager cannot find any networks in KDE 3.5.10 on Debian Lenny amd-64 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532116 with the above solution The error message is more verbose (and in the GUI) now. |