Catatan

Menunjukkan catatan yang berlabel ubuntu

Enable SSH in Ubuntu 18

 If you need to install OpenSSH on an offline Ubuntu machine without using sudo apt install , you can follow these steps to manually download the necessary packages on another machine (with internet access) and transfer them to the offline machine. Steps to Install OpenSSH Offline Step 1: Download the Required Packages on an Online Machine Check your Ubuntu version : Run the following command on the offline machine to know the version of Ubuntu you are running (this is important to download compatible packages): bash Copy code lsb_release -a Download the required packages : On a machine with internet access, go to the official Ubuntu Packages website . Search for the openssh-server package and note the dependencies for the version that matches your Ubuntu version. Download the required .deb packages : On the online machine , download the necessary .deb files for openssh-server and its dependencies. You can either manually download them from the Ubuntu Packages website or use ap

Ubuntu to sync with NTP Server

Imej
To configure your Ubuntu 20.04 system to synchronize its date and time using an NTP (Network Time Protocol) server, follow the steps below. Ubuntu 20.04 uses systemd-timesyncd for time synchronization by default, but you can also install and use chrony or ntp if necessary. Here are the steps to set the time using NTP: 1. Verify systemd-timesyncd is active By default, Ubuntu 20.04 uses systemd-timesyncd for time synchronization. First, make sure it is running: timedatectl status You should see output indicating that time synchronization is enabled and the NTP server being used: Local time: Wed 2024-09-18 10:32:54 UTC Universal time: Wed 2024-09-18 10:32:54 UTC RTC time: Wed 2024-09-18 10:32:54 Time zone: Etc/UTC (UTC, +0000) System clock synchronized: yes NTP service: active RTC in local TZ: no If NTP service is active, you don't need to install anything further. 2. Configure NTP Servers To con

TeamViewer Mouse and keyboard arent working

  Ok I fixed the issue by doing sudo apt-get install libxtst6:armhf, screen is still blurry for the first couple of seconds but doesnt really matter to me. 

Xdotool run installation offline

Imej
This is the alternative way to install xdotool in Ubuntu without internet access. 1. Copy the source file into the IPC. (dir: /home/ktmbadmin/Documents/) 2. Right click in the window file and open Terminal.   3. Enter Terminal as root user. [ sudo -i ] 4. Copy xdotool file to /usr/bin  [ cp –v xdotool /usr/bin ] 5. Copy libxdo.so.3 to /lib/x86_64-linux-gnu  [ cp –v libxdo.so.3 /lib/x86_64-linux-gnu ]   6. Open new terminal window, run xdotool   Set Permission access user xdotool 1. Enter Terminal as root user. [ sudo -i ] 2. Open folder as root user  [ nautilus ] 3. Folder root opened as below. Go to dir /usr/bin 4. Set the user permissions as below. After set the permission, close the properties. 5. Go to dir /lib/x86_64-linux-gnu 6. Right click libxdo.so.3 file. Set permission as below. Note: after setel ubah permission tu kan.. boleh tutup semua terminal.. lepas tu buka terminal semula dan try run command xdotool dekat dalam terminal.

Ubuntu fix screen resolution

Imej
Discover this issue when I deployed PIS into IPC. As per requirement, the display needs to be shown in 1920*1080  resolution. But, instead, Ubuntu shows 640*480 resolution. How I solved this? Update Ubuntu > sudo apt-get install Open file > sudo nano /etc/default/grub Change line #GRUB_GFXMODE = 640X480 to GRUB_GFXMODE = 1920X1080 Save the edited file. Update the file > sudo update-grub Reboot the IPC > sudo reboot

Mouse movement on linux (Search for the solution)

python mouse movement desktop https://www.geeksforgeeks.org/mouse-keyboard-automation-using-python/ run python in service linux https://websofttechs.com/tutorials/how-to-setup-python-script-autorun-in-ubuntu-18-04/

How to Handle Automatic Updates in Ubuntu

How to Handle Automatic Updates in Ubuntu Google Chrome update itself (without permission) on Ubuntu 12.04