There are a few apps that you would require on your smartphone. Download and install
Xserver XSDL is a xserver which can be run on your smartphone. Whereas connectbot is a simple ssh client for connecting to your raspberry pi via ssh. The trick here is to run the Xserver on your smartphone. Ssh to your pi and tell your pi to forward the display to the Xserver running on your smartphone.
Let us see the configurations that need to be verified on the pi. Ssh to your raspberry pi over the network and check the following configuration options in these files.
If these configuration options are commented out, simply uncomment them. Else add them and restart your ssh server on your pi.
$ sudo service ssh restart
Now start the app Xserver XSDL on your smart phone. It may download a set of fonts and will then ask you to run some commands on your linux PC. The Xserver starts running on port 6000. Now, we need to forward the display of pi to our smartphone.
Go back to the ssh connection on your smartphone and run these commands.
$ export DISPLAY=192.168.1.37:0
$ export PULSE_SERVER=tcp:192.168.1.37:6000
My smartphone is running on the ip 192.168.1.37. And i am forwarding the display directly to the Xserver running on port 6000.
This is insecure as the port forwarding is not happening over ssh but directly from the pi to the smartphone. But if you are on a local network, it should not matter.
Now simply start your lxde desktop environment on the ssh connection. Execute the following command on the ssh connection.
It is not very comfortable for working as the mouse pointer is difficult to catch and click. But if you have an old smartphone or tablet lying around, you can use it as a display – running a smart photo frame or a hanging smart calendar.