Tag Archives: Eltechs

Control Your Raspberry Pi Remotely

Sometimes while building a Raspberry Pi based project, it may be difficult to connect a screen, mouse and keyboard each time you want to edit something. If the Raspberry Pi is connected to a network, then running a remote desktop on it could be a good solution.

Remote Desktop Protocol (RDP) is a proprietary protocol developed by Microsoft, which provides a user with a graphical interface to connect to another computer over a network connection. In this article, you will find three different methods to run remote desktop on your Raspberry Pi.

Method 1: Using TeamViewer

TeamViewer is a proprietary computer software package for remote control, desktop sharing, online meetings, web conferencing and file transfer between computers.  It is available for Microsoft Windows, Mac OS X, Linux, Chrome OS, iOS, Android, Windows RT, Windows Phone 8 and BlackBerry operating systems. It is also possible to access a machine running TeamViewer with a web browser.

ARM-based devices such as Raspberry Pi don’t have a TeamViewer version, but there is still a way to run it using ExaGear Desktop. It allows you to run Intel x86 application on ARM-based Mini PC.

Follow these steps to install and use TeamViewer on your Raspberry Pi:

  1. Get you copy of ExaGear Desktop and install it. You can order it through the official website for $27 for Raspberry Pi 2 and $33 for Raspberry Pi 3.
  2. Enter the guest x86 system using the following command:

    $ exagear
    Starting the shell in the guest image /opt/exagear/images/debian-8-wine2g
    
  3. Download and install TeamViewer

    $ sudo apt-get update
    $ sudo apt-get install wget
    $ wget http://download.teamviewer.com/download/teamviewer_i386.deb
    $ sudo dpkg -i teamviewer_i386.deb
    $ sudo apt-get install -f
    $ wget http://s3.amazonaws.com/wine1.6-2g-2g/wine1.6-2g-2g.tar.gz
    $ tar -xzvf wine1.6-2g-2g.tar.gz
    $ sudo ./teamviewer-fix-2g.sh
    
  4. Run TeamViewer from Raspberry Pi start menu, and setup static password for remote connection. Go to connection menu, select setup unattended access and enter a name for your Raspberry and a password. Once you are finished your Raspberry Pi ID will appear.
  5. Now download and install TeamViewer on your desktop and run it from start menu. Enter the Raspberry Pi ID in the “Partner ID” field and press connect button. A pop-up window will ask you for the password. Enter it and the remote session will open in a new window.

Method 2: Using VNC

Virtual Network Computing (VNC) is a graphical desktop sharing system that uses the Remote Frame Buffer protocol (RFB) to remotely control another computer. It transmits the keyboard and mouse events from one computer to another, relaying the graphical screen updates back in the other direction, over a network.

You can install VNC directly on your Raspberry without any additional software, follow these steps to install and prepare VNC:

  1. Install VNC server on Raspberry using this command:

    $ sudo apt-get install tightvncserver'
    
  2. Start VNC server by typing “$ vncserver” on the terminal. At the first start it will ask you to enter a password which will be used to access Raspberry Pi remotely.
  3. Get and save your Raspberry Pi IP address using this command

    $ sudo ifconfig
    

    and search for string like this (inet addr: 192.168.1.110)

  4. Now download and install a VNC client program on your desktop, such as TightVNC.
  5. Run TightVNC Client from the start menu. In Remote Host field enter: IP address of Raspberry, colon, 1. It should be like this ‘192.168.1.110:1’ and press Connect. You are now connected to your Raspberry Pi.

Method 3: Using ssh + X11 forwarding

Secure Shell (SSH) is a cryptographic network protocol for operating network services securely over an unsecured network. The best known example application is for remote login to computer systems by users.

X11 is the X Window System which allows you to run software on a UNIX/Linux server in a Windows-like way such that you can use your mouse to click around in it. The secure way to do this is to forward your X11 packets through your ssh connection which automatically sets your DISPLAY environment variable for you. On the configuration menu, select X11 under SSH and check “Enable X11 forwarding”.

  1. Login to Raspberry Pi and run GUI of a program.

This tutorial is made by Eltechs, the company of ExaGear. You can visit the original post for more detailed steps and information.

3D Gaming With Raspberry Pi & ExaGear

ExaGear is a virtual machine that implements virtual x86 Linux container on ARM and allows you to run Intel x86 applications directly on ARM. With this software by Eltechs you can run Intel x86 application on your ARM-based Mini PC simultaneously with common native applications.  It is like QEMU but 5 times faster! You can even run Windows applications on your ARM Mini PC if you install Wine.

ExaGear is user friendly software with transparent operation so you don’t notice a difference between running x86 applications on x86-based or ARM-based platform. Use your favorite applications on ARM-based devices and overcome platform compatibility.

In 2014 ExaGear Desktop was launched to allow running PC games on ARM-based devices (Raspberry Pi, Odroid etc.). ExaGear Desktop is an emulator too but dramatically differs from other emulators with its performance. ExaGear Desktop provides very low slowdown – 1.3 times instead of 50-100 times for other kind of emulators! Run games of the level beyond Retropie such as Arcanum, Disciples II, Fallout , Might And Magic VI,Pharaoh and Cleopatra, Stronghold Crusader, Sid Meier’s Alpha Centauri, Caesar 3 and many others on Raspberry Pi! You can learn how to set up these games from this article

However, there was one important issue. ExaGear Desktop didn’t support hardware graphics acceleration. That mean that games which actively use 3D were terrible laggy.

But amazing things happened!  A new version of ExaGear Desktop – ExaGear Desktop 2.0 is fully supporting 3D graphics acceleration on Raspberry Pi 2 and Raspberry Pi 3!

Check this video that run Counter Strike and Diablo II on Raspberry Pi:

More games are going to be added gradually and you can also suggest on the team your favorites. The team solved this problem after the OpenGL library was adapted into Raspberry Pi architecture, so they could develop some OpenGL calls to the hardware in order to solve the problem of 3D graphics.

This option is only available at Raspberry Pi since it is the only development board that uses OpenGL. You can learn more about this new era of gaming from this article and get ExaGear from here.

 

Jump Over The Limits of ARM With ExaGear Desktop

While the most of Linux programs are compiled to run on Intel x86 processors, the virtualization softwares appear to give the ability to run Intel x86 application on ARM-based Mini PC such as Raspberry Pi.

In this way, Eltechs, a high-tech startup company, had produced a new binary translator called “ExaGear Desktop”. It runs applications for the conventional desktop and server x86 processors on energy-efficient ARM CPU without recompilation.

ExaGear Desktop creates a second system known as the ‘guest’ system. Once installed, you can switch between the guest and your regular (‘host’) system using the ExaGear and exit commands. Inside the guest system, apt-get and dpkg are used to install Intel x86 software. The guest system is a transparent operation so there is no difference between running x86 applications on x86-based or ARM-based platform. It also gives you the ability to run Windows applications by installing Wine.

ExaGear is compatible with many of ARM-based Mini PCs such as Raspberry Pi 1, Raspberry Pi 2, ODROID, CubieBoard, CuBox, Utilite, Jetson TK1, Wandboard, Banana Pi etc. It also can run on Chromebook with Linux.

Compared with QEMU, another open-source virtualization software, ExaGear is  5 time faster and has  much better performance with CPU and memory as the benchmark results shown when running on Raspberry Pi 2. You can see the benchmarking details and results here.

ExaGear is available for ordering through the official website with a price range between $16.45 and $56.45 according to the hardware used. You can find more information at the product page. And it may be useful to take a look at this review.