{"id":3957,"date":"2024-02-05T18:27:26","date_gmt":"2024-02-05T16:27:26","guid":{"rendered":"https:\/\/mummila.net\/nuudelisoppa\/?p=3957"},"modified":"2024-02-05T18:27:26","modified_gmt":"2024-02-05T16:27:26","slug":"how-i-made-tty1-a-live-display-for-systemds-journal-in-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/mummila.net\/nuudelisoppa\/2024\/02\/05\/how-i-made-tty1-a-live-display-for-systemds-journal-in-ubuntu-20-04\/","title":{"rendered":"How I made tty1 a live display for (Systemd&#8217;s) journal (in Ubuntu 20.04)"},"content":{"rendered":"<ol>\n<li>Run <code>systemctl edit getty@tty1.service<\/code><\/li>\n<li>In the override file, enter\n<pre><code>[Service]\r\nExecStart=\r\nExecStart=-\/bin\/journalctl -b -ef\r\nStandardInput=tty\r\nStandardOutput=tty<\/code><\/pre>\n<\/li>\n<li>To see it right away (without reboot), run <code>systemctl daemon-reload<\/code> followed by <code>systemctl restart getty@tty1.service<\/code><\/li>\n<li>To stop the console from blanking, edit <code>\/etc\/default\/grub<\/code>, add <code>consoleblank=0<\/code> to <code>GRUB_CMDLINE_LINUX_DEFAULT<\/code>, save and exit. Then run <code>update-grub<\/code> and reboot.<\/li>\n<\/ol>\n<p>(I adapted the service override from <a href=\"https:\/\/raymii.org\/s\/tutorials\/Run_software_on_tty1_console_instead_of_login_getty.html\">Remy&#8217;s old post<\/a>.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Run systemctl edit getty@tty1.service In the override file, enter [Service] ExecStart= ExecStart=-\/bin\/journalctl -b -ef StandardInput=tty StandardOutput=tty To see it right away (without reboot), run systemctl daemon-reload followed by systemctl restart getty@tty1.service To stop the console from blanking, edit \/etc\/default\/grub, add consoleblank=0 to GRUB_CMDLINE_LINUX_DEFAULT, save and exit. Then run update-grub and reboot. (I adapted the service [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3957","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/3957","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/comments?post=3957"}],"version-history":[{"count":4,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/3957\/revisions"}],"predecessor-version":[{"id":3961,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/3957\/revisions\/3961"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/media?parent=3957"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/categories?post=3957"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/tags?post=3957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}