I installed Kicksecure on my desktop yesterday, and since then I have spent several hours attempting to debug it, with limited success.
I am at my wits end.
After my initial install, I was experiencing many of these problems (random logouts, amd_pstate failed to load, kanshi config not applied automatically) and then the terminal suddenly stopped working. When I tried to open Qterminal or use anything in the System Maintenance Panel that would normally launch the Qterminal, nothing happened.
I could not find any way to fix this or install another terminal emulator, so I reinstalled the system from scratch. My terminal is back, but there are several other problems.
I considered creating a separate post for each of these, but it seems likely that at least some of these issues are connected. I’m using the latest version of Kicksecure, based on Debian 13.6.
Overview of Problems:
- Logged out of computer at random intervals
- Kanshi config is not automatically applied upon startup
- amd_pstate failed to load
- sudo apt update: Error due to keyring mismatch
- systemd critical journal messages - nouveau, channel 16 killed
1. Logged out of computer at random intervals
At seemingly random intervals, I am logged out of the computer and end up on the black log in screen where it asks me to enter my username. When I log back in, all of my applications are closed and anything I didn’t save is gone. This has happened while I am actively using my computer, and it has happened twice while writing this post. This could be coincidental, but it only seems to happen when I have adjusted the scale of my display.
2. Kanshi config is not automatically applied upon startup
When I restart Kanshi the settings in my config file are applied, but I have to do that manually every single time I boot my computer. I tried to get around this by creating the file /etc/rc.local with the following contents and giving it execute permissions. This script is supposed to run on start up, but my display config settings are only applied if I execute the script manually.
#!/bin/sh
systemctl --user restart kanshi
exit 0
3. amd_pstate failed to load
Every time I boot my computer, before I enter the passphrase to decrypt my drive, it outputs:
[ 5.447055] amd_pstate: failed to enable driver mode(3)
When I run lsmod it does not list amd_pstate. When I run modprobe, it outputs:
[user ~]% sudo modprobe amd_pstate
modprobe: FATAL: Module amd_pstate not found in directory /lib/modules/6.12.111+deb13-amd64
zsh: exit 1 sudo modprobe amd_pstate
I have already tried updating my BIOS, enabling CPPC in my BIOS settings, and adding the amd_pstate=active rameter to /etc/default/grub with the following line before running ‘sudo update-grub’ and rebooting my device.
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_pstate=active"
Do I even need amd_pstate, or can I just ignore this error for the rest of time?
4. sudo apt update: Error due to keyring mismatch
This is the newest error, and it prevents me from using sudo apt update. It started after I tried to install Mullvad VPN, following the instructions on their website. Here are the commands I entered:
sudo apt install curl
sudo curl -fsSLo /usr/share/keyrings/mullvad-keyring.asc https://repository.mullvad.net/deb/mullvad-keyring.asc
echo "deb [signed-by=/usr/share/keyrings/mullvad-keyring.asc arch=$( dpkg --print-architecture )] https://repository.mullvad.net/deb/stable stable main" | sudo tee /etc/apt/sources.list.d/mullvad.list
sudo apt update
When I run ‘sudo apt update’, it outputs
[user ~]% sudo apt update
Error: Conflicting values set for option Signed-By regarding source https://repository.mullvad.net/deb/stable/ stable: /usr/share/keyrings/mullvad-keyring.asc != /etc/apt/keyrings/mullvad-keyring.asc
Error: The list of sources could not be read.
zsh: exit 100 sudo apt update
I tried deleting /usr/share/keyrings/mullvad-keyring.asc and /etc/apt/keyrings/mullvad-keyring.asc and rerunning the above commands, but it did not solve the problem.
5. systemd critical journal messages - nouveau, channel 16 killed
When I run System Check, I get the following output
ERROR: systemd critical journal messages check result (current boot): Possible system issue detected. Some unusual entries were found in the kernel log.
There is no need to panic. This is not a serious security issue. However, it may affect other system checks. These messages might indicate hardware or software problems.
Detected messages:
Sep 30 14:14:34 localhost kernel: nouveau 0000:2b:00.0: labwc[2314]: channel 16 killed!
Sep 30 15:12:18 localhost kernel: nouveau 0000:2b:00.0: labwc[9098]: channel 16 killed!
Sep 30 16:00:58 localhost kernel: nouveau 0000:2b:00.0: labwc[16315]: channel 16 killed!
If you know what you are doing, feel free to disable this check. Create a file /etc/systemcheck.d/50_user.conf and add:
systemcheck_skip_functions+=" check_journal "
INFO: Kicksecure is a research project.
INFO: user-sysmaint-split: Absent
INFO: user-sysmaint-split session detection result: USER Session.
INFO: Full Disk Encryption (FDE): Enabled
INFO: GRUB Bootloader Password: Absent
INFO: Kicksecure Login Security Check (Colors) :
+----------+--------------------------------------+
| Users | Password GUI Autologin |
+----------+--------------------------------------+
| root | Locked (Present) Disabled |
| user | Absent Enabled |
| sysmaint | Absent Disabled |
+----------+--------------------------------------+
You can adjust these settings using "Manage Passwords" and "Manage GUI Autologin" in the System Maintenance Panel.
INFO: Secure Boot: Enabled
INFO: tirdad - TCP ISN CPU Information Leak Protection: Enabled
INFO: Kicksecure APT Repository: Enabled. When the Kicksecure team releases TRIXIE updates, they will be AUTOMATICALLY installed (when you run apt-get dist-upgrade) along with updated packages from the Debian team. Please read Trust to understand the risk. If you want to change this, use:
Start Menu -> System -> Derivative Repository
WARNING: Debian Package Update Check Result: Could not check for software updates! (apt-get code: 100)
Please manually check:
(Open a terminal, Start Menu -> System -> Terminal.)
upgrade-nonroot
Should I be concerned?