So you end up here because you have lost your root password. On Red Hat Enterprise Linux 8, it is possible to have the scripts that run from the initramfs pause at certain points, provide a root shell, and then continue when that shell exits. This is mostly meant for debugging, but you can also …
What is VPS Hosting with dedicated GPU?
A VPS is a complete server with its own operating system and virtual hardware built on top of physical server hardware. A Linux or Windows-based operating system known as a hypervisor is used to build virtual servers, datastores, virtual switches, virtual routers, virtual CPUs, and RAM. Some leading hypervisors are VMware, Citrix Xenserver, and KVM. …
How To Monitor VMware environment with Grafana

This step-by-step guide uses the Official telegraph vSphere plugin to pull metrics from vCenter. We will pull metrics such as compute, network and storage resources. Before starting with this guide, I assume you have a freshly installed operating system, ubuntu 20. so let’s begin our work. Install Grafana on Ubuntu This tutorial tested on freshly …
RSYNC: File size in destination is larger than source – Sparse Files
You may notice that after running rsync your file size in destination becomes larger than the source. This is most likely due to sparse files. To allow rsync to manage sparser files more efficiently so they took less space use the -S flag. rsync -S sparse-file /home/sparser-file After rsync is done, check the destination file …
How to use rsync to backup an entire Linux server?
Yes, It is possible to backup entire server files using rsync over the network to another server or to a locally attached disk. rsync is easy to set up but it is not a complete backup solution. Make sure you should not use rsync to backup server files to tape devices. You could completely clone …
How to resolve error resize2fs: Operation not permitted While trying to add group – ext4_group_add: No reserved GDT blocks, can’t resize
The root cause of this error is that the pool of reserved GDT blocks is not available, or the filesystem does not support online resizing. Note that the Ext3 and Ext4 filesystem metadata layout is fixed. mkfs reserves space for future disk resizing, but that is only 1024x the filesystem size during initial disk creation …
How to setup ftp server on CentOS 7 Linux Server?
To setup ftp server on CentOS 7, perform following steps: Install vsftpd package with yum -y install vsftpd Edit the range of ports that is to be used by ftp service in /etc/vsftpd/vsftpd.conf pasv_min_port=3000 pasv_max_port=3500 Use systemctl command to enable vsftpd at boot time: systemctl enable vsftpd.service systemctl start vsftpd.service Open ftp port in firewall …
Performance testing and benchmarking tools for Linux
Disclaimer: Links given on this page to external websites are provided for convenience only. SeiMaxim has not checked the following external links and is not responsible for their content or link availability. The inclusion of any link on this page to an external website does not imply endorsement by SeiMaxim of the website or their …
Configure sftp server with restricted chroot users with ssh keys without affecting normal user access
Login on the Linux server (sftp) as root and create a new user account with the following Shell commands: useradd seimaxim-user passwd seimaxim-user On the client system copy the ssh keys to the server: ssh-copy-id seimaxim-user@seimaxim-server On the client system verify the ssh keys so that a password-less login can be made to the server: …
When connecting to VNC either screen is black or icons are shown but no menu or screen background
This issue occurs due to changes in the default service unit file. The changed file which is causing the error is given below; [Service] Type=forking User=<USER> # Clean any existing files in /tmp/.X11-unix environment ExecStartPre=-/usr/bin/vncserver -kill %i ExecStart=/usr/bin/vncserver %i PIDFile=/home/<USER>/.vnc/%H%i.pid ExecStop=-/usr/bin/vncserver -kill %i The correct file is shown below; [Service] Type=forking # Clean any existing …
How to allow two VNC clients connect to the same VNC Server session?
On the client system, start vnc viewer with vncviewer --shared serverIP:Display On server-side use option --shared when starting vncserver.
How to limit per user VNC sessions count?
You can use the following PERL script to limit VNC sessions per user. Create a new file name vncserver and add the following content. # Start the VNC Server # Maximum sessions is limited to 2 per user in server. &vnclimit(); } } sub vnclimit { $countoutput = `ps -u $ENV{USER} | grep -i Xvnc …
vncserver failed to start with error AttributeError: DBusException instance has no attribute _dbus_error_name
When starting vncserver service on the command line you get the error AttributeError: DBusException instance has no attribute _dbus_error_name, follow the solution How to configure virtual network computing [vncserver] in Linux CentOS Server 7 and 8?
How to configure virtual network computing [vncserver] in Linux CentOS Server 7 and 8?
In Linux CentOS 7 and 8 install tigervnc-server using yum with yum install tigervnc-server tigervnc Install X Window System on CentOS 8 with yum group install GNOME base-x or yum groupinstall "Server with GUI". On CentOS 7 install X Window System with yum groupinstall gnome-desktop x11 fonts or yum groupinstall "Server with GUI" Set the …
How to Install and Configure VNC on Debian 9 and Kali Linux 2020.2

This is a quick guide to installing VNC on Debian 9 and Kali Linux Login to your server as root. Install VNC server with apt-get install tightvncserver If you get the following error then you can install tightvncserver from Debian or Kali installation ISO image. root@server:/home/user# apt install tightvncserver -y Reading package lists... Done Building …