Tuesday, December 26, 2023

Setting up Gnome and KDE Plasma on the same instance of Manjaro 23.1.1

There are several desktop environments and window managers available for Manjaro, each with their own unique style, interface, and features. Furthermore, it is possible to install multiple environments if desired, which can be selected at the login screen at any time. Users are not restricted to whatever comes pre-installed with a particular flavour of Manjaro.

Enable Wayland support in KDE Plasma session 

Just issue following command and re-login





















































Now issue the command

$ sudo pacman -S gnome

and logout from KDE Plasma session . 

You are supposed to view updated logging screen














For now select from drop up menu in left down corner Gnome(Wayland) and log into Gnome session



























Re-login via new logging screen to Plasma(Wayland)














It seems that installing Manjaro KDE Plasma as the first graphical environment followed by installing GNOME 45.2 DE optimally combines this two DEs on the latest build of Manjaro


Monday, December 25, 2023

Setting up Wayland on openSUSE Tumbleweed

UPDATE as of 12/27/23

Same setup as below succeeded on openSUSE Leap 15.5. But in this case it requires significantly more testing then for Tumbleweed

=======================================================

By default during install  openSUSE Tumbleweed with KDE  Desktop installer selects X11 as windowing system. After logging into KDE ( on openSUSE ) load Yast Control Center and proceed as shown on snapshots below

Software->View->Pattern














Next step is  "select && highlight" Gnome (Wayland)

On screen up here select "Continue"



Now all packages required for Wayland support on Gnome 45.2 and KDE 5.27.10 are supposed to be installed on the system. 



You are all set . After log out right click in left down corner of original logging screen to select desired option. It may be Gnome 45.2 either KDE 5.27.10 with Wayland support

Option with the most recent version of Gnome



Option with KDE 5.27.10





Tuesday, December 12, 2023

OpenSUSE Tumbleweed Installer vs Anaconda (Blivet-GUI)

 OpenSUSE Tumbleweed Installer  in expert mode creates disk layout with volumes group VG_SUSE. At first glance, it has practically the same possibilities as demonstrates Anaconda (Blivet-GUI) and more over creates subfolders under "/" root as BTRFS subvolumes

A BTRFS subvolume is a part of filesystem with its own independent file/directory hierarchy and inode number namespace. Subvolumes can share file extents. A snapshot is also subvolume, but with a given initial content of the original subvolume. A subvolume has always inode number 256. A subvolume looks like a normal directory, with some additional operations described below. Subvolumes can be renamed or moved, nesting subvolumes is not restricted but has some implications regarding snapshotting. The numeric id (called subvolid or rootid) of the subvolume is persistent and cannot be changed.















Installer creates PV on /dev/vda3 and then associates LVM group VG_SUSE with PV just created.  Afterwards three LVMs are been crteated and "/" root FS (BTRFS) , /home FS (XFS), swap area get mounted on corresponding LVMs  - LV1_SUSE,LV2_SUSE,LV3_SUSE 

KVM Hypervisor installed essentially automatically



























Another disk layout snapshot via Yast Control Center
















Monday, December 4, 2023

Install Deepin Desktop Environment on Ubuntu Server 23.04

UPDATE as of 12/07/23

Original post has been written with intend to make gdm3 default display manager and it works with no issues at all. However it appears that Lightdm could replace gdm3 as Default DM, following below is a brief description of sequence of steps to achieve this goal. First of all
$ sudo dpkg-reconfigure gdm3  and choose default DM to be Lightdm
Next step is an update  of lightdm.service  -   /usr/lib/systemd/system/lightdm.service
adding at the bottom of file two lines :
[Install]
WantedBy=graphical.target
Now enable lightdm.service $ sudo systemctl enable lightdm .
# Just in case "enabling shared memory" via virt-manager has 
# been done for Ubuntu Servers guests .
and  issue `shutdown -r now` via deepin-terminal

Actions been done are supposed to bring you to text login prompt.  Then go ahead and login to text mode console. Right after this action Deepin Graphical console will be brought up and allow you to get into DDE which seems to behave stable.
Immediately one more question raises up - how much we actually need ubuntu-gnome-desktop to be installed if Lightdm may be Default DM.
UPDATE as of 12/08/23 So far instances been built without ubuntu-gnome-desktop behave same way as described above









































================================================

In particular case we do have to install ubuntu-gnome-desktop before ubuntudde-dde, presuming that gdm3 will become the  Default Desktop manager

