I’ve made a small installer for a simple desktop, that runs fine on a pi2, pi3, vero2 and vero4k with the latest image installed. This in NOT an official desktop installation. The installer takes about 15 mins to install everything, with a few none vital warnings. It installs Xserver, LXDE core, Chromium, OSMC desktop background image and one Icon on the desktop, for a file manager. Finally a starting/launcher addon for kodi.
This installer, also installs a “virtual mouse & keyboard” controlled via the official OMC-remote. The Arrow-keys move the pointer, Play-key is left click, Stop-key is right click and Home-key gives a on-screen keyboard.
Chromium is not accelerated, so streaming isn’t the goal of this installation.
To start the installer, ssh into your OSMC-device and run these commands in osmc-users homedirectory:
After install you must enable the plugin:
Goto Settings->Add-on Browser->My add-ons->Program add-ons->X11 Launcher->Enable
Under Programs, you will now have another icon beside My OSMC
For Vero4k users, you need to install this driver to get X working better, but there is a drawback. You have to reboot your device after running Xwindows, since it wont play HW-accelrated video when changing the alpha channel settings. (will try to work on it):
sudo apt-get install git build-essential xorg-dev xutils-dev x11proto-dri2-dev sudo apt-get install libltdl-dev libtool automake libdrm-dev mkdir fbtrurbo cd fbtrurbo wget https://github.com/zjoasan/x11-osmc/raw/master/aarch64.zip unzip aarch64.zip cd xf86-video-fbturbo-aarch64/ ./autogen.sh ./configure --prefix=/usr make sudo make install sudo cp xorg.conf /etc/X11/
Hope you enjoy it.
Updated 2016-11-22, for Krypton, added splash screen, shortened the sleep commands.
Updated 2016-12-29, Chromium 51
Updated 2017-07-14, Added instruction for accelerated X windows driver on Vero4K
Updated 2017-10-26, Added a UID check for osmc user in the begining of script
Updated 2017-11-24, Updated Vero4k driver instalaltion
Updated 2018-01-08 Updated installation for Stretch, Chromium v.63
Updated 2018-01-11 Updated description, changed x_init.sh to clear VT before startx
Updated 2018-01-23 Fixed addon update in install_x11.sh
Updated 2019-08-20 Work In Progress mouse driver for OSMC-remote, missing left/right click
Updated 2019-08-30 OSMC-remote as mouse, and virtual keyboard.
Updated 2021-05-16 Made a Leia branch (untested), wget link in post 413
Updated 2022-12-18 Updated installer, check for Bullseye or install old chromium(with https issues)