Saturday, February 29, 2020

Nested KVM performance evaluation on Linux Manjaro 19.0 Guest on Virthost CentOS 8.1

UPDATE 03/05/2020
   Seems to work only on CentOS 8.1 
   Failure on F31, Manjaro GDM 19.0.1 ( bare metal)

Performance appraisal has been done via attempt to set up Manjaro 19.0 Guest as KVM virtualization host installing Qemu && Libvirt via native command  `pacman -S`. After creating the Manjaro 19.0 virtual machine, edit its XML profile via `virsh edit`. Shut down VM && replace 'host-model' with 'host-passthrough' && VM restart. Set up KVM-Hypervisor on Manjaro 19 Guest

 $ sudo pacman -S qemu virt-manager virt-viewer \
   dnsmasq vde2 bridge-utils openbsd-netcat  
 $ sudo pacman -S ebtables iptables
 $ sudo systemctl enable libvirtd.service
 $ sudo systemctl start libvirtd.service

Tune /etc/libvirt/libvirtd.conf :   unix_sock_group = "libvirt" (line 85)  unix_sock_rw_perms = "0770" (line 102) When done restart libvirtd daemon. Changes been done will suppress  prompt for root password at Virt-Manager startup. They are, actually, optional.
 $ sudo usermod -a -G libvirt $(whoami)
 $ newgrp libvirt
 $ sudo systemctl restart libvirtd.service
Define network openstackvms.xml on the Manjaro Guest
# cat openstackvms.xml
   <forward mode='nat'>
       <port start='1024' end='65535'/>
   <bridge name='virbr1' stp='on' delay='0' />
   <mac address='52:54:00:60:f8:6d'/>
   <ip address='' netmask=''>
       <range start='' end='' />

Now create VM F31 inside Guest

   At this point verify status of libvirtd.service 
  Sequence of DHCP requests and responses for "virbr1"  is clearly shown via `systemctl status libvirtd.service` command

  Now just try to watch movie (via YouTube) on F31 guest running inside Manjaro 19 Guest  (nested KVM has been set up ) on VirtHost CentOS 8.1.  Spice console is working fine even running on the F31 guest inside Manjaro 19.0 KVM guest .

Wednesday, February 19, 2020

The only option brought me to success installing telegram-desktop on CentOS 8.1 appears to be snap

In meantime the only option brought me to success installing telegram-desktop on CentOS 8.1 appears to be snap
Run via CLI :-

 $  sudo yum install epel-release
 $  sudo yum install snapd
 $  sudo systemctl enable --now snapd.socket
 $  sudo ln -s /var/lib/snapd/snap /snap
 $  sudo snap install telegram-desktop

  CentOS 8 Stream behaves same way

Sunday, February 16, 2020

Why am I annoyed by endless calls on the Yandex Zen network to replace Windows 10 by Linux Mint ?

Well the core reason is Cinnamon Desktop provided by Linux Mint. I clearly realize that this post would never be published on Yandex Zen so I don't have an option to reach the audience which is strongly affected by making decision migration to Linux Mint rather then migration to Ubuntu 18.04.4 LTS followed up by installing  Cinnamon Desktop as alternative to Gnome 3.32 on Ubuntu 18.04. We actually need just two command line directives on Ubuntu 18.04.4 LTS to achieve so much needed Cinnamon desktop environment. Just run via CLI

$ sudo apt update
$ sudo apt install cinnamon-desktop-environment

Afterwards to be safe reboot system and select Cinnamon as an option for yours login into system. 
Command  `apt install cinnamon-desktop-environment` is finishing up successfully. Reboot system just in case re-login should be enough in general

