I'm managing almost 100 lab PC's running Fedora 19. It's difficult to manage because it seems like no where that I can display the hostname at the login screen.

GDM version: gdm-3.8-3.2

  • You have to edit the .bashrc file. What is the output you get when you run the command echo $PS1?
    – Ramesh
    Dec 4 '13 at 16:25
  • Assuming you're using graphical logins, you should be able to configure the display manager to show information about the host. Which DM are you using?
    – user13742
    Dec 4 '13 at 16:27
  • What login screen? Text or GUI? You can display anything you like on either but you need to tell us how you are connecting to these machines and where you would like to see the hostname.
    – terdon
    Dec 4 '13 at 16:32
  • Hi Herman. Its gdm-3.8-3.2 Dec 4 '13 at 16:33
  • 1
    In my Fedora 19 there is no directory /etc/gdm3 Dec 4 '13 at 17:31

you can do

cat > /etc/dconf/db/gdm.d/01-mysettings <<EOF
banner-message-text='<PUT HOSTNAME HERE>' 

rm /etc/dconf/db/gdm
dconf update
  • I need a solution that can be applied for 100 lab PC. So by putting that hostname like this is very ugly Also, I disable user list, so virtually the banner message doesnt display at all. I dont know why Dec 13 '13 at 10:27

Not the answer you're looking for? Browse other questions tagged or ask your own question.