Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
One user can log in the rest can't.
I installed 18.3 and created users for me and my kids. I can log in, kids can't -- after them entering their respective passwords the screen turns black for about 2 seconds, then the login screen comes back. No error message. Google didn't help. Any ideas here?
I installed 18.3 and created users for me and my kids. I can log in, kids can't -- after them entering their respective passwords the screen turns black for about 2 seconds, then the login screen comes back. No error message. Google didn't help. Any ideas here?
Permissions on their home directories would be the first place to check. If they're not owned and/or read/writeable to their respective user ID's, they can't create the necessary files/directories that KDE/Gnome/Whatever-DE is going to want to create.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Original Poster
Rep:
Iwill try that, when I come home. What is the mechanism mint uses to connect users to their home directories? Is it the username, a user-ID (like 1001) and how can one check or change that "connection"?
Iwill try that, when I come home. What is the mechanism mint uses to connect users to their home directories? Is it the username, a user-ID (like 1001) and how can one check or change that "connection"?
When you create the user, it will either create the home directories (read the man page on the useradd command), or not. If it doesn't...that means you have to create them manually. Such information is tied both to user name and ID. Look at an entry in the /etc/passwd file to see what it looks like.
Easiest to delete the few users you created, and re-add them with the "-m" flag, and specify their home directories. Will automatically get created with proper permissions and skeleton files.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Original Poster
Rep:
Quote:
Originally Posted by TB0ne
When you create the user, it will either create the home directories (read the man page on the useradd command), or not. If it doesn't...that means you have to create them manually. Such information is tied both to user name and ID. Look at an entry in the /etc/passwd file to see what it looks like.
Okay. I'll read the man page and look at /etc/passwd.
Quote:
Originally Posted by TB0ne
Easiest to delete the few users you created, and re-add them with the "-m" flag, and specify their home directories. Will automatically get created with proper permissions and skeleton files.
Here the problem is, that these directories exist on an extra partition and hold some data from a former installation of 17.3. I want to keep and re-use them. Never had this problem before ... .
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Original Poster
Rep:
Gah. Solved. And so easy, thanks TB0ne: The user:group values of my children just were exchanged (son <-> daughter), simply "chown -R <son>:<son> /home/<son> or daughter as it is and all is well. Thread marked as solved. There are situations or days when one is simply dense, it seems. Thanks again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.