Just a quick post as my personal documentation.
Use PRemoteDroid
Download the JAVA-based server.
Then you can connect to your phone using WiFi if both phone and laptop are on the same network. For connection via bluetooth under Ubuntu, first you have to download/install these files using apt-get:
– libbluetooth-dev
– bluez
Don’t forget to switch on the bluetooth before starting the server! Then the server should start quietly without long outputs.