Install LXDE with opengles accelerated on cubian Sep 29, 2013
Cubian doesn’t provide a desktop environment by default, but you can easily install it now.
Requirement
Please make sure the rootfs has enough available space, over 1GB is recommended. You can use cubian-resizefs to resize your rootfs partition without losing any data.
For short
apt-get update
cubian-update
apt-get install xserver-xorg-core xinit xserver-xorg-video-sunximali sunxi-disp-test lxde
usermod -a -G video cubie
If everything goes well, You’ll get LXDE running with opengles accelerated
Screenshot
Step by step explanation
- Cubian update
This ensures your cubian has the latest hardware support - Install xserver-xorg-core and xinit
We only need the xserver core packages, don’t install xserver-xorg package, it’s large and contains lots of useless files for us. -
Install xserver-xorg-video-sunximali and sunxi-disp-test
These are display drivers and the driver test program. Thanks to ssvb.
The X system should working now, you can test it byxinit /usr/bin/sunxi_disp_test – :0
If this shows a colourful triangle in a grey background measuring 480x480 then all is fine! You can safely proceed to next step.
- Install lxde
- Add user cubie to video group, so it can access the mali device
-
Run the test program again.Open a lxtermial from the start menu
sunxi_disp_test