Registered Member
|
Hi,
I'm using kubuntu 11.04 since 2 months and I'm very impressed of kde environment. Anyway, after suspend, the network manager is waiting for authentication. The only way for me to solve this issue is to restart it with konsole: killall kded4 kded4 I'm trying to do it automatically by adding a script in ect/pm/sleep.d: #!/bin/bash case "$1" in hibernate|suspend) ;; thaw|resume) killall kded4 kded4 ;; *) ;; esac exit $? Automatically, this script is run with root privilege but kded4 has to be run with user rights. How can I do that? Thanks for your help. Regards, |
Administrator
|
Have you tried checking ~/.xsession-errors to see if any error message is indicated as to why this happens? Network Management may be asking NetworkManager too quickly to reconnect, which might be causing this issue.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
hi,
First thank you for the answer. I didn't find anything relevant for the moment. Can you tell me what I should find? I'm asking you this because the folder is very big. I also find out that changing the owner (from root to me) of the script allows the script to be run. Unfortunately, network manager is still waiting for authentication. but what kind of authentication??? Regards |
Administrator
|
Something regarding either "NM" or "Network Management" or "NetworkManager".
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Hi,
This is what I looked for but there is nothing about NM network or else in errors. Regards, |
Administrator
|
Ok, you will need to look in the system logs, found in /var/log/. The needed items will either be in "messages" or "NetworkManager". You will need to use root powers to access those files.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I finally find out that the problem comes from kdewallet. wifi requieres kdewallet password and authentification to run after suspend. I havec reinstalled kubuntu and upgraded to kde 4.6 and there's no problem anymore.
Consequently, sudo cat /var/log/pm-suspend.log returns success for every action. Thank you for your help. Regards, |
Registered Member
|
Hi,
I too have upgraded to KDE 4.6 but have done so without any reinstallation. I still encounter the same problem. The same problem also occurs when i disable wi-fi in my laptop through the hardware wifi switch and then start it again. |
Administrator
|
Ok, you are likely striking a bug in either NetworkManager (system wide component) or in Network Management (the KDE component).
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]