$ sudo apt install ubuntu-gnome-desktop
$ sudo systemctl set-default graphical.target
$ sudo reboot
$ sudo add-apt-repository ppa:ubuntudde-dev/stable
$ sudo apt update
$ sudo apt install ubuntudde-dde
$ sudo reboot
$ sudo apt update

Configure Linux bridge br0

boris@ubuntusrv:~$ cat  /etc/netplan/01-netcfg.yaml
network:
 ethernets:
   enp1s0:
     dhcp4: false
     dhcp6: false
 # add configuration for bridge interface
 bridges:
   br0:
     interfaces: [enp1s0]
     dhcp4: false
     addresses: [192.168.0.73/24]
     macaddress: 52:54:00:da:0b:72
     routes:
       - to: default
         via: 192.168.0.1
         metric: 100
     nameservers:
       addresses: [8.8.8.8]
     parameters:
       stp: false
     dhcp6: false
 version: 2

boris@ubuntusrv:~$ sudo netplan apply


































































Sunday, December 3, 2023

Calamares Installer 3.2.6(X) vs Debian Network Installer (Anaconda Blivet-GUI)

 Configutation below might be created with some previous manual intervention causes Calamares to crash















Same configuration may be created via Debian Network Installer either Anaconda Advanced Installer (Blivet-GUI) . Both mentionded installers pass through runtime phase and successfully create Debian 12.2 or Fedora 39 Server (WKS) instances .


















































Sunday, November 26, 2023

Install Deepin Desktop Environment on Ubuntu Server 22.04.3

Following below is an attempt to reproduce Fedora's style of installation Deepin Desktop on Server's instance. Due to known issues with DDE on F39's server, this procedure has been done on Ubuntu 22.04 (LTS) Server .

Just for instance setup Ubuntu Server with btrfs root partion anf xfs home partion .  

boris@ubuntusrv:~$ df -Th

Filesystem                        Type   Size  Used Avail Use% Mounted on

tmpfs                             tmpfs  1.2G  3.0M  1.2G   1% /run

/dev/mapper/ubuntu--vg-ubuntu_lv1 btrfs   51G  7.6G   40G  16% /

tmpfs                             tmpfs  5.7G     0  5.7G   0% /dev/shm

tmpfs                             tmpfs  5.0M  4.0K  5.0M   1% /run/lock

/dev/vda2                         ext4   2.0G  136M  1.7G   8% /boot

/dev/vda1                         vfat   1.1G  6.1M  1.1G   1% /boot/efi

/dev/mapper/ubuntu--vg-ubuntu_lv2 xfs     12G  174M   12G   2% /home

tmpfs                             tmpfs  1.2G   40K  1.2G   1% /run/user/1000

tmpfs                             tmpfs  5.7G     0  5.7G   0% /run/qemu

The next step supposed to be 

$ sudo add-apt-repository ppa:ubuntudde-dev/stable
$ sudo apt update
$ sudo apt install ubuntudde-dde
$ sudo systemctl  set-default graphical.target
$ sudo reboot
$ sudo apt update
$ sudo apt install deepin-terminal
$ sudo apt install firefox

Configure Linux bridge br0

boris@ubuntusrv:~$ cat  /etc/netplan/01-netcfg.yaml
network:
 ethernets:
   enp1s0:
     dhcp4: false
     dhcp6: false
 # add configuration for bridge interface
 bridges:
   br0:
     interfaces: [enp1s0]
     dhcp4: false
     addresses: [192.168.0.73/24]
     macaddress: 52:54:00:da:0b:72
     routes:
       - to: default
         via: 192.168.0.1
         metric: 100
     nameservers:
       addresses: [8.8.8.8]
     parameters:
       stp: false
     dhcp6: false
 version: 2

boris@ubuntusrv:~$ sudo netplan apply

Official hint - to stabilize DDE in VENV is to hit Numlock.
Works for me (32 GB on Virtualization host F39 WKS, 12 GB Ubuntu 22.04.3 Sever KVM Guest )
A virtual test on a Ryzen 7 3700(X), 32 GB RAM, WD-500 NVMe for Ubuntu Server 22.04.3 KVM Guest 16 GB RAM (8 vcpus) with a single DM - DDE performed very well. In my opinion, the presence of Gnome on Ubuntu Desktop 22.04 is not something critical for the stability of DDE. But on machines with weaker processors and limited memory, you'll likely get disappointing results.










Monday, November 13, 2023

FreeBSD tar (also BSD tar) on Fedora 39 WKS

