Monday, June 24, 2013

How configure X11 Forwarding in CentOS/RHEL 6/7

X11 forwarding refers to executing such a program remotely through an SSH (Secure Shell) connection. It’s mean the executable file itself is hosted on a different machine than where the graphical interface is being displayed. The graphical windows are forwarded to your local machine through the SSH connection



# Install Required Packages
yum install -y xorg-x11-server-Xorg xorg-x11-xauth xorg-x11-apps


# Enable X11 Fowarding

cp -p  /etc/ssh/sshd_config /etc/ssh/sshd_config.orig
vim /etc/ssh/sshd_config

#Change these 2.

X11Forwarding yes
X11UserForwarding yes


# Restart SSH Service

systemctl restart sshd
service sshd restart

#Install xmin software
Download it from here

# Test Connection

run xclock



Ubuntu - Install trivy image scanner

How to Install Trivy Image Scanner on Ubuntu (Step-by-Step Guide) Trivy is a popular open-source vulnerability scanner used in DevSecOps ...