Linux "Coprocessor" for the FP2

This evenings funny proof of concept: Raspberry PI Zero with WiFi hotspot enabled (hostapd) connected to FP2 as graphical and text terminal.
Idea: FP2 case with built-in Raspberry PI Zero as “Linux Coprocessor” for the Linux geek…

11 Likes

What do you use to connect to the Raspi?

1 Like

The connection is a plain wireless connection where the RPi is configured as an access point. Required packages: hostapd and isc-dhcp-server
vnc-server for the graphical terminal
It’s a pity that this forum does not allow attaching files other than images, otherwise I would post my config files here.
The SSH server is enabled on the Pi
On the phone I am using ConnectBot as SSH client and androidVNC for the optional graphical terminal (both apps are in F-Droid)
The procedure:

  • connect to the WiFi on the Pi
  • login via SSH (connectBot)
  • start VNC server - example: vncserver :1 -geometry 1024x768 -depth 24 -dpi 96
  • connect to the VNC server via androidVNC. IMPORTANT: VNC port is 5901, not 5900

You can upload the configs to a GitHub Gist, :wink:

I once tried same thing with my RPi B+ and former Nexus 4, but without wireless! USB tethering creates a network anyway, :wink:
I followed these notes, if someone is interested:
http://mohammedlakkadshaw.com/blog/Android_as_display.html

However, your RasPi Zero + cover idea is a great geeky improvement!

2 Likes

Do you know a good X server for android ?
That could be even better than VNC for display.

For the “real thing” I am usually using x2go. This is real terminal server feeling with sound and print support and pretty good security as everything is tunneled through SSH. Sadly there is no Android client. You get x2go server packages for the RPi here - they work on my Pi3s, have not tested on the zero yet.

Ah that’s a very nice setup you got there, quite frankly that’s why I hope to see Ubuntu Touch ported on the FP2 (sadly development seems to be stalled since mid-July). I’d love to do this setup :

Rpi <- VNC/x2Go over SAP or LAN -> FP2 <- Convergence mode & bluetooth or USB -> Keyboard, mouse and monitor

I am thinking about attempting to build Ubuntu Touch myself but the 15Go Ubuntu Download + FP Open OS over my 250KB/sec connection I have to share with three people does not agree :smiley:

3 Likes

I have put the config files on Github Gist as @Roboe suggested. In order to get the proper paths you have to replace the underscores in the filename with slashes.
Get the files here

3 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.