certificate error when initiating a RDP session using Remmina

Shortly after running the latest version of Remmina a new message “certificate changed” popped up.

remmina remote desktop protocol rdp certificate details

As I connect to different VMs with the same IP address (e.g. with client A I connect to host “KA” and client B I connect to host “KB” using the same IP address 192.168.178.12) this message totally makes sense as each VM has a unique certificate. But when I click on “OK” to accept the new certificate I get an error message.

remmina remote desktop protocol rdp certificate details

Several posts on the web say that files in the folder ~/.freerdp/certs should be removed .. but this folder does not exist on my machine.

Others say they changed the RDP security from Negotiate to RDP .. but this also did not work for me.

Finally a blog post got me on the right track – there the programme xfreerdp was run via command line with the parameter /cert-ignore – this very parameter Ignore certificate can be configured right in Remmina .

remmina remote desktop protocol rdp certificate details

using Remote Desktop Gateway with Remmina

Previously I was starting a Windows VM to do nothing else but connect to other Windows machines or VMs using Remote Desktop Gateways. Several weeks ago I was asked why I don’t use Remmina as it uses FreeRDP and this has the feature implemented. With a quick search I found an answer (from 2014) that I would have to compile FreeRDP myself. It was also mentioned that there was a feature request on the Remmina GitHub repo which one should upvote. There I found the information that it was already implemented …

So I double-checked if I was running the current version of Remmina. The Linux Mint Update Manager also did not show any updates.

Remmina was installed in version 1.1.2 – support for Remote Desktop Gateway was added in version 1.2.0 (which is currently available as PreRelease).

The wiki mentions that there is an official PPA for Remmina 1.2 which one can add and install the latest PreRelease with the following commands:

sudo apt-add-repository ppa:remmina-ppa-team/remmina-next
sudo apt-get update
sudo apt-get install remmina remmina-plugin-rdp remmina-plugin-gnome libfreerdp-plugins-standard

After updating Remmina with the latest PreRelease I can now successfully connect using RDG without firing up a VM every time.

remmina rdg remote desktop gateway settings

toggle window “always on top” via shortcut

When I use Windows I still use the aged tool WinSplit which brings the shortcut “CTRL+ALT+O” with it. This keeps the current window always on top of all other.

I wanted this functionality (and the shortcut) also on my laptop which is running Linux Mint.

This works without any additional software as the functionality is built-in and available via the context menu of every programme icon.

https://cdn.gpunktschmitz.de/blog/183/00-manually-set-window-always-on-top.png

And a programme to add shortcuts exists also.

https://cdn.gpunktschmitz.de/blog/183/01-open-keyboard-shortcuts.png

So, starting the programme “Keyboard Shortcuts” and click the “Add”-Button.

https://cdn.gpunktschmitz.de/blog/183/02-add-new-keyboard-shortcut.png

Entering a name and the following as the command:

wmctrl -r :ACTIVE: -b toggle,above

https://cdn.gpunktschmitz.de/blog/183/03-enter-new-shortcut-command.png

Once the shortcut is added you click on the column “Shortcut” of if (where it says “Disabled”).

https://cdn.gpunktschmitz.de/blog/183/04-click-on-disabled-to-set-new-shortcut.png

Now you can add the favoured shorcut by simply pressing it.

https://cdn.gpunktschmitz.de/blog/183/05-press-shortcut-and-close.png

bash script to rip a DVD to XviD – auto-rip when insert media (gnome)

introduction – or why post so late?

as you will see in the script header comments i initially created it back in august 2012 .. as i saw the article on how to autorip dvds with windows on lifehacker i just had to reply …

the problem/challenge

i started writing this script because i wanted a ripping-solution which anybody could use. i did not want to write a howto for windows/linux but a solution that is truly auto-magic .. and then sends you an email when it’s done …

the solution

my approach for linux is a bash-script (now hosted on github) which can take one parameter for the dvd mount point. if no parameter is given it will go for “/dev/dvd”. it uses “mencoder” for the ripping, “mail” to send an email and “volname” to get the dvd volume name.

i then set this script to run as default action whenever a dvd video is inserted on my (atom) server, which is still running linux mint 9 with gnome. i did not have the time yet to set it up with LMDE but will post an update when i’ve done that.

the script

unfortunately i could not find an easy way to embed the source .. therefore please go check it out over at github

gnome: set a script to be run whenever a dvd video is inserted

in nautilus selecet “edit > preferences”

ripDVDtoXvid-1

then select the “Media” tab and set the script as default action for “DVD Video”

ripDVDtoXvid-2

 

libdvdread4 error – no VTS_TMAPT ?? on linux mint using mplayer or mencoder

when trying to rip a video dvd using mencoder i got the error:

...
Please send bug report - no VTS_TMAPT ??

after a bit of googling it turnes out this is a well known bug .. and that it’s fixed in “libdvdread 4.1.3-10ubuntu3” so i double checked that the version i was using was the latest via aptitude …

as i did not get an update i searched for a new version and found this one for ubuntu precise:

https://launchpad.net/ubuntu/precise/+package/libdvdread4

so i just downloaded the .deb-file (to both my linux mint 10 and linux mint 9 boxes) and installed it with GDebi …

after this ripping and playback works again …

howto format a usb thumb flash drive

to format a usb thumb drive you need a software called “gparted”.

installing gparted

to install it use the following command:

sudo aptitude install gparted

or you may also use the “Software Manager”,

howto format a usb thumb flash drive

search for “gparted” and install it.

howto format a usb thumb flash drive

run gparted

after the installation run it either by starting it with the command

gparted &

using the terminal or you may also find it in the mint menu listed in the group “Administration”

howto format a usb thumb flash drive

or just type “gparted” into the search box.

formatting

select the device you want to format from the dropdown list in the top right corner

howto format a usb thumb flash drive

when you made sure you have selected the correct device right-click the partition and select “Unmount”

howto format a usb thumb flash drive

then right-click the partition again and select the format you want the thumb drive to have from the sub-menu “Format to”

howto format a usb thumb flash drive

apply the changes by clicking on the ‘return’-button “Apply All Operations”

howto format a usb thumb flash drive

you have to confirm the operations to take effect

howto format a usb thumb flash drive

once the thumb drive is formatted you may close all windows and mount it by clicking on it in a nautilus window.

workaround: slow printing pdf documents and images on the hp 2200 dtn

i tried everything to fix the slow printing of the hp 2200 dtn but nothing really helped .. the only thing seems to be to replace it with a different one (according to this forum post .. the third from the bottom) …

i have the fit-pc2 running 24/7 and there is also running windows xp in virtualbox on it .. so i thought why not configure the printer in windows xp and share it …

using this shared windows printer the pages are printed in no time …