Do you want to use RDP on a Windows client to reach a Linux server?

Install and configure EPEL repository

Add nux repository

Install xrdp

Use YUM command to install xrdp.

HP Network Automation – Using SOAP, XML, API, Python

After some trial and error the following script now works –

If you forgot your root password for your Debian server use the following procedure to reset. This has been tested on ‘Wheezy’

Press SHIFT on boot to get into the GRUB menu. Select the option to edit the commands (c?). Move the cursor down until you see the line starting ‘linux’ and append the text to below to that line. Press CTRL+x to boot the system.

You will shortly get the command line. At this point, the root file system is still mounted read-only, so enter the following to remount it READ WRITE –

Then type –

Enter your new password. Retype if asked to confirm.
Then restart the machine by typing –

Now you should be able to login with your new root password as required.

motionEye – Turn off the LEDs

By default the /root filesystem is mounted Read Only to protect against corruption. In order to edit files you need to mount it RW first. The procedure below contains all the steps to remount as RW, edit your LED settings and then remount as RO once again.

Mount as RW

Edit /boot/config.txt

Remount as RO

All done.

FreeNAS VM – EFI Booting

Recently I updated my FreeNAS installation to the latest version. This now supports VMs. I installed a Centos VM to run a CrashPlan backup service. However, I noticed that the VM always went back to the EFI boot menus when it rebooted – not much use…

I found the following solution –

Using the original install CD I used the ‘Rescue’ option to boot my installed version. I then used chroot /mnt/sysimage to get to the installed files.

You then need to make some changes to the EFI boot file locations

After this everything should boot fine – however, make sure you update the CDROM device to remove the .iso file – if not, the VM will constantly boot into the setup CD! If you have issues with deleting the entry to the .iso image, just create a zero length file, call it ’empty.iso’ and point the device to that.

MobileAction i-gotU – Backup GPS tracks

The files holding the track data can be found in the following location on Windows 10 –

\Users\<username>\AppData\Roaming\Mobile Action\atrip\Resource

Within that folder you will find a number of subfolders as shown below, actual names will be different but will follow a similar format.

These folders contain the actual track data.

If you backup the folder as detailed above you will include all of these folders with their data.

 

Raspbian Jessie Lite – Enable ssh when headless

The Raspbian Jessie Lite image is shipped as default with ssh disabled. This is a bit of a pain if you plan to use your Raspberry Pi headless straight out of the box.

Fortunately it is easy to get round this and enable ssh on the SD Card as you create the image.

Just create an empty file called ssh and copy it to the boot partition of the flash card.

To create an empty file in windows, use the following from the command prompt