Sun, 1 Sep 2024 22:14:18 -0400 Felix Miata <mrmazda@earthlink.net> :
bent fender composed on 2024-09-01 06:30 (UTC-0400):
Still cannot log-in if home folder is on a data partition NOT mounted undedr /home but as data and linked to.
This sounds like could be a disparity between UIDs/GIDs in /etc/passwd output,
Yes, it happens when the data drive doesn't get mounted for any reason. Then I usually mount it manually and all works as it should.
on /home/* without any filesystem mounted upon it, and those on the filesystem you wish mounted to /home/. Mount that filesystem somewhere other than /home/, then doing the following:
tail /etc/passwd (*)
Why tail, that lists only the last 10 lines, no?
ls -dn /home/ ls -n /home/ ls -n /mountpoint-of-data-filesystem/
Compare output of these to see if the username and groupnames correctly correlate among those outputs for each existing regular user that needs a GUI login to work.
* If relevant username/groupname do not appear in tail output, simply scan the file with any file viewer for the relevant username(s) and groupname(s) applicable for/to the needed comparison.
I'll have to be clearer paraphrasing my setup: - all users are members of group g (1999) - one data drive is mounted in fstab @ /data all users and group: rwx, others: r - some users' homes are under /home such as home/u0 - some users' homes are links like /home/ux pointing to /data/ux/Tw (in the case of Tumbleweed). In my Slackware system for example /home/ux points to /data/ux/sLk and so on - all those users that are actually me have links like /data/ux/0 pointing to /data/ux/zero hosting for example my Sylpheed folders so that it doesn't matter which distro I boot using which desktop my email always works in the same folder. There are other similira rigs for common dolphinrc and like configs. Some apps are conviviality-hogs and resist such efforts so they will soon get dumped, Mozila leading the way because Pan (like many others) is not problematic. Ubuntu's snap or whaaaateeevr was also a conviviality-hog and refused to allow this so Ubuntu-Studio also got dumped. The only difference that I see as being unusual is that the /home/ux link pointing to /data/ux/Tw belongs to ux and group g as opposed to the normal root and root. I don't know how this came about but it is sometimes hard to link /data/ux/Tw into /home/ux (I do all such tweaks in dolphin-super-u). My system has been working very well and still does with the other distros but has hit some new twist maybe related to the TW issues or to 'keyboard-confusion' :-)
-- Evolution as taught in public schools is, like religion, based on faith, not based on science.
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata