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 …
Month: February 2021
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 …