Sunday, May 26, 2019

Install VNC on Ubuntu 18.04 for RDP from Windows

Install Xfce on your server:


sudo apt install xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utils
 
 sudo apt install tigervnc-standalone-server tigervnc-common
  
Next setup a password for vnc login:
 $ vncpasswd
 $ ls -l ~/.vnc/
 
sudo nano /etc/systemd/system/vncserver@.service


/etc/systemd/system/vncserver@.service
[Unit] Description=Remote desktop service (VNC) After=syslog.target network.target [Service] Type=simple User=linuxize PAMName=login PIDFile=/home/%u/.vnc/%H%i.pid ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill :%i > /dev/null 2>&1 || :' ExecStart=/usr/bin/vncserver :%i -geometry 1440x900 -alwaysshared -fg ExecStop=/usr/bin/vncserver -kill :%i [Install] WantedBy=multi-user.target

 VNC is not an encrypted protocol and can be subject to packet sniffing. The recommended approach is to create an SSH tunnel that will securely forwards traffic from your local machine on port 5901 to the server on the same port.

Sunday, May 19, 2019

Samsung A3 SM-A310F - FRP Cloud Lock

Разблокировка FRP

1. Flash Service Image ( Сервисная прошивка )
- Odin -- Use the AP or PDA in older version
- boot phone into Download Mode ( blue screen - volDown+Home+Pwr ; rel; volUp )


2. Enable USB debugging on Phone0
> Settings > SW info > tap 10x times Build Number >> DevOps mode

3. Power phone off
-- start to Download Mode again

4. Flash Stock ROM
-- Choose correct country + provider
-- https://www.updato.com

5. Enable OEM Unlock
-- Settings > Developer Mode > Enable OEM Unlock (Disable device security)

now you can flash TWRP and root your A3 .. or keep it in Stock and Encrypt it ;)

6. Flash TWRP Recovery image

Android 7.0+ on Samsung with ROOT -- disable encryption

Разблокировка FRP




Friday, May 10, 2019

webmin install on ubuntu


First download the latest package:

wget  https://www.webmin.com/download/deb/webmin-current.deb

Install Debian package installer :
sudo apt install gdebi 

And run it (gdebi-gtk for GUI):
sudo gdebi webmin-current.deb

When install is done visit:
https://localhost:10000/

Login as root with your root password, or as any user who can use sudo

Unix tar/gzip format
https://www.webmin.com/download/webmin-current.tar.gz
RPM suitable for Redhat, Fedora, CentOS, SuSE or Mandrake Linux
https://www.webmin.com/download/rpm/webmin-current.rpm
Debian package suitable for Debian, Ubuntu or other derived Linux
https://www.webmin.com/download/deb/webmin-current.deb
Solaris package format
https://www.webmin.com/download/solaris-pkg/webmin-current.pkg.gz