Announcement

Collapse
No announcement yet.

[SOLVED]Kdesudo nags 10 times after login

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED]Kdesudo nags 10 times after login

    I've installed lucid lynx beta2, or to be more precise, dist-upgraded, and was pleasantly suprised how easy it was.

    I've started to dig a bit deeper and found an interesting menu in system-settings (advanced). On my german system it's called "Wechselmedien" (What is this part called in english?). I activated the auto-mount option for my two external USB-drives, but not for my 10 internal partitions. Since then 10 KDESudo windows pop up after I login to my machine. This nagging got on my nerves after 2 Logins andI started to search for the culprit. It was easy. If I simply close the kdesudos without entering a password, /var/log/auth.log reports 10 occurences of
    Code:
    Apr 17 19:32:26 **** sudo:   **** : 3 incorrect password attempts ; TTY=unknown ;
     PWD=/home/****/Dokumente ; USER=root ; COMMAND=/bin/sh -c dbus-send /n
    --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/volume/n
    _uuid_da2f68fe_****_4496_9d4c_23549cfd**** org.freedesktop.Hal.Device.Volume.Mount/n
     string:/media/data1 string: array:string:
    Apr 17 19:32:31 **** sudo:   **** : TTY=unknown ; PWD=/home/****/Dokumente ;/n
     USER=root ; COMMAND=/bin/sh -c dbus-send --system --print-reply --dest=org.freedesktop.Hal/n
     /org/freedesktop/Hal/devices/volume_uuid_95e1a276_e810_****_ad87_613a4670**** /n
    org.freedesktop.Hal.Device.Volume.Mount string:/media/data2 string: array:string:
    (**** and /n entered to protect the innocent , real values are correct for my configuration, I checked.)

    If I understand this correctly, these dbus-send commands are issued to somehow mount my internal partitions (according to fstab). But these partitions are already mounted, and I'm able to access them and write to them, even if I don't input my password 10 times. Since this is a single user machine, I've changed the relevant entrys in /usr/share/polkit-1/actions/org.freedesktop.udisks.policy as per http://ubuntuforums.org/showthread.php?t=1434702, but to no avail. What am I missing?

    #2
    Re: Kdesudo nags 10 times after login

    Have a look at this post, http://kubuntuforums.net/forums/inde...opic=3111025.0. In a nutshell, you need to go Kmenu>systemsettings>advanced>removable devices then uncheck enable automatic mounting of removable devices.

    Comment


      #3
      Re: [SOLVED]Kdesudo nags 10 times after login

      After reading http://kubuntuforums.net/forums/inde...opic=3111025.0 I checked the settings made in systemsettings advanced again and m( (facepalm), I've set "Mount all removable media at login". KDE recognized my internal partitions as removable media and tried to mount them, asking for a password. After unchecking "Mount all removable media at login" the problem disappeared.

      Comment

      Working...
      X