Home / Archive for February 2021

Month: February 2021

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 …

Read more

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 …

Read more

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 …

Read more

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 …

Read more