$ sudo apt-get -y install dconf-toolsThis can be useful if any third-party VNC client can not establish encrypted connection with Ubuntu VNC server. Not secure option.
$ sudo dconf write /org/gnome/desktop/remote-access/require-encryption false
Search in this blog
Thursday, August 2, 2018
Disable encryption for Ubuntu remote access VNC server
How to disable encryption for Ubuntu's built-in VNC server.
System startup time in Ubuntu
How to check how long does it takes for Ubuntu to start:
$ systemd-analyze
Startup finished in 5.233s (kernel) + 5.342s (userspace) = 10.575s
Usage examples of find command to search and remove files
Check current directory for *.log files larger than 1Mb:
$ find . -maxdepth 1 -name '*.log' -type f -size +1MCheck directory tree up to 5 enclosed folders for *.log files larger than 1Mb, and show their size:
./parallels.log
$ find . -maxdepth 5 -name '*.log' -type f -size +1M -exec du -h {} \;Check directory tree up to 5 enclosed folders for *.log files larger than 1Mb, and remove them forcibly:
1.4M ./parallels.log
find . -maxdepth 5 -name '*.log' -type f -size +1M -exec rm -f {} \;Or same using the for loop:
$ for i in $(sudo find ./ -type f -name '*.log'); do
rm -f $i
done
Subscribe to:
Comments (Atom)