Category Archives: Uncategorized

PI-Hole Add-Blocker on Ubuntu Mini

imageI wanted to utilise the pi-hole software but  didn’t want to use my Raspbury pie, I wanted to use hyper V virtualisation and a basic cut down version of mini Ubuntu,

so I installed ubuntu from this link above  added the gui and basic gnome and then installed the  the pie hole

after using terminal and this list of commands

sudo apt install git
Sudo git clone –depth 1 Pi-hole
cd Pi-hole/automated_installer/

Make the Ubuntu have a static ip

or edit

Sudo nano \etc\dnsmasq.conf

Last 3 lines are IP address and subnet





software onto that and then point my DNS via DHCP server to the new Ubuntu to machine

that was it working.


Add vnc to xbuntu xbmc

This is so I can control my XBMC downloader PC running xubuntu via my iPad with myVNC.

The discussion here is being limited to XUbuntu 12.04 LTS, however pretty much any version of *nix will work in principle.

Start by ensuring your system is up to date.

sudo aptitude update
my case was sudo apt-get update
sudo aptitude upgrade
my case was sudo apt-get upgrade

Install the server.

sudo aptitude install x11vnc

my case was sudo apt-get install x11vnc

Setup a password file
sudo x11vnc -storepasswd /etc/x11vnc.pass
This command will ask you to provide a password and confirm it.
Once the password file is created, restrict the permissions of the file so only root can access it.

chmod 600 /etc/x11vnc.pass

Automatically start the server
You may want to start the server automatically when ever the computer is running. If you do want this behavior, you will want the server to start even before a user has logged in. In order to accomplish this, place the following code in a file called


start on login-session-start
x11vnc -xkb -noxrecord -noxfixes -noxdamge -display :0 -auth /var/run/lightdm/root/:0 -forever -shared -bg -o /var/log/x11vnc.log -rfbauth /etc/x11vnc.pass -rfbport 5901 -localhost

Remove carriage returns if pasting.

start on login-session-start
x11vnc -xkb -noxrecord -noxfixes -noxdamge -display :0 -auth /var/run/lightdm/root/:0 -forever -shared -bg -o /var/log/x11vnc.log -rfbauth /etc/x11vnc.pass -rfbport 5901 -localhost
end script

Vnc viewer xbuntu ipaddress:5901

You can manually start x11vnc

SSH into box type

x11vnc -usepw

Vic will be on port 5900

Extracts from this page

This is so I can control my XBMC downloader PC via my iPad with myVNC.

Wim winpe editing

Winpe wim file edit customise.
using batch files making much easier to mount wim file for edit

c:\Program Files\Windows AIK\Tools\PETools\x86\winpe.wim

take the wim I want to edit rename to the above location.

Here is some batch files with the used commands to save errors

more info

or here

inside the mounted wim file you will see

Program Files





handy to have a machine with in my case 32bit win7 so I could copy the program I wanted to use from program files to the mounted folder,

then use regedit (important)click on hklm then click file load hive give a name PSsoftware as example,

grab the software parts for that program from the source machine export to txt file, edit notepad (find and replace)change software to PSsoftware import, back in.

when done unload hive.

in windows\system32\

winpeshl.ini has the startup script in the one i using. contains network startup and then explorer.exe

loader.ani is mouse pointer icon.

Win7PE.cfg contains start-menu items and resolution more settings some registry hives.

setup.bmp background image.