Extended log-in times?

Hi,

When logging-in, I have to wait much longer than I should. This delay is specific to a single user.
But only when “auto log-in” is enabled for that user.

Once the desktop is reached (5 min, maybe), this mount message is seen.
It is not seen if I turn off “auto login”, and manually log-in as the affected user!

http://paste.opensuse.org/images/77396916.png

You will notice that the pop-up says that “An application is…”, but the Application field (lower half of window) does not give any clue to which application.
Scanning through journalctl -xb does not give me any clues. But I guess this is not a fault, just me having setup something stupid!

Addition Information
This is a valid drive. I want it left connected to the system. I just don’t want mounted under normal circumstances.

Regards, Martin

Which Desktop GUI is causing this issue?

Sorry…

http://paste.opensuse.org/images/95154359.png

Please show /etc/fstab

The easy advice is to turn off auto-login.

Once the desktop is reached (5 min, maybe), this mount message is seen.
It is not seen if I turn off “auto login”, and manually log-in as the affected user!

If auto-login is off, is the disk still mounted?

I’m not quite clear on what you are doing.

One possibility, is that you have pam_kwallet installed. In that case, your kde-wallet is automatically unlocked on login with password, but is not unlocked with auto-login because you haven’t provided a password. But I’m really only guessing when I suggest this.

UUID=fb90cf3d-6dea-40b3-a299-1fc4e49cd4f9  /               ext4  acl,user_xattr               0  1
UUID=e4354810-bc42-43db-8fe1-333acf59a1a6  /home           ext4  data=ordered,acl,user_xattr  0  2
UUID=6ffc8840-5ee9-467d-b5aa-27653d7b0a31  swap            swap  defaults                     0  0
UUID=9e422d29-1718-4e48-8b86-53311e7bbd75  /myMusic        ext4  defaults                     0  2
UUID=21510d66-301e-4665-a075-e959a9dc6bd1  /VirtualBoxVMs  ext4  defaults                     0  2
//192.168.0.1/sda1                         /smb            cifs  username=guest,password="",vers=1.0,x-systemd.automount,noauto  0  0

No. The disc is not mounted.
But it will mount, if I request a mount and provide the root password.

Still thinking about the wallet issue. Do you know what the app is called? So that I can see if it running.

Regards. Martin

I am seeing “/usr/bin/kwalletd5” running, automatically started on login. I don’t use auto-login, so I’m not sure whether it runs in that case.

gzunder:~ # ps -A | grep "kw"
  346 ?        00:00:03 kworker/3:1H
  378 ?        00:00:03 kworker/1:1H
  391 ?        00:00:03 kworker/2:1H
  881 ?        00:00:00 kworker/u33:0
  889 ?        00:00:00 kworker/u33:1
 1987 ?        00:00:00 kwrapper5
 2007 ?        00:05:30 kwin_x11
 3397 ?        00:00:02 kworker/0:0H
 3836 ?        00:00:02 kworker/2:1
 5296 ?        00:00:00 kworker/u32:1
 5797 ?        00:00:00 kworker/3:3
 6014 ?        00:00:04 kworker/0:1
 6018 ?        00:00:00 kworker/1:3
 6043 ?        00:00:00 kworker/1:2
 6055 ?        00:00:00 kworker/2:0
 6058 ?        00:00:00 kworker/0:2
 6082 ?        00:00:00 kworker/3:2H
 6085 ?        00:00:00 kworker/1:2H
 6090 ?        00:00:00 kworker/0:2H
 6101 ?        00:00:00 kworker/2:0H
 6120 ?        00:00:00 kworker/u32:3
 6140 ?        00:00:00 kworker/3:1
 6180 ?        00:00:00 kworker/1:1
 6181 ?        00:00:00 kworker/2:3
 6256 ?        00:00:00 kworker/0:0
 6375 ?        00:00:00 kworker/1:0H
 6388 ?        00:00:00 kworker/3:0
 6392 ?        00:00:00 kworker/3:0H
 6393 ?        00:00:00 kworker/2:2H
 6408 ?        00:00:00 kworker/2:2
 6410 ?        00:00:00 kworker/1:0
 6411 ?        00:00:00 kworker/0:1H
gzunder:~ # 

So…
I guess that kwallet is not running.

Not to worry. Maybe it will get better on it’s own?

Regards, Martin

Personally, I find that “On-Demand Mounting with Autofs” is a better solution – the openSUSE Reference Guide has a section “Auto-Mounting CIFS File System”.
[HR][/HR]Returning to the point in issue:

  • Does the “auto-login” user have anything in ‘~/.profile’ or ‘~/.bashrc’ which addresses the CIFS mount point?
  • Is there a system-wide login script which addresses the CIFS mount point, called by the user’s KDE login?

(Files or links in the ‘~/.config/plasma-workspace/’ subdirectories?)

Thank you, I’ll look into that.

Does the “auto-login” user have anything in ‘~/.profile’ or ‘~/.bashrc’ which addresses the CIFS mount point?

No. Both are the basic sample files. This is a new (less than a week old) install.
And I don’t think the CIFS area is the direction to look. Because:

After auto-login, with the mount password request pending, I look here:

gzunder:~ # mount -l | grep /dev/
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
/dev/sdh2 on / type ext4 (rw,relatime,data=ordered) [SSD-860]
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
/dev/sdi1 on /home type ext4 (rw,relatime,data=ordered) [SSD-850]
/dev/sdg2 on /VirtualBoxVMs type ext4 (rw,relatime,data=ordered) [HD1030]
/dev/sdg3 on /myMusic type ext4 (rw,relatime,data=ordered) [myMusic]
gzunder:~ #

Note - No /dev/sda3!

So, provide password to the mount GUI pop-up. And …

gzunder:~ # mount -l | grep /dev/
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
/dev/sdh2 on / type ext4 (rw,relatime,data=ordered) [SSD-860]
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
/dev/sdi1 on /home type ext4 (rw,relatime,data=ordered) [SSD-850]
/dev/sdg2 on /VirtualBoxVMs type ext4 (rw,relatime,data=ordered) [HD1030]
/dev/sdg3 on /myMusic type ext4 (rw,relatime,data=ordered) [myMusic]
/dev/sda3 on /run/media/mprowe/WD640GB type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) [WD640GB]
gzunder:~ # 

The partition has been mounted on /run/media/mprowe/WD640GB as if it were a “Removable” device ie. USB stick?

Is there a system-wide login script which addresses the CIFS mount point, called by the user’s KDE login?(Files or links in the ‘~/.config/plasma-workspace/’ subdirectories?)

Again, No. Interestingly, I don’t have that path. I do have these:

gzunder:/home/mprowe/.config # ls | grep plas
plasma-localerc
plasma-nm
plasma-org.kde.plasma.desktop-appletsrc
plasma-pk-updates
plasmashellrc
gzunder:/home/mprowe/.config # 

But none have any mount references (that I can deduce, anyway).

Regards, Martin

The ~/.config/ directory ‘plasma-workspace/’ and the configuration file ‘plasma_workspace.notifyrc’ are created by Plasma5 only if, in the user’s KDE setup Shutdown and/or Pre-KDE Startup scripts are defined in the “Workspace” -> “Startup and Shutdown” section.

Any Startup scripts should by in ~/.config/autostart/ – sorry, my mistake …

But, it’s been mounted as an ext4 partition …

  • As a “user” mount – only the user who mounted the thing can access it …

The fstab has an entry which indicates that there’s a remote CIFS directory somewhere which should appear in the /smb/ mount point.

  • Does this mount happen? Where is it?