Fedora - checking graphical session type (Wayland or Xorg)

Published on Author admin

How to check graphical session type (Wayland or Xorg) on Fedora system. At first, use following command to get current session ID: loginctl Next, use bellow command to check graphical session type: loginctl show-session ID -p Type where ID is session ID from previous command output. Example (where session ID = 1): $ loginctl  … Continue reading Fedora - checking graphical session type (Wayland or Xorg)

Linux - load new kernel with kexec - faster than reboot

Published on Author admin

Load new Linux kernel with kexec - method faster than reboot. Just run below script using sudo or as a root. #!/bin/bash latestkernel=`ls -t /boot/vmlinuz-* | sed "s/\/boot\/vmlinuz-//g" | head -n1` echo "kernel current: $(uname -r)" echo "kernel target:  ${latestkernel}" echo "" echo "Arming kexec..." #kexec -l /boot/vmlinuz-${latestkernel} --initrd=/boot/initramfs-${latestkernel}.img --append="`cat /proc/cmdline`" kexec -l /boot/vmlinuz-${latestkernel} --initrd=/boot/initramfs-${latestkernel}.img… Continue reading Linux - load new kernel with kexec - faster than reboot

Nextcloud - upgrade to 13.0beta1

Published on Author admin

Upgrading Nextcloud from CLI on Linux system with systemd. /var/www/html/owncloud/ - Nextcloud installation directory apache - HTTP server service user cd /var/www/html/ wget https://download.nextcloud.com/server/prereleases/nextcloud-13.0.0beta1.zip systemctl stop httpd rm owncloud-old/ -rf mv owncloud/ owncloud-old/ unzip nextcloud-13.0.0beta1.zip mv nextcloud/ owncloud/ mv owncloud-old/data/ owncloud/data/ cp owncloud-old/config/config.php owncloud/config/config.php chown apache: owncloud/ -R chcon -R -t httpd_sys_rw_content_t /data/var/www/html/owncloud/config chcon -R… Continue reading Nextcloud - upgrade to 13.0beta1