Quoting official guide 
This will take a while depending on your internet connection as the packages to be downloaded total to about 1G. This should take roughly 5 – 10 minutes if you have a fast internet connection. After the successful installation of all the required software packages, You need to either log out or reboot your system entirely. To avoid wasting much time, logging off comes off as the better option of the two. On the login screen, click on the gear icon adjacent to the ‘Sign In’ button to display a list of possible desktop display environments. Next, click on the ‘Cinnamon’ option.
Quoting ends

  System is up again . Make sure you see a small wheel under password prompt window.

   That is it. We have Cinnamon GUI Environment as optional choice upon login into system

   Notice you are actually running Ubuntu 18.04.4 LTS with Ubuntu Linux Kernel 5.3.0-28-generic and Cinnamon Desktop at a time.

Another option set up Cinnamon Desktop on top 
of Fedora 31 Server. Proceed as follows
$ sudo dnf -y groupinstall "Cinnamon Desktop"
$ echo "exec /usr/bin/cinnamon-session" >> ~/.xinitrc
$ sudo systemctl set-default
The last command will force login into Cinnamon Environment or just
$ startx

    Russian keyboard layout has been added
  Spice Console is running , enjoy video && sound
  inside running Guest

   Fedora 31 Server running "Cinnamon Desktop" on bare metal


Wednesday, February 5, 2020

Install Gnome 3.28 on top of Linux Mint 19.3 via snapd daemon

In meantime Snapd daemon might be installed on Linux Mint with no issues. So Gnome 3 Desktop installation is supposed to be done via "sudo snap installs" as quite straight forward procedure. Follow instructions bellow
run via CLI ( GnomeSDK is available as well )
Details regarding Snapd daemon might be seen at

$ sudo apt update

$ sudo apt upgrade
$ sudo apt install snapd 
$ reboot

At this point system should automatically enable all of the systemd services on Linux Mint that Snapd needs to function properly.

$ sudo snap install gnome-3-34-1804
$ sudo apt install gnome
$ sudo apt install gnome-shell
$ reboot ( or just re-login )

See also -

Установка Gnome 3.28 на Linux Mint 19.3

Выполним следующие комманды, следуя
Можно даже поставить GnomeSDK -

$ sudo apt update
$ sudo apt install snap
$ reboot
$ sudo snap install gnome-3-34-1804
$ sudo apt install gnome
$ sudo apt install gnome-shell
$ reboot ( or just re-login )

Знание английского позволит прочесть -

Monday, February 3, 2020

Install Gnome 3.28 on top of Linux Mint 19.3

UPDATE 02/05/20
1. I sincerely apologize for missing an option of same install via snapd. Post below is fixing this and does install Gnome 3.28 avoiding kernel upgrade and using PPAs. 
 See  "Setup Gnome 3 on Linux Mint via snapd daemon"
2. However, I would guess that CVE's from the list 
should be gone for sure in Ubuntu Kernel build 5.5.1(2)
Another reason for kernel upgrade on Mint might be
So non-snap build down here might make some sense due to
presence of kernel upgrade.
Proceed as follows :-

$ sudo add-apt-repsitory ppa:teejee2008/ppa
$ sudo apt-get update && sudo apt-get install ukuu

Invoke from system menu "Kernel Update Utility"
select kernel 5.5.1 (just highest version available at the moment) and click install . When done

$ sudo reboot

Select from system menu "Software Sources" and add PPAs

Now you should see via Linux Mint GUI three  PPAs added 
1. ppa:teejee2008/ppa
2. ppa:gnome3-team/gnome3
3. ppa:gnome3-team/gnome3-staging

Switch to terminal session and run

$ sudo apt update

It would make two gnome PPAs available for package

$ sudo apt install gnome
$ sudo apt install gnome-shell

Re-login selecting "GNOME" or "GNOME on Xorg"

  Linux Mint VM survives cold reboots with no problems
  Verifying whether Gnome 3 is running on Xorg or Wayland

Another kernel upgrade to 5.5.2


Install transmission on CentOS 8.1

As usual it takes some time to setup transmission on fresh CentOS (8) release

Proceed as follows

Install GetPageSpeed repository

  1. Install GetPageSpeed repository:
    # dnf install
  2. Install transmission rpm package:
    # dnf install transmission