{"id":7762,"date":"2020-11-20T20:49:00","date_gmt":"2020-11-20T19:49:00","guid":{"rendered":"https:\/\/monodes.com\/predaelli\/?p=7762"},"modified":"2020-11-20T08:36:10","modified_gmt":"2020-11-20T07:36:10","slug":"the-lamentations-of-colord-and-gdm3","status":"publish","type":"post","link":"https:\/\/monodes.com\/predaelli\/2020\/11\/20\/the-lamentations-of-colord-and-gdm3\/","title":{"rendered":"The lamentations of colord and gdm3"},"content":{"rendered":"\n<p>I recently installed a machine dedicated to transmit live Holy Masses from my parish and I discovered a subtle malfunctioning of the hardware that sometimes makes it unusable: the Solid State Disk becomes read-only. As you can imagine, almost everything stopped working. Also logging, of course. As I had to hunt it out and catch it, I redirected it on an external USB key, discovering tons of logs like<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\" data-line=\"\">nov 20 07:51:27 carloacutis colord&#091;426039]: failed to get session &#091;pid 1500]: Nessun dato disponibile (i.e. no data available)<\/code><\/pre>\n\n\n\n<p>and entire descriptions of the video modes available in the form of something like<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\" data-line=\"\">nov 14 09:44:52 carloacutis \/usr\/lib\/gdm3\/gdm-x-session&#091;2830]: (II) AMDGPU(0): #0: hsize: 1920  vsize 1080  refresh: 60  vid: 49361\n nov 14 09:44:52 carloacutis \/usr\/lib\/gdm3\/gdm-x-session&#091;2830]: (II) AMDGPU(0): #1: hsize: 1680  vsize 1050  refresh: 60  vid: 179\n nov 14 09:44:52 carloacutis \/usr\/lib\/gdm3\/gdm-x-session&#091;2830]: (II) AMDGPU(0): #2: hsize: 1600  vsize 1200  refresh: 60  vid: 16553\n nov 14 09:44:52 carloacutis \/usr\/lib\/gdm3\/gdm-x-session&#091;2830]: (II) AMDGPU(0): #3: hsize: 1600  vsize 900  refresh: 60  vid: 49321<\/code><\/pre>\n\n\n\n<p>It happens every time the screen blanks. <\/p>\n\n\n\n<p>In a machine currently used by a human, all those tons of logs &#8211; something in the range of a hundred of megabytes per day (in Debian bug <a href=\"https:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=813334\">#813334 it is labelled as &#8220;syslog spam&#8221;<\/a>) are not produces. But the screen of this machine remain almost always blank as I&#8217;ve automated the transmissions. <\/p>\n\n\n\n<p>I somehow hacked gdm3 with this two onliner patches:<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"\" data-line=\"\">--- gdm3-3.34.1.orig\/daemon\/gdm-server.c\n+++ gdm3-3.34.1\/daemon\/gdm-server.c\n@@ -242,7 +242,7 @@ gdm_server_init_command (GdmServer *serv\n         if (debug)\n             verbosity = &quot;7&quot;;\n         else\n-            verbosity = &quot;3&quot;;\n+            verbosity = &quot;0&quot;;\n #endif\n \n         if (g_access (SYSTEMD_X_SERVER, X_OK) &lt; 0) {<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"\" data-line=\"\">--- gdm3-3.34.1.orig\/daemon\/gdm-x-session.c\n+++ gdm3-3.34.1\/daemon\/gdm-x-session.c\n@@ -282,7 +282,7 @@ spawn_x_server (State        *state,\n         if (state-&gt;debug_enabled) {\n                 g_ptr_array_add (arguments, &quot;7&quot;);\n         } else {\n-                g_ptr_array_add (arguments, &quot;3&quot;);\n+                g_ptr_array_add (arguments, &quot;0&quot;);\n         }\n \n         if (state-&gt;debug_enabled) {\n<\/code><\/pre>\n\n\n\n<p>I should push them if I was sure it&#8217;s not harmful to anyone else.<\/p>\n\n\n\n<p>I still have not found how to tell those colord daemon that it can stay quiet. <\/p>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">I recently installed a machine dedicated to transmit live Holy Masses from my parish and I discovered a subtle malfunctioning of the hardware that sometimes makes it unusable: the Solid State Disk becomes read-only. As you can imagine, almost everything stopped working. Also logging, of course. As I had to hunt it out and catch&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/monodes.com\/predaelli\/2020\/11\/20\/the-lamentations-of-colord-and-gdm3\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[19],"tags":[],"class_list":["post-7762","post","type-post","status-publish","format-standard","hentry","category-mood"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6daft-21c","jetpack-related-posts":[{"id":7144,"url":"https:\/\/monodes.com\/predaelli\/2020\/04\/30\/little-notes\/","url_meta":{"origin":7762,"position":0},"title":"Little notes","author":"Paolo Redaelli","date":"2020-04-30","format":false,"excerpt":"Just a little note to myself, to start salome on a severly hacked and messed up workstation like mine: paolo@rigel:~\/salome_meca\/appli_V2019.0.3_universal$ \/home\/paolo\/salome_meca\/appli_V2019.0.3_universal\/salome runSalome running on rigel Searching for a free port for naming service: 2815 - OK Searching Naming Service + found in 0.1 seconds Searching \/Kernel\/Session in Naming Service ++++libGL\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6298,"url":"https:\/\/monodes.com\/predaelli\/2019\/12\/11\/6298\/","url_meta":{"origin":7762,"position":1},"title":"Segreterie","author":"Paolo Redaelli","date":"2019-12-11","format":false,"excerpt":"Don Pietro ha ricevuto un paio di computer dismessi dalla oramai \"defunta\" casa editrice Hobby&Work. Normali, normalissimi scatolotti desktop, dei Dell Vostro con su Windows 7. Ora ancora per poco \u00e8 possibile aggiornarli a Windows 10 senza scucire un tallero ed in modo legalissimo percui l'ho fatto.... Avevo anche un\u2026","rel":"","context":"In &quot;Basilica's website&quot;","block_context":{"text":"Basilica's website","link":"https:\/\/monodes.com\/predaelli\/category\/basilicas-website\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2019\/12\/Schermata-da-2019-12-11-22-11-00.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2019\/12\/Schermata-da-2019-12-11-22-11-00.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2019\/12\/Schermata-da-2019-12-11-22-11-00.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2019\/12\/Schermata-da-2019-12-11-22-11-00.png?resize=700%2C400 2x"},"classes":[]},{"id":3701,"url":"https:\/\/monodes.com\/predaelli\/2018\/01\/24\/dpkg-how-to-install-scratch-2-on-ubuntu-16-10-or-17-04-64bit-ask-ubuntu\/","url_meta":{"origin":7762,"position":2},"title":"dpkg &#8211; How to install Scratch 2 on Ubuntu 16.10. or 17.04 (64bit)? &#8211; Ask Ubuntu","author":"Paolo Redaelli","date":"2018-01-24","format":false,"excerpt":"Today my daughter asked me to install Scratch. But not the tablet. I already did it. On the computer. I tought it was a breeze. Actually it was as simple as \"sudo apt install scratch\". Too bad I got an oldish 1.4 version and her book refers to version 2.0.\u2026","rel":"","context":"In &quot;Proprietary software&quot;","block_context":{"text":"Proprietary software","link":"https:\/\/monodes.com\/predaelli\/category\/software\/proprietary-software\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4111,"url":"https:\/\/monodes.com\/predaelli\/2018\/04\/14\/too-much-security\/","url_meta":{"origin":7762,"position":3},"title":"Too much security","author":"Paolo Redaelli","date":"2018-04-14","format":false,"excerpt":"When your setting is so tight that you have to copy links from mail client to web browser... Control: found -1 thunderbird\/1:52.4.0-1 On Fri, 01 Dec 2017 10:46:12 +0100 C. Mourad Jaber <newb...@nativobject.net> wrote: > Dear Maintainer, > > I'm clicking on a link into a mail in the experimental\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11123,"url":"https:\/\/monodes.com\/predaelli\/2024\/01\/08\/prevent-sleep-suspend-when-not-logged-in\/","url_meta":{"origin":7762,"position":4},"title":"Prevent sleep\/suspend when not logged in","author":"Paolo Redaelli","date":"2024-01-08","format":false,"excerpt":"Recently I've been logged into a laptop remotely a lot. Logging out from \"main\" session makes my Gnome on Debian 12 go to suspend after a while. To avoid it you just have to tell: sudo dbus-launch gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing' Thanks to WinEunuuchs2Unix for the answer I took\u2026","rel":"","context":"In &quot;Gnome&quot;","block_context":{"text":"Gnome","link":"https:\/\/monodes.com\/predaelli\/category\/gnome\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":15182,"url":"https:\/\/monodes.com\/predaelli\/2026\/02\/25\/remote-desktop-on-wayland-in-2026\/","url_meta":{"origin":7762,"position":5},"title":"Remote Desktop on Wayland in 2026","author":"Paolo Redaelli","date":"2026-02-25","format":false,"excerpt":"Remote Desktop on Wayland in 2025: What Changed for Linux Support Engineers | Stackademic Wayland is now the default across most modern Linux desktops, and that quietly breaks a lot of X11-era support playbooks. If your helpdesk still relies on \u201cglobal screen grabbers\u201d or legacy VNC expectations, you\u2019ll hit confusing\u2026","rel":"","context":"In &quot;Tricks&quot;","block_context":{"text":"Tricks","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/tricks\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/7762","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/comments?post=7762"}],"version-history":[{"count":0,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/7762\/revisions"}],"wp:attachment":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/media?parent=7762"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/categories?post=7762"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/tags?post=7762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}