Monday, August 29, 2016

BeagleBone desktop forwarding via SSH

How to access a remote graphics environment via GNU/Linux machine? In this example I push LXDE though an SSH channel between BeagleBone Black and Ubuntu 14.04 laptop. I suppose that X11 SSH forwarding itself is already configured.

Initialise X server at display 1 on your client device. This command automatically redirects to the virtual terminal 8.

$ sudo xinit -- :1

Using white terminal at the top left corner establish SSH connection with X11 forwarding and run lxsession:

$ DISPLAY=:1 ssh -X root@192.168.7.2 lxsession

Enjoy. Closing the white terminal leads to the end of the session.