Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

share|improve this question
    
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? –  Herman Torjussen 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 –  Shâu Shắc Dec 4 '13 at 16:33
    
Have you checked the files under /etc/gdm3? There should be a greeter.conf there. –  terdon Dec 4 '13 at 17:18
show 1 more comment

1 Answer

you can do

cat > /etc/dconf/db/gdm.d/01-mysettings <<EOF
[org/gnome/login-screen]
banner-message-enable=true
banner-message-text='<PUT HOSTNAME HERE>' 
disable-restart-buttons=false
disable-user-list=false
EOF

rm /etc/dconf/db/gdm
dconf update
share|improve this answer
    
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 –  Shâu Shắc Dec 13 '13 at 10:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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