Search This Blog

Wednesday 28 September 2016

Steps to Hide WiFi password for user login in Windows

  •     Open a command prompt as an administrator (right click, select "Run as administrator"
  •     Run Regedit
  •     Browse to HKEY_CLASSES_ROOT\AppID{86F80216-5DD6-4F43-953B-35EF40A35AEE}
  •     Right click on the key
  •     Select Permissions
  •     Click Advanced button
  •     Select Owner tab
  •     Highlight Administrators group and then click OK
  •     Under Security, highlight Administrators group and set Permissions to Full Control​

Monday 12 September 2016

X11VNC Server on Ubuntu

X11vnc packages are available under default repositories, So just update default repositories and install.

$ sudo apt-get update  $ sudo apt-get install x11vnc  

Create Password

Now create a password to connect using vnc viewer from client system.

$ x11vnc -storepasswd    Enter VNC password: *********  Verify password: *********    Write password to /home/rahul/.vnc/passwd?  [y]/n y  Password written to: /home/rahul/.vnc/passwd  

$ X11vnc -usepw

Start X11VNC Server

After successful installation of x11vnc server on your system. Let's start it using following command. Change the parameters as per your setup.

$ sudo x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /home/rahul/.vnc/passwd -rfbport 5900 -shared  

Setup AutoStart on Boot

Finally setup the auto start of x11vnc server on system boot. Create a x11vnc.conf file under /etc/init/ directory using following content.

$ sudo vi /etc/init/x11vnc.conf  
# description "Start x11vnc on system boot"    description "x11vnc"    start on runlevel [2345]  stop on runlevel [^2345]    console log    respawn  respawn limit 20 5    exec /usr/bin/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /ho