View previous topic :: View next topic |
Author |
Message |
Shimijda n00b
Joined: 06 Mar 2024 Posts: 5
|
Posted: Wed Mar 06, 2024 2:37 pm Post subject: SOLVED KDE settings and everything resets when I reboot |
|
|
Please help me. My KDE Plasma runs on latest, fresh install of Gentoo. Whenever I reboot my system, or even navigate away from the page that I've configured on system settings are just resetting every time. I does even show me "Welcome to KDE Plasma" window over and over again when it's booted up. The system uses OpenRC. Thank you so much. Peace.
Last edited by Shimijda on Wed Mar 06, 2024 5:44 pm; edited 1 time in total |
|
Back to top |
|
|
kgdrenefort Apprentice
Joined: 19 Sep 2023 Posts: 185 Location: Somewhere in the 77
|
Posted: Wed Mar 06, 2024 2:51 pm Post subject: |
|
|
Hi,
You mean, each time you relog to your session, nothing is kept ? That is also taking the case of rebooting. But the difference might be important.
The only things that rings a bell about what you say is it's looking like while you log, KDE somehow isn't taking the files needed to run KDE from your user.
I'll guess something weird happened while installing.
Let's check that out if you agree, can you post here the output of these commands please (# in front means as root, $ as your normal user):
This command will display the list of disks and partitions
This command will list all directory for each user on your system, with their permissions
This command will display which profile you are using, mostly it should be openrc with plasma, merged-usr IIRC
Code: | # eselect profile list |
This command will display the available and used kernel, probably useless but since we are here…
Code: | # eselect kernel list |
This command display what is actually mounted
This command will display the content of your make.conf file
Code: | # cat /etc/portage/make.conf |
This command will display the content of the /etc/fstab file, which at boot allow things to be mounted or not and how
This command will try to write an empty file into your home directory, please do it with your user and please replace «youruser» by… your user.
Code: | $ touch /home/youruser/test_file |
Regards,
GASPARD DE RENEFORT Kévin _________________ «Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa |
|
Back to top |
|
|
Shimijda n00b
Joined: 06 Mar 2024 Posts: 5
|
Posted: Wed Mar 06, 2024 2:57 pm Post subject: |
|
|
Hello kgdrenefort,
Of course, thank you for helping me out. Here is the things that you want.
fdisk -l (ran as sudo)
Code: | shimijda@mothership ~ $ sudo fdisk -l
Password:
Disk /dev/nvme0n1: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk model: WDC PC SN530 SDBPNPZ-256G-1002
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: DCE3D55C-8A54-472F-A482-AAA972CFD83B
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 2099199 2097152 1G EFI System
/dev/nvme0n1p2 2099200 10487807 8388608 4G Linux swap
/dev/nvme0n1p3 10487808 500118158 489630351 233.5G Linux filesystem
|
ls -la /home/* (ran as sudo)
Code: | shimijda@mothership ~ $ ls -la /home/*
total 32
drwxr-xr-x 1 shimijda shimijda 368 Mar 6 17:43 .
drwxr-xr-x 1 root root 16 Mar 6 10:58 ..
-rw------- 1 shimijda shimijda 3535 Mar 6 17:46 .bash_history
-rw-r--r-- 1 shimijda shimijda 127 Mar 6 00:40 .bash_logout
-rw-r--r-- 1 shimijda shimijda 204 Mar 6 00:40 .bash_profile
-rw-r--r-- 1 shimijda shimijda 551 Mar 6 00:40 .bashrc
drwxr-xr-x 1 shimijda shimijda 818 Mar 6 17:54 .cache
drwx------ 1 root root 18 Mar 6 16:03 .config
drwx------ 1 shimijda shimijda 22 Mar 6 14:30 .dbus
drwxr-xr-x 1 shimijda shimijda 294 Mar 6 17:46 Desktop
drwxr-xr-x 1 shimijda shimijda 0 Mar 6 16:04 Documents
drwxr-xr-x 1 shimijda shimijda 38 Mar 6 17:05 Downloads
-rw-r--r-- 1 shimijda shimijda 265 Mar 6 17:41 .gtkrc-2.0
drwxr-xr-x 1 shimijda shimijda 20 Mar 6 16:04 .local
drwx------ 1 shimijda shimijda 34 Mar 6 16:30 .mozilla
drwxr-xr-x 1 shimijda shimijda 0 Mar 6 16:04 Music
drwxr-xr-x 1 shimijda shimijda 0 Mar 6 16:04 Pictures
drwxr-xr-x 1 shimijda shimijda 0 Mar 6 16:04 Public
drwxr-xr-x 1 shimijda shimijda 0 Mar 6 16:04 Templates
-rw-r--r-- 1 shimijda shimijda 1126 Mar 6 16:26 trq.map.gz
drwxr-xr-x 1 shimijda shimijda 6 Mar 6 17:43 .var
drwxr-xr-x 1 shimijda shimijda 0 Mar 6 16:04 Videos
-rw-r--r-- 1 shimijda shimijda 21 Mar 6 17:04 .xinitrc
-rw------- 1 shimijda shimijda 59 Mar 6 14:40 .xsession-errors
|
eselect profile list (ran as sudo)
Code: |
shimijda@mothership ~ $ sudo eselect profile list
Available profile symlink targets:
[1] default/linux/amd64/17.1 (stable)
[2] default/linux/amd64/17.1/selinux (stable)
[3] default/linux/amd64/17.1/hardened (stable)
[4] default/linux/amd64/17.1/hardened/selinux (stable)
[5] default/linux/amd64/17.1/desktop (stable)
[6] default/linux/amd64/17.1/desktop/gnome (stable)
[7] default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr (stable)
[8] default/linux/amd64/17.1/desktop/plasma (stable)
[9] default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr (stable)
[10] default/linux/amd64/17.1/desktop/systemd/merged-usr (stable)
[11] default/linux/amd64/17.1/developer (exp)
[12] default/linux/amd64/17.1/no-multilib (stable)
[13] default/linux/amd64/17.1/no-multilib/hardened (stable)
[14] default/linux/amd64/17.1/no-multilib/hardened/selinux (stable)
[15] default/linux/amd64/17.1/no-multilib/systemd/merged-usr (dev)
[16] default/linux/amd64/17.1/no-multilib/systemd/selinux/merged-usr (exp)
[17] default/linux/amd64/17.1/systemd/merged-usr (stable)
[18] default/linux/amd64/17.1/systemd/selinux/merged-usr (exp)
[19] default/linux/amd64/17.1/clang (exp)
[20] default/linux/amd64/17.1/systemd/clang/merged-usr (exp)
[21] default/linux/amd64/23.0 (exp)
[22] default/linux/amd64/23.0/systemd (exp)
[23] default/linux/amd64/23.0/desktop (exp)
[24] default/linux/amd64/23.0/desktop/systemd (exp)
[25] default/linux/amd64/23.0/desktop/gnome (exp)
[26] default/linux/amd64/23.0/desktop/gnome/systemd (exp)
[27] default/linux/amd64/23.0/desktop/plasma (exp) *
[28] default/linux/amd64/23.0/desktop/plasma/systemd (exp)
[29] default/linux/amd64/23.0/no-multilib (exp)
[30] default/linux/amd64/23.0/no-multilib/systemd (exp)
[31] default/linux/amd64/23.0/no-multilib/hardened (exp)
[32] default/linux/amd64/23.0/no-multilib/hardened/systemd (exp)
[33] default/linux/amd64/23.0/no-multilib/hardened/selinux (exp)
[34] default/linux/amd64/23.0/no-multilib/hardened/selinux/systemd (exp)
[35] default/linux/amd64/23.0/no-multilib/prefix (exp)
[36] default/linux/amd64/23.0/no-multilib/prefix/kernel-2.6.32+ (exp)
[37] default/linux/amd64/23.0/no-multilib/prefix/kernel-2.6.16+ (exp)
[38] default/linux/amd64/23.0/no-multilib/prefix/kernel-3.2+ (exp)
[39] default/linux/amd64/23.0/llvm (exp)
[40] default/linux/amd64/23.0/llvm/systemd (exp)
[41] default/linux/amd64/23.0/hardened (exp)
[42] default/linux/amd64/23.0/hardened/systemd (exp)
[43] default/linux/amd64/23.0/hardened/selinux (exp)
[44] default/linux/amd64/23.0/hardened/selinux/systemd (exp)
[45] default/linux/amd64/23.0/split-usr (exp)
[46] default/linux/amd64/23.0/split-usr/desktop (exp)
[47] default/linux/amd64/23.0/split-usr/desktop/gnome (exp)
[48] default/linux/amd64/23.0/split-usr/desktop/plasma (exp)
[49] default/linux/amd64/23.0/split-usr/no-multilib (exp)
[50] default/linux/amd64/23.0/split-usr/no-multilib/selinux (exp)
[51] default/linux/amd64/23.0/split-usr/no-multilib/hardened (exp)
[52] default/linux/amd64/23.0/split-usr/no-multilib/hardened/selinux (exp)
[53] default/linux/amd64/23.0/split-usr/no-multilib/prefix (exp)
[54] default/linux/amd64/23.0/split-usr/no-multilib/prefix/kernel-2.6.32+ (exp)
[55] default/linux/amd64/23.0/split-usr/no-multilib/prefix/kernel-2.6.16+ (exp)
[56] default/linux/amd64/23.0/split-usr/no-multilib/prefix/kernel-3.2+ (exp)
[57] default/linux/amd64/23.0/split-usr/llvm (exp)
[58] default/linux/amd64/23.0/split-usr/hardened (exp)
[59] default/linux/amd64/23.0/split-usr/hardened/selinux (exp)
[60] default/linux/amd64/17.0/x32 (dev)
[61] default/linux/amd64/17.0/x32/systemd/merged-usr (exp)
[62] default/linux/amd64/23.0/x32 (exp)
[63] default/linux/amd64/23.0/x32/systemd (exp)
[64] default/linux/amd64/23.0/split-usr/x32 (exp)
[65] default/linux/amd64/17.0/musl (dev)
[66] default/linux/amd64/17.0/musl/clang (exp)
[67] default/linux/amd64/17.0/musl/hardened (exp)
[68] default/linux/amd64/17.0/musl/hardened/selinux (exp)
[69] default/linux/amd64/23.0/musl (exp)
[70] default/linux/amd64/23.0/musl/llvm (exp)
[71] default/linux/amd64/23.0/musl/hardened (exp)
[72] default/linux/amd64/23.0/musl/hardened/selinux (exp)
[73] default/linux/amd64/23.0/split-usr/musl (exp)
[74] default/linux/amd64/23.0/split-usr/musl/llvm (exp)
[75] default/linux/amd64/23.0/split-usr/musl/hardened (exp)
[76] default/linux/amd64/23.0/split-usr/musl/hardened/selinux (exp)
|
eselect kernel list (ran as sudo)
Code: | shimijda@mothership ~ $ sudo eselect kernel list
Available kernel symlink targets:
[1] linux-6.6.16-gentoo-dist
[2] linux-6.7.7-gentoo-dist *
|
mount (ran as sudo)
Code: | shimijda@mothership ~ $ sudo mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,size=10240k,nr_inodes=2004700,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,inode64)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,mode=755,inode64)
/dev/nvme0n1p3 on / type btrfs (rw,noatime,compress-force=zstd:3,ssd,discard=async,space_cache=v2,subvolid=256,subvol=/root)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
none on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
/dev/nvme0n1p1 on /boot/efi type vfat (rw,nosuid,nodev,noexec,noatime,fmask=0177,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro,discard)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1606628k,nr_inodes=401657,mode=700,uid=1000,gid=1000,inode64)
portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000) |
cat /etc/fstab (ran as user)
Code: | shimijda@mothership ~ $ cat /etc/fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed); notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#
# <fs> <mountpoint> <type> <opts> <dump/pass>
UUID=a4d50d7b-754e-4248-8d47-8b1f0da58a01 / btrfs defaults,noatime,compress-force=zstd,subvol=/root 0 1
UUID=176C-EE81 /boot/efi vfat defaults,noatime,fmask=0177,dmask=0077,noexec,nodev,nosuid,discard 0 2
UUID=a1140068-9102-44c9-a25a-02b1987ef20d none swap defaults,discard |
shimijda@mothership ~ $ touch /home/shimijda/test_file (SUCCESS) |
|
Back to top |
|
|
kgdrenefort Apprentice
Joined: 19 Sep 2023 Posts: 185 Location: Somewhere in the 77
|
Posted: Wed Mar 06, 2024 3:30 pm Post subject: |
|
|
So far I guess it's OK regarding how your system is mounted (/), permissions seems correct, that is weird. I was expecting to have a problem for writing somehow or mounting.
Another guess would be a space left issue, which is unlikely regarding it's a fresh installation and you have 233.5G amount of space. Mostly it'll block you from logging instead of reseting your KDE configuration. But still…
Display all mounted partition and their disk usage
-i checks inodes, which is even most unlikely, but again, since we are here…
If there is a space left problem, take care and retry.
Just to be 100% sure.
If it doesn't have a space left issue, which I expect:
After backuping up your ~/.config folder, remove everything related to KDE / Plasma inside, do it possibly from a TTY with SDDM and Plasma shutted down.
The idea is to force KDE to rewrite what it needs to works, full reset:
Code: | $ cp -a ~/.config ~/.config_backup |
Code: | # The proper openrc command to shutdown SDDM |
Code: | $ rm ~/.config/kde* |
Code: | $ rm ~/.config/plasma* |
Then, I would restart to be sure and try to relog. If it breaks anything, you simply have to:
Code: | $ cp -a ~/.config_backup ~/.config |
And it will be restored as nothing happened.
Hope it helps, but I'm out of ideas.
Regards,
GASPARD DE RENEFORT Kévin _________________ «Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa |
|
Back to top |
|
|
Shimijda n00b
Joined: 06 Mar 2024 Posts: 5
|
Posted: Wed Mar 06, 2024 3:43 pm Post subject: |
|
|
Alright. While I was doing what you said, I noticed my user has no access to .config folder. Since the install is fresh and installed like 4 hours ago, I simply sudo rm'd and created new .config folder, rebooted and now it fully works! Thank you so much for trying to solve it. |
|
Back to top |
|
|
kgdrenefort Apprentice
Joined: 19 Sep 2023 Posts: 185 Location: Somewhere in the 77
|
Posted: Wed Mar 06, 2024 4:38 pm Post subject: |
|
|
Shimijda wrote: | Alright. While I was doing what you said, I noticed my user has no access to .config folder. Since the install is fresh and installed like 4 hours ago, I simply sudo rm'd and created new .config folder, rebooted and now it fully works! Thank you so much for trying to solve it. |
That is very weird, but somehow it was a permission issue. Since KDE wasn't able with your user to write any modification to your .config, seems this weird behaviour was not magic.
You can edit your topic and add [Solved] at the beginning of title.
Cheers,
GASPARD DE RENEFORT Kévin _________________ «Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|