<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: David Ofor</title>
    <description>The latest articles on DEV Community by David Ofor (@dave-in-cloud).</description>
    <link>https://dev.to/dave-in-cloud</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2925589%2F32223ad7-e6ff-4493-b42e-8128c34ba04a.jpg</url>
      <title>DEV Community: David Ofor</title>
      <link>https://dev.to/dave-in-cloud</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dave-in-cloud"/>
    <language>en</language>
    <item>
      <title>Fixing ubuntu glitch</title>
      <dc:creator>David Ofor</dc:creator>
      <pubDate>Sun, 09 Mar 2025 09:54:37 +0000</pubDate>
      <link>https://dev.to/dave-in-cloud/fixing-ubuntu-glitch-4p23</link>
      <guid>https://dev.to/dave-in-cloud/fixing-ubuntu-glitch-4p23</guid>
      <description>&lt;h2&gt;
  
  
  🐞 Fixing the OpenIPMI Glitch on Ubuntu VM (VirtualBox)
&lt;/h2&gt;

&lt;h2&gt;
  
  
  🚨 The Problem
&lt;/h2&gt;

&lt;p&gt;So I was on my own oh, just trying to use my &lt;strong&gt;Ubuntu&lt;/strong&gt; happily oh when I booted it up and there was this weird glitch where my &lt;strong&gt;cursor turned into a black square&lt;/strong&gt; and the &lt;strong&gt;desktop started flickering&lt;/strong&gt;, creating a "double desktop" effect for a split second. It kept on happening repeatedly.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmkke1460w50hy2sa3e8i.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmkke1460w50hy2sa3e8i.PNG" alt="Image of glitchy desktop" width="800" height="514"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Initially I thought it was just a random glitch soo I just ignored it, but then I was like hold up...I'm supposed to be a Linux power-user👀 if I want my chances of landing a job or internship to be higher. So I decided to tackle my demons.&lt;/p&gt;

&lt;h2&gt;
  
  
  🛠 Debugging the Issue
&lt;/h2&gt;

&lt;p&gt;...so I had a guess... I shutdown my vm and btw I'm using &lt;strong&gt;VBox&lt;/strong&gt; cos why not. Then I increased the allocated video memory and restarted ubuntu&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnwbo3pw2308sjq5yyse6.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnwbo3pw2308sjq5yyse6.PNG" alt="Increasing allocated video memory in vbox" width="800" height="241"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It gave me this false glimpse of hope when I logged in when it didnt glitch, but of course it can't be that easy with Linux😭, it got back to its glitching.&lt;/p&gt;

&lt;p&gt;It was at that point I remembered I had learned about log files recently and I should try to inspect the logs and see what I find since I was really going into it blindly...&lt;br&gt;
   So I kindov figured out that it was a problem that occurred while the vm was booting soo I went all sherlock on it...&lt;/p&gt;
&lt;h2&gt;
  
  
  🔎&lt;strong&gt;Step 1: Inspecting the boot logs&lt;/strong&gt;
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; /var/log
&lt;span class="nb"&gt;sudo cat &lt;/span&gt;boot.log
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;found this log about openipmi failing during boot,&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F436mmwdmia5gmalxe1rj.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F436mmwdmia5gmalxe1rj.PNG" alt="log snippet" width="800" height="69"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I did a quick search on the openipmi service cos I didnt know what the heck it was, found out it's a background service for managing physical server hardware remotely using IPMI (Intelligent Platform Management Interface) and log story short(pun intended😉), it isn't needed for VMs and it could cause some conflicts, soo I proceeded to remove it.&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;Step 2: Solving the problem&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;So I removed it and it's dependencies and rebooted ubuntu&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt purge openipmi ipmitool &lt;span class="nt"&gt;-y&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;sudo &lt;/span&gt;apt autoremove &lt;span class="nt"&gt;-y&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;reboot
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Every thing seems to be working perfectly since then, no black square cursors and glitchy desktops. Hopefully this fix lasts, fingers crossed🤞&lt;/p&gt;

&lt;p&gt;Thanks for reading my first every blog post😭💕. Follow for more and feel free to connect with me😊. Signing out...&lt;/p&gt;

</description>
      <category>ubuntu</category>
      <category>cloud</category>
      <category>tutorial</category>
      <category>linux</category>
    </item>
  </channel>
</rss>