Setting up FreeBSD tar (also BSD tar)  on Fedora 39 WKS, Ubuntu 22.04, Debian BookWorm 

FreeBSD tar (also BSD tar) has become the default tar on most Berkeley Software Distribution-based operating systems including Mac OS X. The core functionality is available as libarchive for inclusion in other applications. This implementation automatically detects the format of the file and can extract from tar, pax, cpio, zip, rar, ar, xar, rpm and ISO 9660 cdrom images. It also comes with a functionally equivalent cpio command-line interface.

Bsdtar is availabe along with it's extended  functionality on recently released Fedora 39 and most probably on the previous Fedora releases

boris@fedora:~$ uname -a
Linux fedora 6.6.1-300.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 10 20:08:54 UTC 2023 x86_64 GNU/Linux
boris@fedora:~/SENDTO2$ sudo dnf install bsdtar
[sudo] password for boris: 
Last metadata expiration check: 1:40:05 ago on Mon 13 Nov 2023 12:36:56 PM MSK.
Dependencies resolved.
================================================
 Package            Architecture       Version                   Repository          Size
================================================
Installing:
 bsdtar             x86_64             3.7.1-1.fc39              fedora              65 k

Transaction Summary
================================================
Install  1 Package
Total download size: 65 k
Installed size: 134 k
Is this ok [y/N]: y
Downloading Packages:
bsdtar-3.7.1-1.fc39.x86_64.rpm                            457 kB/s |  65 kB     00:00    
-----------------------------------------------------------------------------------
Total                                                      86 kB/s |  65 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                  1/1 
  Installing       : bsdtar-3.7.1-1.fc39.x86_64                                       1/1 
  Running scriptlet: bsdtar-3.7.1-1.fc39.x86_64                                       1/1 
  Verifying        : bsdtar-3.7.1-1.fc39.x86_64                                       1/1 
Installed:
  bsdtar-3.7.1-1.fc39.x86_64                                                              
Complete!
boris@fedora:~/SENDTO$ bsdtar -xf virtio-win-0.1.240-1.noarch.rpm
boris@fedora:~/SENDTO$ ll
total 252216
drwxr-xr-x. 1 boris boris        10 Nov 13 14:17 usr
-rw-r--r--. 1 boris boris 258267861 Nov 11 19:24 virtio-win-0.1.240-1.noarch.rpm
boris@fedora:~/SENDTO$ cd usr/share/virt*
boris@fedora:~/SENDTO/usr/share/virtio-win$ ll
total 612816
drwxr-xr-x. 1 boris boris        46 Nov 13 14:17 drivers
drwxr-xr-x. 1 boris boris        68 Nov 13 14:17 guest-agent
drwxr-xr-x. 1 boris boris       136 Nov 13 14:17 installer
-rw-r--r--. 1 boris boris 627519488 Sep 19 09:18 virtio-win-0.1.240.iso
lrwxrwxrwx. 1 boris boris        22 Sep 19 09:18 virtio-win.iso -> virtio-win-0.1.240.iso





















boris@fedora:~$ sudo dnf install bsdcpio
[sudo] password for boris: 
Last metadata expiration check: 0:10:06 ago on Tue 14 Nov 2023 06:01:35 
Dependencies resolved.
=============================================
 Package             Architecture       Version            Repository          Size
=============================================
Installing:
bsdcpio             x86_64             3.7.1-1.fc39        fedora      47 k
Transaction Summary
=============================================
Install  1 Package

Total download size: 47 k
Installed size: 98 k
Is this ok [y/N]: y
Downloading Packages:
bsdcpio-3.7.1-1.fc39.x86_64.rpm               290 kB/s |  47 kB     00:00    
-------------------------------------------------------------------------
Total                                          23 kB/s |  47 kB     00:02     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                  1/1 
  Installing       : bsdcpio-3.7.1-1.fc39.x86_64                                      1/1 
  Running scriptlet: bsdcpio-3.7.1-1.fc39.x86_64                                      1/1 
  Verifying        : bsdcpio-3.7.1-1.fc39.x86_64                                      1/1 
Installed:
  bsdcpio-3.7.1-1.fc39.x86_64                                                             
Complete!

===========================================
Install bsdtar on Ubuntu 22.04.3 && Debian BookWorm
===========================================
Here bsdtar is supposed to be installed via package libarchive-tools. Libarchive provides command-line utilities called bsdtar and bsdcpio. These are complete re-implementation based on libarchive. These are the default system tar and cpio on FreeBSD, NetBSD, macOS and Windows.There is also bsdcat, designed to decompress a file to the 
standard output like zcat.

