<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ubuntu on Tech for Breakfast</title><link>https://techforbreakfast.com/en/tags/ubuntu/</link><description>Recent content in ubuntu on Tech for Breakfast</description><generator>Hugo</generator><language>en-GB</language><lastBuildDate>Mon, 15 Sep 2025 15:00:34 +0100</lastBuildDate><atom:link href="https://techforbreakfast.com/en/tags/ubuntu/index.xml" rel="self" type="application/rss+xml"/><item><title>Ubuntu – changing the VM identifier after cloning</title><link>https://techforbreakfast.com/en/ubuntu-change-vm-identifier-after-cloning/</link><pubDate>Mon, 15 Sep 2025 15:00:34 +0100</pubDate><guid>https://techforbreakfast.com/en/ubuntu-change-vm-identifier-after-cloning/</guid><description>&lt;p&gt;When you clone a virtual machine, it is good practice to change that virtual machine&amp;rsquo;s identifier.&lt;/p&gt;&#10;&lt;p&gt;To check the current machine-id, we can run the following command:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;cat /etc/machine-id&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;cat /var/lib/dbus/machine-id&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;We can now change it with the following commands&lt;/p&gt;</description></item><item><title>Ubuntu – changing the hostname</title><link>https://techforbreakfast.com/en/ubuntu-change-hostname/</link><pubDate>Mon, 15 Sep 2025 14:51:01 +0100</pubDate><guid>https://techforbreakfast.com/en/ubuntu-change-hostname/</guid><description>&lt;p&gt;To change the hostname of an Ubuntu installation, you can run the following commands:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo hostnamectl hostname &amp;lt;newname&amp;gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo bash -c &amp;#34;sed -i &amp;#39;s/&amp;lt;currentname&amp;gt;/&amp;lt;newname&amp;gt;/g&amp;#39; /etc/hosts&amp;#34;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Then reboot, to make sure there are no problems with services that were started before the change.&lt;/p&gt;</description></item><item><title>VMware Workstation 17.6 – no vmmon module</title><link>https://techforbreakfast.com/en/vmware-workstation-17-6-no-vmmon-module/</link><pubDate>Sun, 06 Oct 2024 22:00:58 +0100</pubDate><guid>https://techforbreakfast.com/en/vmware-workstation-17-6-no-vmmon-module/</guid><description>&lt;p&gt;If, when starting a virtual machine, you get an error saying the VMMON module is not loaded, specifically the message:&lt;/p&gt;&#10;&lt;p&gt;&amp;ldquo;Could not open /dev/vmmon. Please make sure that the kernel module vmmon is loaded&amp;rdquo;&lt;/p&gt;&#10;&lt;p&gt;it probably means you don&amp;rsquo;t have the vmmon and vmnet modules compiled for your kernel version&lt;/p&gt;</description></item><item><title>OpenSSH – Checking the server fingerprint</title><link>https://techforbreakfast.com/en/openssh-check-server-fingerprint/</link><pubDate>Sun, 21 Apr 2024 10:34:56 +0100</pubDate><guid>https://techforbreakfast.com/en/openssh-check-server-fingerprint/</guid><description>&lt;p&gt;If we want to check the &lt;em&gt;fingerprint&lt;/em&gt; of the SSH server we intend to connect to remotely with this protocol, we can do it with the following steps.&lt;/p&gt;&#10;&lt;p&gt;If we have physical access to the server and to its terminal, we can check which keys it has in its configuration folder:&lt;/p&gt;</description></item><item><title>Setting up MySQL Server on Ubuntu Server</title><link>https://techforbreakfast.com/en/setup-mysql-server-ubuntu-server/</link><pubDate>Fri, 15 Jan 2021 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/setup-mysql-server-ubuntu-server/</guid><description>&lt;p&gt;In the most recent versions of Ubuntu, after installing MySQL Server you cannot log in as the MySQL root user with a password unless you are the operating system&amp;rsquo;s root user.&lt;/p&gt;&#10;&lt;p&gt;To be able to log in as the MySQL root user from another Linux user, follow these steps on the command line:&lt;/p&gt;</description></item><item><title>Converting video formats – HandBrake – installing on Ubuntu 12.04</title><link>https://techforbreakfast.com/en/convert-video-formats-handbrake-install-ubuntu-12-04/</link><pubDate>Fri, 06 Sep 2013 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/convert-video-formats-handbrake-install-ubuntu-12-04/</guid><description>&lt;p&gt;To convert between video formats we can use &lt;a href="http://handbrake.fr/"&gt;HandBrake&lt;/a&gt;. To install it quickly on Ubuntu 12.04:&lt;/p&gt;&#10;&lt;p&gt;Open a terminal window and type the following commands to add the PPA to sources.list&lt;/p&gt;&#10;&lt;p&gt;Add the PPA repository&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo add-apt-repository ppa:stebbins/handbrake-releases&amp;lt;br&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Update the list of available packages&lt;/p&gt;</description></item><item><title>Disabling Ubuntu's error reporting system (apport)</title><link>https://techforbreakfast.com/en/disable-ubuntu-error-reporting-apport/</link><pubDate>Thu, 11 Jul 2013 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/disable-ubuntu-error-reporting-apport/</guid><description>&lt;p&gt;In normal use, by default, Ubuntu from version 12.04 onwards may raise alerts about applications that hit errors while running.&#10;Since these errors are often not very relevant to the user, or simply because we don&amp;rsquo;t want to be constantly bothered by these alerts, we can disable the service that handles these reports to the user (apport). To disable the system error notification and reporting system – the apport service – do the following:&lt;/p&gt;</description></item><item><title>Enabling all application indicators in Unity</title><link>https://techforbreakfast.com/en/enable-all-application-indicators-unity/</link><pubDate>Tue, 02 Apr 2013 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/enable-all-application-indicators-unity/</guid><description>&lt;p&gt;Tired of having to look up, every time I install or reinstall a computer with Ubuntu (12.04 and 12.10), how to enable the indicators of some applications, such as Ekiga or Pidgin, here is the reference. In a terminal:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;gsettings set com.canonical.Unity.Panel systray-whitelist &amp;#34;[&amp;#39;all&amp;#39;]&amp;#34;&amp;lt;br&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Log out and back in and that&amp;rsquo;s it… the indicators of all applications will now show up.&lt;/p&gt;</description></item><item><title>HylaFAX setup on Ubuntu Server 10.04 LTS</title><link>https://techforbreakfast.com/en/hylafax-setup-ubuntu-server-10-04-lts/</link><pubDate>Mon, 27 Feb 2012 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/hylafax-setup-ubuntu-server-10-04-lts/</guid><description>&lt;p&gt;After setting up HylaFAX on Ubuntu Server 10.04 LTS, the file may always be sent blank.&#10;To fix this, edit the file /var/spool/hylafax/bin/pdf2fax.gs and add the following parameter to the conversion command string: -dMaxStripSize=0&#10;example:&#10;$PS -q&#10;-sDEVICE=$device&#10;-dNOPAUSE&#10;-dSAFER=true&#10;-dMaxStripSize=0&#10;-sPAPERSIZE=$paper&#10;$FIXEDWIDTH&#10;-dBATCH&#10;-r$hresx$vres&#10;“-sOutputFile=$out”&#10;$fil&lt;/p&gt;</description></item></channel></rss>