A recent acquisition will increase the number of Linux servers here dramatically and most of the system admins now want to learn about Linux. To this end I am trying to set up some CentOS7 desktops in VMWare VDI. To make this work cleanly I want the owner of a particular to see his name only at the login screen.
In CentOS 6 I could edit /etc/gdm/custom.conf to add:
[greeter]
IncludeAll=false
Include=<whomever>
but this does not work in CentOS 7. Is there a way to do it?
Customizing GDM login screen
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: Customizing GDM login screen
Try with /etc/dconf/db/gdm.d/01-custom-gdm-settings
You will need to run:
You will need to run:
Code: Select all
dconf update && systemctl restart gdm
-
- Posts: 135
- Joined: 2014/06/17 21:50:37
Re: Customizing GDM login screen
thank you but that did not work. In fact it looks like there is no provision for such a customization in Gnome3
Interestingly, the alleged command-line tool called gsettings cannot set a key from the command line.
Code: Select all
# gsettings list-keys org.gnome.login-screen
fallback-logo
disable-user-list
allowed-failures
enable-smartcard-authentication
banner-message-enable
enable-password-authentication
disable-restart-buttons
logo
enable-fingerprint-authentication
banner-message-text
Code: Select all
# gsettings set org.gnome.login-screen disable-user-list true
(process:18577): dconf-WARNING **: failed to commit changes to dconf: Cannot autolaunch D-Bus without X11 $DISPLAY
Re: Customizing GDM login screen
Create or edit /var/lib/AccountsService/users/theuserinquestion and put this in it
The userinquestion will no longer be listed on the login menu screen.
Edited to remove systemctl restart gdm as it takes effect immediately without that.
Code: Select all
[User]
SystemAccount=true
Edited to remove systemctl restart gdm as it takes effect immediately without that.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 135
- Joined: 2014/06/17 21:50:37
Re: Customizing GDM login screen
A follow up to the above. I did figure out how to disable the user list from a command line.
Edit /etc/dconf/db/gdm.d/00-login-screen and add the following lines:
[org/gnome/login-screen]
disable-user-list=true
Update dconf and restart gdm
# dconf update && systemctl restart gdm
Better than nothing I guess.
Edit /etc/dconf/db/gdm.d/00-login-screen and add the following lines:
[org/gnome/login-screen]
disable-user-list=true
Update dconf and restart gdm
# dconf update && systemctl restart gdm
Better than nothing I guess.
Re: Customizing GDM login screen
I have the same question I want to change my background from the login screen I try this:
vim /etc/dconf/db/gdm.d/01-logo
[org/gnome/login-screen]
logo='/home/sirfacu/Imágenes/images.jpg'
vim /etc/dconf/db/gdm.d/00-login-screen
[org/gnome/desktop/screensaver]
picture-uri='file:///home/sirfacu/Imágenes/images.jpg'
picture-options='zoom'
disable-user-list=true
[sirfacu@sirfacu ~]$ tree /etc/dconf/db/gdm.d
/etc/dconf/db/gdm.d
├── 00-login-screen
├── 01-logo
└── locks
Then I update the dconf database and restart the service
[sirfacu@sirfacu ~]$ sudo dconf update
[sirfacu@sirfacu ~]$ sudo systemctl restart gdm
But nothing change just logout and back to the same background. (Yes, I restart the laptop too)
Thanks in advance for your help
vim /etc/dconf/db/gdm.d/01-logo
[org/gnome/login-screen]
logo='/home/sirfacu/Imágenes/images.jpg'
vim /etc/dconf/db/gdm.d/00-login-screen
[org/gnome/desktop/screensaver]
picture-uri='file:///home/sirfacu/Imágenes/images.jpg'
picture-options='zoom'
disable-user-list=true
[sirfacu@sirfacu ~]$ tree /etc/dconf/db/gdm.d
/etc/dconf/db/gdm.d
├── 00-login-screen
├── 01-logo
└── locks
Then I update the dconf database and restart the service
[sirfacu@sirfacu ~]$ sudo dconf update
[sirfacu@sirfacu ~]$ sudo systemctl restart gdm
But nothing change just logout and back to the same background. (Yes, I restart the laptop too)
Thanks in advance for your help