Registered Member
|
Hi all
I am using KDE on OpenSUSE 15, all updates are up to date. I created a second user on a different partition. The home path of the user is not standard, I mean it does not begin with /home When I try to login with Plasma shell the second user the screen remains black, with just the cursor visible. If I press CTR-ALT-Del the ksmserver-logout-greeter crashes and the user is logged out. Logging in with a IceWM session works fine. In the error and messages files I can't find any useful information. I can just say the in case of successful login I have a lot of plasmashell messages, otherwise just 4 log lines, two appear also in the first case. The others say:
I'm fairly sure that the issue is related to the home path because the first user, and a test user, can login using plasma sessions with no problems. I tried many things. Deleting and recreating the user, copying one or many configuration files from one user to the other, clearing the cache. Eventually just one thing helped a bit, I created a symbolic link in /home to the user home and then I logged in successfully. But it lasted until I got the latest updates and restarted my PC, then the problem appeared again. Is there a way to solve this keeping the users well separated? I mean avoiding put all the homes on the same partition. |
Registered Member
|
to your last question about keeping the users' home directories on separate partitions, the answer is that you can do that and just mount the per-user partitions to /home/<user> (instead of wherever else you may be mounting them currently). When doing so, the system shouldn't care that the user's home directory is on a different partition but should work as expected due to the home directory existing in the expected path.
Workarounds exist for using other file paths involving setting certain environment variables such as $HOME to redirect to the other location. This has been discussed not too long ago on these forums.
airdrik, proud to be a member of KDE forums since 2008-Dec.
|
Registered Member
|
I tried to search and I could not find the conversation mentioned by airdrik, just some issues not really closedly related, but with some more tips. I tried to create a script in: $HOME/.config/plasma-workspace/env
where I set the environment variable:
But it didn't solve the issue, are there other variables I should set? |
Registered Member
|
Some more information. I didn't notice before the Xorg log file. It was in ~/.local/share/sddm/Xorg-session.log
the content is:
|
Registered Member
|
I found the cause of the issue by chance while I was working on something else.
The partition mount command in fstab had the user flag, but it was missing the exec flag. Therefore any script or program on that partition was not executable even when the umask was set as executable. So, the issue was not caused by the path as I thought in the beginning. Just a Permission denied. |
Registered Member
|
I'm glad you got that resolved.
I do want to respond to one of your earlier comments:
$KDEHOME was dropped in KDE frameworks 5 in favor of the XDG standard environment variables, notably $XDG_CONFIG_HOME for config files (defaults to ~/.config) and $XDG_DATA_HOME for other per-user data files such as themes (defaults to ~/.local/share)
airdrik, proud to be a member of KDE forums since 2008-Dec.
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]