KDE Wallet ask for password when using GDM

You can have KDE Wallet unlock automatically when logging into KDE Plasma through GDM. The preferred method is PAM: GDM passes your login password to pam_kwallet5, which unlocks the default kdewallet. KDE’s documentation confirms this is the intended mechanism. (Arch Linux Wiki)

Assuming you’re using Plasma 6, do the following.

1. Make sure KWallet PAM is installed

On Ubuntu/Kubuntu/Debian:

sudo apt install libpam-kwallet5

On Arch:

sudo pacman -S kwallet-pam

On Fedora:

sudo dnf install kf5-kwallet-pam

2. Check your wallet

Open:

kwalletmanager

Your main wallet should be named:

kdewallet

Most importantly, its password must be the same as your Linux login password. PAM needs this because it uses the password entered into GDM to unlock the wallet. (Arch Linux Wiki)

If necessary, in KWallet Manager use Change Password and set it to your current Linux password.

3. Configure GDM PAM

With GDM, the relevant PAM configuration is normally:

/etc/pam.d/gdm-password

First check whether KWallet is already configured:

grep -n kwallet /etc/pam.d/gdm-password

For Plasma 6, you want KWallet PAM involved in both authentication and session startup. For example:

auth     optional    pam_kwallet5.so
session  optional    pam_kwallet5.so auto_start kwalletd=/usr/bin/ksecretd

The ksecretd part is important on current Plasma 6 systems; older Plasma versions used kwalletd5. (Arch Linux Wiki)

Don’t blindly replace your gdm-password file. The exact placement of these lines depends on your distribution’s existing PAM stack.

4. Reboot and test

After rebooting, log in through GDM using your password.

Then run:

qdbus6 org.kde.kwalletd6

or check the processes:

ps aux | grep -E 'kwallet|ksecret'

You can also open KWallet Manager. kdewallet should already be open without asking for its password.

One important limitation

If by “login automatic” you mean GDM autologin, where you don’t type a password at all, that’s a different situation.

KWallet PAM normally needs the login password to decrypt the wallet. If GDM automatically logs you in without providing that password, PAM has no password available with which to unlock kdewallet. The same problem occurs with fingerprint-only login. (Arch Linux Wiki)

Source: ChatGPT – Ask: How to get KDE wallet service to login automatic when using GDM?

Enabling Disk UUID’s in VMWare Workstation

When you are trying use VMWare Workstation as host for ex. TrueNAS the disk has no serial number (UUID) as default.

Then you can’t create a disk pool in TrueNAS without enable support for using disk without serial number (UUID).

To solve this you edit the “.VMX” for the virtual machine.

1. Shutdown the virtual machine in VMWare workstation.

2. In the directory where the virtual machine is located, find the file “VMX” file.

3. If your virtual machine is call “TrueNAS” the file will be named “TrueNAS.vmx”

4. Open the VMX file with and editor and add:

disk.EnableUUID = "TRUE"

5. At the buttom of the file and save the file.

6. Start the virtual machine and verify your disk now have serial numbers assigned.

Insert an external block with the same name in AutoCAD

If you have a DWG template with a block inside with the same name as the DWG file, and you try to insert it into another DWG file, then you often get the error:

"Block references itself"

To fix this you can on the command line run this command by adding an asterix (*) before the filename with the extension “.dwg”:

Example inserting MyBlock.dwg with a block inside called MyBlock should be specified as below.

-INSERT Enter block name or [?]: *C:\MyFolder\MyBlock

Thereafter, is just specify insertion point, scale etc.

If there already is a block specified inside the current called MyBlock then you will have to purge this block before the above.

Restore old Right-click menu in Windows 11

Restore the old Context Menu in Windows 11

  1. Right-click the Start button and choose Windows Terminal.
  2. Copy the command from below, paste it into the Windows Terminal Window, and press Enter.

    C:\> reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
  3. Restart File Explorer or your computer for the changes to take effect.

Restore Modern Context menus in Windows 11

To undo this change, in a Terminal Window, execute this command:

  1. Copy the command from below, paste it into the Windows Terminal Window, and press Enter.

    C:\> reg.exe delete "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f
  2. Restart the File Explorer or Computer for the changes to take effect.

These steps can help you to enable the old context menu in Windows 11.

Source: https://learn.microsoft.com/en-gb/answers/questions/2287432/(article)-restore-old-right-click-context-menu-in

The user did not accept the license agreement passing EULAS_AGGRED=1 on the command line when installing VMware Workstation

When I tried to install VMware Workstation 25H2 on Windows 11, I got the above error.

To fix it, I ran the below command from an administrator command line:

C:\>VMware-Workstation-Full-25H2-24995812.exe /s /v "/qn EULAS_AGREED=1"

The /s and /v "/qn" flags are for silent installation; adjust as needed.

Then VMware Workstation installed without problems.