Cubieboard remote control methods

* Port série
* SSH
* SSH+X11
* XDMCP

Serial port (UART)

If there isn’t network, for the u-boot sequence, and in some other cases. Connect using (replace the x by the good number):
* A serial cable between the controling computer and cubieboad and use the /dev/ttySx port.
* A standard (PL2303 compatible) USB<=>serial cable/adapter and use, on the controling computer, the /dev/ttyUSBx port.

SSH

ssh user@cubieboard

SSH + remote X application using SSH tunnel

SSH X11 forwarding shoud be authorized for this. In /etc/ssh/sshd_config, the following line should be here:

X11Forward yes

If that was not the case, sshd must be restarted to activate this option.

With this method, about 3D applications:
* If only software OpenGL or OpenGL ES, this work, but really slow.
* If hardware accelerated OpenGL ES, this doesn’t work at all.
A solution is to use LLVMpipe (fastest pure software OpenGL implementation), there will then be full OpenGL, with remote display, but purely CPU/SIMD rendered :

LIBGL_ALWAYS_SOFTWARE=1 $application

or

export LIBGL_ALWAYS_SOFTWARE=1
$application

ssh -X user@cubieboard

XDMCP

With this method, about 3D applications:
* Software OpenGL and software or hardware accelerated OpenGL ES don’t work at all (at least in a x86<->arm mix environment), you can still use LLVMpipe.

On Cubieboard, in /etc/lightdm/lightdm.conf

[XDMCPServer]
enabled=true

Then restart lightdm like this:

service lightdm restart

On the controling computer :
Install xnest package if needed then:

Xnest :1 -query cubieboard

VNC

On the cubieboard. Install a VNC serveur, for example tightvncserver (vnc4server want a password by default) :

apt-get install tightvncserver

Add in /etc/lightdm/lightdm.conf

[VNCServer]
enabled=true

Then restart lightdm as follow:

service lightdm restart

On the controling computer
* Install xvncviewer package (for example) if needed, then

xvncviewer cubieboard

Leave a Reply