0
mbruck

Installing X server files

Recommended Posts

Hi!

 

I'm using Banana PI and latest Armbian_5.00_Bananapi_Debian_jessie_3.4.110.  SInce it came without xservert and fact that I like to only use board in "kiosk" mode, I should execute only couple of application which use xserver. One is matchbox-keyboad and other is pyQT application. So....

 

Using apt-cache search xfce I got list of packages for xfce desktop. So I presume i have to install at least:

 

xfce4 - Meta-package for the Xfce Lightweight Desktop Environment

xfconf - utilities for managing settings in Xfce

xfwm4 - window manager of the Xfce project

xfe - lightweight file manager for X11

 

Since I'm newbee in linux I'd like to know what I have to installl, just to execute "graphical" application withot whole desktop?

 

Thank you!

 

Mladen

Share this post


Link to post
Share on other sites

I'm using Banana PI and latest Armbian_5.00_Bananapi_Debian_jessie_3.4.110

 

Latest?

 

1) http://www.armbian.com/banana-pi-pro/(5.04 trusty comes with desktop acceleration)

 

2) http://www.armbian.com/documentation/("How to upgrade into simple desktop environment?")

apt-get -y install xorg lightdm xfce4 tango-icon-theme gnome-icon-theme
reboot
Check this site for others.
 
(just quoted from the documentation link above)

Share this post


Link to post
Share on other sites

Hi  tkaiser.

 

Thank you for fast response !

 

Regarding image I'm not sure is possibel to install banana pi pro files to "simple" banana pi. I downloaded mentioned image from Igor's FTP http://mirror.igorpecovnik.com/

 

However, I installed all files you suggested and it's work great.... But   :(

 

That is not wnat I ment, sorry.  What I ment is to just execute one graphical application without loading desktop. How's that possible ?

Share this post


Link to post
Share on other sites

Regarding image I'm not sure is possibel to install banana pi pro files to "simple" banana pi.

 

Igor switched to the Banana Pro being the default (since when we ship one image for Banana Pi/Pro/M1/M1+ we ship with activated WiFi settings/driver and can then detect whether we're running on Pro/M1+ or Pi/M1). But I would believe here's a small piece of code missing: https://github.com/igorpecovnik/lib/blob/master/scripts/firstrun#L97-L100since the script.bin link and/or dtb/dts should be replaced when running on Banana Pi/M1.

 

Regarding your desktop/graphical questions I fear I can't help (most of the times I run the boards headless and quite a few of them were never connected to a display over years :) )

Share this post


Link to post
Share on other sites

If i understand right, you only need xorg (apt-get install xorg), without anything else. Additionally you can install - Mali binary driver for framebuffer and fbturbo.

 

Please do not recommend following outdated LeMaker instructions when using Armbian. With the desktop images (at least for sunxi: A10/A20 or H3) we're already shipping with all this stuff enabled. So choosing/building a desktop image is the way to go. Our desktop images boot into the user account that was created on installation and that's already 'just xorg' without a whole desktop environment.

 

At least one of our devs is working on re-packaging this stuff so you would get both CedarX and GPU acceleration also when upgrading one of our 'server' images to a desktop image sometimes in the future.

 

And then it depends on the needs. I had one time the requirement to display status informations and used Iceweasel in kiosk mode for this (IIRC). Now I would give pygame a try...

Share this post


Link to post
Share on other sites

Igor switched to the Banana Pro being the default (since when we ship one image for Banana Pi/Pro/M1/M1+ we ship with activated WiFi settings/driver and can then detect whether we're running on Pro/M1+ or Pi/M1). But I would believe here's a small piece of code missing: https://github.com/igorpecovnik/lib/blob/master/scripts/firstrun#L97-L100

 

I fixed that in the meantime and tested whether all this HW acceleration works with a desktop Armbian build: https://github.com/igorpecovnik/lib/pull/225

 

It does, just tested the image (made for Pro but automagically detecting that it runs on Banana Pi instead on first boot:

 

 ____                                  ____  _

| __ )  __ _ _ __   __ _ _ __   __ _  |  _ \(_)

|  _ \ / _` | '_ \ / _` | '_ \ / _` | | |_) | |

| |_) | (_| | | | | (_| | | | | (_| | |  __/| |

|____/ \__,_|_| |_|\__,_|_| |_|\__,_| |_|   |_|

                                               

 

Welcome to ARMBIAN Debian GNU/Linux 8 (jessie) 3.4.110-sun7i 

 

System load:   0.03            Up time:       12 min

Memory usage:  17 % of 872Mb  IP:            192.168.83.44

CPU temp:      48°C           

Usage of /:    30% of 7.3G   storage/:      24% of 466G   

 

[ 12 updates to install: apt-get upgrade ]

 

tk@bananapi:~$ ls -al /boot/script.bin 

lrwxrwxrwx 1 root root 22 Mar 12 22:16 /boot/script.bin -> /boot/bin/bananapi.bin

 

Close to unbelievable but I'm watching now a 1080p/H.264 movie on this little board :)

 

In case anyone wants to give it a try here's a preliminary build for A20.

Share this post


Link to post
Share on other sites
Close to unbelievable but I'm watching now a 1080p/H.264 movie on this little board  :)

 

 

What player you using ?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0