You are not logged in.
I've added a new user with:
[stew@Romulus ~]$ sudo useradd -m -g users -G sys lp gdb -s /bin/bash ferg
[stew@Romulus ~]$ sudo passwd ferg
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
However, when I log-out of my primary account and return to the GDM screen the only option is my primary account. Are there any tricks to ensuring that my user appears in GDM?
Here is some debugging stuff if that helps:
[stew@Romulus ~]$ cut -d: -f1 /etc/passwd
root
bin
daemon
mail
ftp
http
uuidd
dbus
nobody
systemd-journal-gateway
systemd-timesync
systemd-network
systemd-bus-proxy
systemd-resolve
systemd-journal-remote
systemd-journal-upload
systemd-coredump
stew
nvidia-persistenced
avahi
polkitd
colord
rtkit
gdm
usbmux
deluge
plex
git
ferg
[stew@Romulus ~]$ id ferg
uid=1001(ferg) gid=100(users) groups=100(users),3(sys),7(lp),120(gdm)
[stew@Romulus ~]$ id stew # This is my primary account that works well.
uid=1000(stew) gid=1000(stew) groups=1000(stew),3(sys),7(lp),100(users)
Edit: Disabled auto-login and it didn't make a difference.
Edit: Deleted and recreated the user with gnome's "Settings" application. Still don't see the new user in GDM.
Last edited by stewbond (2016-07-11 16:47:24)
Offline
Not sure if it's impolite to bump posts, but my question is still outstanding. I've been having trouble finding anyone with the same issue.
Offline
Have you restarted GDM after adding a new user?
Offline
Yes, I've rebooted the full machine several times.
Offline
It has been years since I have used any Display Manager, let alone gdm. Working from memory, I think it hides users with UIDs less than 1000. What is the UID for the new user? You might check the configuration of gdm as to what ranges it hides.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Since when do DM's display users in the sys group by default?
Offline
Since when do DM's display users in the sys group by default?
Are you and I saying the same thing?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Oh wow, I feel silly.
I just disabled my auto-login for my primary user and rebooted. Then gdm worked perfectly.
The UID of that user is 1001 so it seems okay now.
Thanks!
Offline
Awebb wrote:Since when do DM's display users in the sys group by default?
Are you and I saying the same thing?
Yes and no. Yes. Sort of.
I was referring to OP's user group:
useradd -m -g users -G sys lp gdb -s /bin/bash ferg
Both should normally not be shown by the average DM.
Offline