
{"id":9551,"date":"2019-11-18T15:28:23","date_gmt":"2019-11-18T15:28:23","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=9551"},"modified":"2024-04-24T10:21:31","modified_gmt":"2024-04-24T10:21:31","slug":"banner-message-text-login-screen","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2019\/11\/banner-message-text-login-screen\/","title":{"rendered":"Display Banner Message in Ubuntu 24.04 | 22.04 Login Screen"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3879\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gnome-logo-icon.png\" alt=\"Paper GTK3 and Icon themes\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gnome-logo-icon.png 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gnome-logo-icon-150x150.png 150w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p>This quick tutorial is going to show you how to <b>display custom text message<\/b>, such as who to contact for support, <b>in the login screen of Ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04, and Ubuntu 24.04 with default GNOME Desktop<\/b>.<\/p>\n<p>You&#8217;ll see the text message in the top center when an user is selected in the GDM login screen.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/gnome-login-message.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46323\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/gnome-login-message-700x360.webp\" alt=\"\" width=\"610\" height=\"314\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/gnome-login-message-700x360.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/gnome-login-message-300x154.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/gnome-login-message-768x395.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/gnome-login-message-1536x789.webp 1536w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/gnome-login-message-1320x678.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/gnome-login-message.webp 1541w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><b>UPDATE: There&#8217;s now a graphical app called <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2023\/10\/install-gdm-settings-ubuntu-22-04\/\" target=\"_blank\" rel=\"noopener\">GDM Settings (Login Manager)<\/a> can configure the GNOME login screen, including adding a welcome message.<\/b><\/p>\n<p><b>1.)<\/b> First open <u>terminal<\/u> either from application menu or by pressing Ctrl+Alt+T on keyboard.<\/p>\n<p>When terminal opens, run command to install the required <code>dbus-launch<\/code> library:<\/p>\n<pre>sudo apt install dbus-x11<\/pre>\n<p><b>2.)<\/b> Next, run command to switch to root:<\/p>\n<pre style=\"border: none;\">sudo -i<\/pre>\n<p><i>You&#8217;ll be prompted to type user password (no asterisk feedback).<\/i><\/p>\n<p><b>3.)<\/b> Then run command in the terminal window to allow user <code>gdm<\/code> to connect to X:<\/p>\n<pre style=\"border: none;\">xhost +SI:localuser:gdm<\/pre>\n<p><i>skip the command if you&#8217;re running on Wayland session.<\/i><\/p>\n<p><b>4.)<\/b> Switch to <code>gdm<\/code> via command:<\/p>\n<pre style=\"border: none;\">su gdm -s \/bin\/bash<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-9553\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/switchtogdm-600x186.jpg\" alt=\"\" width=\"600\" height=\"186\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/switchtogdm-600x186.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/switchtogdm-450x139.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/switchtogdm.jpg 755w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>5.)<\/b> Finally enable login screen banner text via gsettings command:<\/p>\n<pre style=\"border: none;\">gsettings set org.gnome.login-screen banner-message-enable true<\/pre>\n<p><i>In recent Ubuntu releases, just ignore the warning message due to Flatpak<\/i>:<\/p>\n<blockquote><p>(process:3606): dconf-WARNING **: 05:13:59.740: Unable to open \/root\/.local\/share\/flatpak\/exports\/share\/dconf\/profile\/user: Permission denied<\/p><\/blockquote>\n<p>And then set the text message via command:<\/p>\n<pre style=\"border: none;\">gsettings set org.gnome.login-screen banner-message-text 'TYPE MESSAGE TEXT HERE'<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-9554\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/enable-banner-message-600x177.jpg\" alt=\"\" width=\"600\" height=\"177\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/enable-banner-message-600x177.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/enable-banner-message-450x133.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/enable-banner-message-768x226.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/enable-banner-message.jpg 811w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>(<b>Optional<\/b>) To restore the changes, you have to RE-DO previous 3 steps in terminal to get <code>gdm<\/code> user privilege, and finally run command:<\/p>\n<pre style=\"border: none;\">gsettings reset org.gnome.login-screen banner-message-enable<\/pre>","protected":false},"excerpt":{"rendered":"<p>This quick tutorial is going to show you how to display custom text message, such as who to contact for support, in the login screen of Ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04, and Ubuntu 24.04 with default GNOME Desktop. You&#8217;ll see the text message in the top center when an user is selected in the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1832,1831],"class_list":["post-9551","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-banner-message-in-login-screen","tag-banner-text-in-login-screen"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/9551","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=9551"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/9551\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=9551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=9551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=9551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}