Posts

Showing posts from February, 2024

Allow locked Remote Desktop Ubuntu

  Remote Connection with Local login (Original Answer) GNOME Shell Extension: Allow locked Remote Desktop The solution below is for problem with screen lock and the new GNOME Remote Desktop in Ubuntu 22.04 that allows RDP (and legacy VNC) protocol for remote desktop sharing.  If someone is physically near your your computer they will see your activities on the connected monitor and thus be able to collect sensitive information. You will need a GNOME Shell extension to solve this problem. First, install install  gnome-shell-extension-manager  with this command: sudo apt install gnome-shell-extension-manager The open the newly installed app called  Extension  in the GUI. Within this app, search for and install the  Allow locked Remote Desktop  GNOME Shell extension. Now you will be able to remotely connect to this computer even when the screen is locked. You will still need to be logged in locally first.

How install Jenkins on an Ubuntu Server

 How install Jenkins on an Ubuntu Server 22.04 Step 1: Install Java sudo apt update sudo apt install openjdk-11-jdk -y         sudo apt install openjdk-8-jdk -y        java -version Step 2: Add Jenkins Repository curl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key | sudo tee \   /usr/share/keyrings/jenkins-keyring.asc > /dev/null  echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \   https://pkg.jenkins.io/debian-stable binary/ | sudo tee \   /etc/apt/sources.list.d/jenkins.list > /dev/null Step 3: Install Jenkins sudo apt update sudo apt install jenkins -y sudo systemctl status jenkins      Jenkins service is not running or active, run the following command to start it:  sudo systemctl enable --now jenkins Step 4: Modify Firewall to Allow Jenkins sudo ufw allow 8080 Step 5: Set up Jenkins http://localhost:8080   (Server ip : port number) Obtain the defaul...