Seems there is still another aspect to this, resulting in it still being
unfixed for the Kubuntu Live session.

casper runs in scripts/casper-bottom/34disable_kde_services

rm -f /root/usr/share/kde4/services/kwalletd.desktop
rm -f /root/usr/share/kservices5/kwalletd5.desktop
rm -f /root/usr/share/dbus-1/services/org.kde.kwalletd5.service
rm -f /root/usr/share/dbus-1/services/org.kde.kwalletd.service

which was done in 2015 to stop kwallet dunning in the live session
completely.

This sadly now has the consequence that plasma-nm sees no actual written
config disabling kwalllet, but maybe simply fails to access it thinking
it should be available, then falls back to the password with network
manager. Hence possibly the double password request.

Since 2016 releases of plasma 5.7.x the change "Store password into
NetworkManager by default when KWallet is not enabled" enables fallback
to network manager, but seemingly only when plasma-nm knows kwallet is
disabled by config, not when it has been just broken by casper.

So one possible solution could be to leave kwallet's files in place, but
write a temp config file 'kwalletrc' for just the live session disabling
kwallet, so plasma-nm knows to not use it, hence using a working route
first time.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1572244

Title:
  Kubuntu requires that the WiFi password be entered twice before WiFi
  can be used

Status in network-manager package in Ubuntu:
  Fix Released
Status in plasma-nm package in Ubuntu:
  Confirmed

Bug description:
  Kubuntu 16.04 ISO number 20160417.1 Xenial Final
  Bug reported against network-manager 
  Every time I tried the live Kubuntu 16.04 image on a Lenovo t420 laptop it 
requires to enter the wifi password twice before I can use the wifi. Once from 
the network icon panel, then second time a prompt on the desktop to enter the 
wifi password.

  I do not know if this is typical behavior of Kubuntu since I usually use GTK 
base desktops.
  I guess network-manager is the right package to file this report against.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: network-manager 1.1.93-0ubuntu4
  ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
  Uname: Linux 4.4.0-18-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  CasperVersion: 1.373
  CurrentDesktop: KDE
  Date: Tue Apr 19 16:48:02 2016
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  IpRoute:
   default via 192.168.77.1 dev wlp3s0  proto static  metric 600 
   169.254.0.0/16 dev wlp3s0  scope link  metric 1000 
   192.168.77.0/24 dev wlp3s0  proto kernel  scope link  src 192.168.77.128  
metric 600
  LiveMediaBuild: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160417.1)
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
  SourcePackage: network-manager
  UpgradeStatus: No upgrade log present (probably fresh install)
  nmcli-con:
   NAME                UUID                                  TYPE             
TIMESTAMP   TIMESTAMP-REAL                   AUTOCONNECT  AUTOCONNECT-PRIORITY  
READONLY  DBUS-PATH                                   ACTIVE  DEVICE  STATE     
 ACTIVE-PATH                                        
   KNOPPIX             adfb3f1c-39c2-4410-b1dc-ca553326da52  802-11-wireless  
1461084315  Tue 19 Apr 2016 04:45:15 PM UTC  yes          0                     
no        /org/freedesktop/NetworkManager/Settings/1  yes     wlp3s0  activated 
 /org/freedesktop/NetworkManager/ActiveConnection/3 
   Wired connection 1  4957fbd0-8ffa-4de8-aa18-275e6dfdcd9e  802-3-ethernet   
1461077415  Tue 19 Apr 2016 02:50:15 PM UTC  yes          4294966297            
no        /org/freedesktop/NetworkManager/Settings/0  no      --      --        
 --
  nmcli-dev:
   DEVICE   TYPE      STATE        DBUS-PATH                                  
CONNECTION  CON-UUID                              CON-PATH                      
                     
   wlp3s0   wifi      connected    /org/freedesktop/NetworkManager/Devices/0  
KNOPPIX     adfb3f1c-39c2-4410-b1dc-ca553326da52  
/org/freedesktop/NetworkManager/ActiveConnection/3 
   enp0s25  ethernet  unavailable  /org/freedesktop/NetworkManager/Devices/1  
--          --                                    --                            
                     
   lo       loopback  unmanaged    /org/freedesktop/NetworkManager/Devices/2  
--          --                                    --
  nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 
2: Error: Object 'nm' is unknown, try 'nmcli help'.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1572244/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to