Tag Archives: Linux

Virtual Server made easy

I was shown by a colleague of mine a nice tool I wanted to share. Ever wanted to have your own cheap Linux server on the net? So did I and the prices were not so, let’s simply say, attractive! Either you get a real Virtual Server and these come starting for at least 10€ / month, but you can find prices for about 5€ / month where you get a scalable server.

The service I tried out is called DigitalOcean and it appears to be one of the most simple services in this sector. You can, in less than a Minute, create a new server, scale them up and much much more. And the best of it, you pay as you use it. Not using any space or CPU etc, means you’re not paying anything.

It’s easier than running your own Raspberry at home and not having a fix IP etc. For the fix IP you’re already paying much more, and many tools need an own IP so if you’re interested in this, you might have a look at it.

That’s the way the cookie crumbles…

pi-top CEED

After a few month of waiting for my second Crowdfunding Project, i finally recieved my pi-top CEED. I aditionally backed the Speaker so this was an Option in the funding. So wanted to Review a litte bit this Project which i followed from the beginning on.

First i have to say that the Initiators always kept a very good contact to the funders! They posted on a regular Basis News of the Project and so as a backer you were always kept informed. This was especially interesting due to the fact that at some Point they ran into Problems and had difficulties to stay in the schedule. In my opinion very positive and so as a backer i always felt myself very comfortable even with some weeks falling back! I never got the idea that my Money could get lost.

Another nice touch was that they posted on a few occasions Pictures of what we could expect as a result.

As the package arrived at my home i have to admit, that it was very well protected. The packaging itself was as already seen on the Pictures nice and trendy.

Using the device itself… Inserted the SD-Card which was provided and connected the Raspberry-Pi (i did buy it separately) and booted the device up. No Problems with defective Pixels for my device and the Speaker worked after the Installation as it should! Okay… It is not only the physical Installation but you also Need to install the Drivers. Inside the package you could find the How-to or you can read it from the page under this link.

Finally i have to say that the Linux-OS package provided from them is not my favourite… It is quiet Special and has apart from the standard Desktop a Icon based second Desktop. Apparently invented for Kids or Linux-Newbies this should do it work, but for People who are used to Linux not the Thing you want… I will try to get more into that distro and see if it is what i Need. Otherwise i will stick to as usual Distro for the Raspberry.

Anyway… The device itself is of very good Quality in my opinion! I got a green one and the Color is flashy =D I´m lovin it! The idea to hold the Raspi with Magnets is another glorious idea! The only negative aspect is that inserting any USB device may result in misplacing the Raspberry… By being careful it should work.

Roundabout it is a nice Piece which i got for a reasonable price by being a backer.

2016-07-13-18-44-54 2016-07-13-18-45-36 2016-07-13-18-45-45 2016-07-13-18-46-44

How To Remote Desktop to your Raspberry Pi

So at some point i wanted to access my Raspberry Pi without the need to have it always hooked up to my (or any) screen. So I looked it up and collected all the needs and the problems with its solutions.

First of all, you need a running Wheezy installation. It needs to be hooked up to your network and to the internet. After that you need to connect yourself with your regular operating System onto the console of the Pi. I use therefore PuTTY which is a common program for these things under windows. Download it and make an SSH connection into your Pi.

After that to start we simply update the Raspberry to the latest Version. To do that use the following command:

sudo apt-get update && sudo apt-get upgrade

You will need to confirm that you want to update and that these updates will take some more space on your partition. Depending on the state of your device, this might take some time. Have a break…

This is not really needed to install the remote desktop server, but it is always good to have the latest version of the programs so that errors which might occur are reduced to the maximum! Now we can come to the main part.

To be able to connect to the Desktop we will use a tool called XRDP. To install it you need to insert the following command

sudo apt-get install xrdp

Again you will need to confirm that you want to install it and after that all the needed stuff is installed. After that a reboot of the device should be done.

sudo shutdown -r now

When the device comes back up the complete process should be finished. All you will need is to connect yourself with your RDP Program to your Raspberry. In Windows you can use the Standard tool “Remote Desktop” for that. You will need to enter the IP of your Raspberry. See my screen-shot as an example (it is in German but it should be similar in English) and simply click connect.

remote1

When everything went right you should be seeing a login screen similar to this:

remote2

So if you reached as far, you did everything right! But there might be some problems logging in…

The language Problem

Some more informations for people with having issues logging in. If you came to that screen everything is working fine. If you cant log in, there might be an other problem with your keyboard! In the field of the username you can test your keyboard to see if all your keystrokes are transmitted the correct way. This is a language issue. Here comes the solution i had to look for on a few places on the net.

SSH again into your Pi. Then you need to go tho the following location /etc/xrdp so you have to use the following command for this:

cd /etc/xrdp/

After that you can use the command ls to see which files this directory contains. It s all about km-????.ini files (???? stands for numbers corresponding to the country code). Initially xrdp uses km-0409.ini (English) but I want to use a German Keyboard so i should be using the km-0407.ini. The country codes can be found here. Not all the ini Files are on your device but Google should be able to help you to find them. You simply need to copy them into the same folder and do the same trick.

To start, we will create a copy of the original km-0409.ini which we will name km-0409-copy.ini with the command:

sudo cp km-0409.ini km-0409-copy.ini

After that we copy the German layout (km-0407.ini) over the Original Version (km-0409.ini)

sudo cp km-0407.ini km-0409.ini

Finally the xrdp program needs to be restarted which we do with the command

sudo /etc/init.d/xrdp restart

After that use your Remote Desktop Program to login and your keyboard strokes should arrive the correct way on your Pi.

Mission Accomplished! Now you can enjoy your Pi on your regular system without hooking it extra to a screen. Okay there might be some limitations but regular stuff works anyway!