boris@boris-ubuntu:~/Downloads/usr/share/virtio-win$ hostnamectl
 Static hostname: boris-ubuntu
       Icon name: computer-vm
         Chassis: vm
      Machine ID: 9e9d585b54484b63a758d1b0098cfebd
         Boot ID: 7fb70e669aad4d5398574c029585d5e6
  Virtualization: kvm
Operating System: Ubuntu 22.04.3 LTS              
          Kernel: Linux 6.2.0-36-generic
    Architecture: x86-64
 Hardware Vendor: QEMU
  Hardware Model: Standard PC _Q35 + ICH9, 2009
 
boris@boris-ubuntu:~$ sudo apt -y install libarchive-tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  libarchive-tools
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 61,1 kB of archives.
After this operation, 209 kB of additional disk space will be used.
. . . . . . . . . . . .
Preparing to unpack .../libarchive-tools_3.6.0-1ubuntu1_amd64.deb ...
Unpacking libarchive-tools (3.6.0-1ubuntu1) ...
Setting up libarchive-tools (3.6.0-1ubuntu1) ...
Processing triggers for man-db (2.10.2-1) …
 
boris@boris-ubuntu:~$ which bsdtar
/usr/bin/bsdtar
 
boris@boris-ubuntu:~/Downloads$ ll
total 252228
drwxr-xr-x  2 boris boris      4096  nov  13 16:35 ./
drwxr-x--- 16 boris boris      4096  nov  13 16:28 ../
-rw-r--r--  1 boris boris 258267861 nov 13 virtio-win-0.1.240-1.noarch.rpm
boris@boris-ubuntu:~/Downloads$ bsdtar -xf virtio-win-0.1.240-1.noarch.rpm
 
boris@boris-ubuntu:~/Downloads$ ll
total 252232
drwxr-xr-x  3 boris boris      4096 nov 13 16:36 ./
drwxr-x--- 16 boris boris      4096 novf 13 16:28 ../
drwxrwxr-x  3 boris boris      4096 nov 13 16:36 usr/
-rw-r--r--  1 boris boris 258267861 nov 13 16:35 virtio-win-0.1.240-1.noarch.rpm
 
boris@boris-ubuntu:~/Downloads/usr/share/virtio-win$ ll
total 612836
drwxr-xr-x 5 boris boris      4096  sep 19 09:18 ./
drwxrwxr-x 4 boris boris      4096 nov 13 16:36 ../
drwxrwxr-x 6 boris boris      4096 nov 13 16:36 drivers/
drwxrwxr-x 2 boris boris      4096 nov 13 16:36 guest-agent/
drwxrwxr-x 2 boris boris      4096 nov  16:36 installer/
-rw-r--r-- 1 boris boris 627519488 sep 19 09:18 virtio-win-0.1.240.iso
lrwxrwxrwx 1 boris boris        22   sep  19 09:18 virtio-win.iso -> virtio-win-0.1.240.iso

Debian 12.1

boris@boris-ms7c37:~$ sudo apt install libarchive-tools
[sudo] password for boris:  
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
 libbotan-2-19 librnp0
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
 libarchive-tools
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 73.6 kB of archives.
After this operation, 203 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 libarchive-tools amd64 3.6.2-1 [73.6 kB]
Fetched 73.6 kB in 0s (301 kB/s)       
Selecting previously unselected package libarchive-tools.
(Reading database ... 203703 files and directories currently installed.)
Preparing to unpack .../libarchive-tools_3.6.2-1_amd64.deb ...
Unpacking libarchive-tools (3.6.2-1) ...
Setting up libarchive-tools (3.6.2-1) ...
Processing triggers for man-db (2.11.2-2) ...
boris@boris-ms7c37:~$ which bsdtar
/usr/bin/bsdtar
boris@boris-ms7c37:~$ cd Downloads
boris@boris-ms7c37:~/Downloads$ ls -l
total 252216
-rw-r--r-- 1 boris boris 258267861 Nov 13 22:01 virtio-win-0.1.240-1.noarch.rpm
boris@boris-ms7c37:~/Downloads$ bsdtar -xf virtio-win-0.1.240-1.noarch.rpm
boris@boris-ms7c37:~/Downloads$ ls -l
total 252220
drwxr-xr-x 3 boris boris      4096 Nov 13 22:02 usr
-rw-r--r-- 1 boris boris 258267861 Nov 13 22:01 virtio-win-0.1.240-1.noarch.rpm