[OS] Debian Jessie

Moderators: mdrjr, odroid

[OS] Debian Jessie

Unread postby meveric » Sun Nov 22, 2015 3:11 am

I was asked to create a minimal Debian image, which would allow users to create their own image with the software they want and need, while still having the option to install everything I offer in my repository.

So here's a very minimal Debian Jessie image for the ODROID XU3/XU4 series.
It was a fun little evening project, and really quickly finished since I already had all the software needed to create such an image from my previous work with ODROIDs :)

It's just a headless server image only with user root at the moment. But it has all my repositories included, which allows for easy installation and updates of packages such as Kernel and Headers, or Kodi, or Chromium Browser, or whatever.

The image has my usual setup: means on first boot it's resizing the rootfs partition and configures SSH. It will automatically reboot after the initial setup after which this image is ready to use.
Kernel and headers are already installed if you need to build your own drivers.
A few basic tools such as ntp, htop, mc, vim and bash-completion are already installed for your convenience.

Download: https://oph.mdrjr.net/meveric/images/Je ... XU4.img.xz -- md5 -- sha512 -- signature
Size compressed: 86MB
Size uncompressed: 472 MB

Default Login: root
Default Password: odroid

It's ready to be used as a server image.

First things first:
Since there's constantly new development for this image and ODROIDs in general the First thing you should do after the image is up and running is to install all updates:
Code: Select all
apt-get update && apt-get upgrade && apt-get dist-upgrade


How to convert the image into a Desktop image:

The image can easily converted into a full Desktop image looking similar to this:
Image
You can use the preinstalled tool "setup-odroid" to install a Desktop and setup a user for it, or if you want to do it manually you can use the following steps:

update the package lists (if you haven't done yet)
Code: Select all
apt-get update

run tasksel to choose your preferred Desktop environment
please note: not all Desktop Environments are working perfectly on the ODROID, best choises probably are LXDE, and MATE, but XFCE and KDE should works as well.
Code: Select all
tasksel

Image
tasksel will take quite some time to download and install all the packages needed for a Desktop image and needs at least 1GB of extra disk space (better 2GB)
afterwards we need to install X11 framebuffer drivers:
Code: Select all
apt-get install xf86-video-armsoc-odroid

and for 3D acceleration the Mali GPU drivers
Code: Select all
apt-get install malit628-odroid

you also need a fitting xorg.conf for the framebuffer drivers:
Code: Select all
cd /etc/X11
wget http://oph.mdrjr.net/meveric/other/xorg.conf

If you are a more experienced user instead of tasksel you can always install the packages you want manually and therefore keep the image as slim as you want.

It's also recommended to create a new user account for the Desktop environment and NOT to logon as root.
For example:
Code: Select all
adduser odroid


After a reboot you should see a graphical login for your Debian Jessie image.

Once you have a Desktop running you can easily install all the packages available in my repository such as XBMC or Kodi
Code: Select all
apt-get install xbmc-odroid
# or
apt-get install kodi-odroid
# install firmware required for hardware decoding in XBMC/Kodi
apt-get install firmware-samsung
or Chromium Browser
Code: Select all
apt-get install chromium-browser-odroid
TVHeadend for live TV in Kodi
Code: Select all
apt-get install tvheadend
or arduino for development on arduino boards, ODROID SHOW, and other electronics platforms
Code: Select all
apt-get install arduino

I also advice you to install ffmpeg from Debian repository, it's a very good tool to watch and convert videos and well maintained from experienced Debian developers.
Checkout the HOWTO link in my signature to find more packages available in my repository :)

Please note:
Most of the packages available in my repository are X11 based, for example the malit628-odroid package are X11 GPU drivers, or Kodi, is only available for X11, so you need a Desktop environment to use them.
Also, I haven't installed all drivers and firmwares available. If you want to use Wifi Model 4 you might have to install the firmware-ralink package first available on standard Debian repository.

If you find any bugs please let me know, and if anyone else wants to, I can easily convert this image for ODROID X,X2,U2/U3 and C1.
Have fun :)

Hints:
Changing language:
If you install a Desktop environment you should already have keybord-configuration installed, it will ask upon the first installation what keyboard layout it should use.
This configuration is for your X11 Desktop so you have your desired keyboard layout.
For console you need to install console-setup to do the same, so just in case:
Code: Select all
apt-get install console-setup keyboard-configuration
dpkg-reconfigure keyboard-configuration

should be all that is needed to change your keyboard layout.
You probably want to set timezone as well
Code: Select all
dpkg-reconfigure tzdata


CEC support:
Code: Select all
apt-get install libcec
# if needed you can also install the cec tools
apt-get install cec-utils

After that you need to add a new udev rule so you can access the CEC device:
Code: Select all
echo 'KERNEL=="CEC",SUBSYSTEM=="misc",MODE="0666"' > /etc/udev/rules.d/20-hkl_cec.rules

Hardware Acceleration for Chromium:
Make sure you add these in your Chromium configuration under /etc/chromium.d/ or /etc/chromium-browser/default
Code: Select all
export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --use-gl=egl --ignore-gpu-blacklist --disable-accelerated-2d-canvas --num-raster-threads=4 --audio-buffer-size=4096"
Last edited by meveric on Tue Aug 23, 2016 12:39 am, edited 12 times in total.
User avatar
meveric
 
Posts: 7709
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby csete » Sun Nov 22, 2015 9:52 pm

Thanks for this image meveric, it's really great!

The only issue I noticed was that initial root login is not possible over ssh because /etc/ssh/sshd_config has the entry:
Code: Select all
PermitRootLogin without-password

I have to change "without-password" to "yes" before I could log in over ssh.

I would love to have this image for the C1+ also.
csete
 
Posts: 3
Joined: Fri Sep 11, 2015 6:41 am
languages_spoken: english
ODROIDs: XU4, C1+

Re: [OS] Debian Jessie

Unread postby meveric » Sun Nov 22, 2015 10:57 pm

Yes it's the default for Debian Jessie, I haven't touched the image. So the default is still active.
You can also just "outcomment" that line and it works as well :)

I can look into converting this for the C1, but there I actually have to activate password login via SSH, since C1 has issues with output on terminal. It's really hard to work with the C1 using a TV and just a terminal output.
Without SSH is nearly unusable :D
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7709
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby csete » Mon Nov 23, 2015 1:18 am

Ok, thanks for the info. For me it's not a big deal to edit the SD card before using it the first time. I usually edit hostnames, etc. anyway.
csete
 
Posts: 3
Joined: Fri Sep 11, 2015 6:41 am
languages_spoken: english
ODROIDs: XU4, C1+

Re: [OS] Debian Jessie

Unread postby kingdev1958 » Mon Nov 23, 2015 6:43 am

HI, WHAT version of debian is this?
I know it's jessie but 8.1/8.2 or?
kingdev1958
 
Posts: 23
Joined: Mon Nov 23, 2015 6:16 am
languages_spoken: english

Re: [OS] Debian Jessie

Unread postby meveric » Mon Nov 23, 2015 6:48 am

It was build just a few days ago, so it's based on 8.2, although stuff like this normally doesn't matter much, you just do a normal system update and you always have the newest version.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7709
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby kingdev1958 » Mon Nov 23, 2015 7:01 am

meveric wrote:It was build just a few days ago, so it's based on 8.2, although stuff like this normally doesn't matter much, you just do a normal system update and you always have the newest version.


thanks!

I need one for my c1+, can you help?
also, can you tell me what network manager is used in this os???
kingdev1958
 
Posts: 23
Joined: Mon Nov 23, 2015 6:16 am
languages_spoken: english

Re: [OS] Debian Jessie

Unread postby meveric » Mon Nov 23, 2015 7:22 am

I will make a C1 image soon.. depending on how much time I have it might only take a day or two.

Since this is a server image it's using /etc/network/interfaces
If you install a Desktop on top of it, it will use Network Manager.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7709
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby kingdev1958 » Mon Nov 23, 2015 7:27 am

meveric wrote:I will make a C1 image soon.. depending on how much time I have it might only take a day or two.

Since this is a server image it's using /etc/network/interfaces
If you install a Desktop on top of it, it will use Network Manager.



Thanks!!!!

I am running i3. :)
kingdev1958
 
Posts: 23
Joined: Mon Nov 23, 2015 6:16 am
languages_spoken: english

Re: [OS] Debian Jessie

Unread postby rpnid » Mon Nov 23, 2015 9:30 am

I liked your announcement very much, and this sounds like it might turn out to be "the allegedly minimal one of my liking"...

...but I'm running out of test boards. Shuffling C1s around would've been easy at this weekend but I got only one spare XU4.
And guess what is both missing and was again found as "postponed" in Pollin's expected corrective delivery on Sat... yupp, the power supply for that one :(

[Yes, soldering a workaround would've been possible - in theory but unfortunately not currently accepted by the lady who replaced my mmom and takes care that at least some of my workspace may stay swhat exemplary for the children ;)]

Read: May perhaps report back only in about a week :(

cheers,
Ralf
deepthought:~# make common sense
make: *** No rule to make target `common'. Stop.
rpnid
 
Posts: 51
Joined: Sun Nov 15, 2015 11:05 pm
Location: Germany
languages_spoken: deutsch, english
ODROIDs: some C1+, C2, XU4, and add-ons (Hifi-Shield, VU, 3"2 TFT, SHOW2, etc.)

Re: [OS] Debian Jessie

Unread postby kingdev1958 » Tue Nov 24, 2015 2:40 am

any idea why my monitor won't detect your OS?
I am using a hdmi to dvi cable, the dvi part of my monitor works because it works with my desktop.
it's 1080p and acer.
it won't detect your OS or show anything on my screen.
WHAT AM I DOING WRONG????
kingdev1958
 
Posts: 23
Joined: Mon Nov 23, 2015 6:16 am
languages_spoken: english

Re: [OS] Debian Jessie

Unread postby bujiryu » Tue Nov 24, 2015 4:49 am

Great image, just a heads up there is a typo in your post.
Code: Select all
apt-get install xf86-video-armsoc-ordorid

should be
Code: Select all
apt-get install xf86-video-armsoc-odroid
bujiryu
 
Posts: 9
Joined: Thu Nov 05, 2015 9:04 am
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Tue Nov 24, 2015 5:01 am

kingdev1958 wrote:any idea why my monitor won't detect your OS?
I am using a hdmi to dvi cable, the dvi part of my monitor works because it works with my desktop.
it's 1080p and acer.
it won't detect your OS or show anything on my screen.
WHAT AM I DOING WRONG????


normally these boards are directly connected via HDMI, DVI is sometimes having issues.
Still i've seen there were some improvements in that field, so I uploaded a newer version of this image with a new boot.ini included.
You can download the boot.ini on your own from http://oph.mdrjr.net/meveric/other/boot.ini

There is a new option to set the system for DVI mode.

Please note: you can alter the boot partition with the boot.ini on any system, even on a Window PC by hand, so if you don't want to you don't have to flash a new image.

bujiryu wrote:Great image, just a heads up there is a typo in your post.
Code: Select all
apt-get install xf86-video-armsoc-ordorid

should be
Code: Select all
apt-get install xf86-video-armsoc-odroid

Thanks, I fixed the typo and added some info about samsung firmware for hardware decoder. :)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7709
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby Pienoet » Tue Nov 24, 2015 5:39 am

Hi Meveric Thanks for this Image.

I have a question if i install kodi will libcec auto install too?
If so wich version of libcec will be installed libcec3 or libcec3.0.1?

And if i install kodi the blackscreen ibug is solved?

Cheers!
Pienoet
 
Posts: 367
Joined: Sun May 10, 2015 10:04 pm
languages_spoken: english Dutch

Re: [OS] Debian Jessie

Unread postby meveric » Tue Nov 24, 2015 5:56 am

Since kodi does not REQUIRE cec it's not a dependency, but you can install libcec manually which is libcec3 that's needed for Kodi.
just use:
Code: Select all
apt-get install libcec


Black Screen Issue has not yet been solved, but the drivers on this image should reduce the issue greatly. It has occasionally crashes, but they are normally very rare, the black screen should not be much of an issue with that image.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7709
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby kingdev1958 » Tue Nov 24, 2015 6:55 am

meveric wrote:
kingdev1958 wrote:any idea why my monitor won't detect your OS?
I am using a hdmi to dvi cable, the dvi part of my monitor works because it works with my desktop.
it's 1080p and acer.
it won't detect your OS or show anything on my screen.
WHAT AM I DOING WRONG????


normally these boards are directly connected via HDMI, DVI is sometimes having issues.
Still i've seen there were some improvements in that field, so I uploaded a newer version of this image with a new boot.ini included.
You can download the boot.ini on your own from http://oph.mdrjr.net/meveric/other/boot.ini

There is a new option to set the system for DVI mode.

Please note: you can alter the boot partition with the boot.ini on any system, even on a Window PC by hand, so if you don't want to you don't have to flash a new image.


Thanks ever so much! *bow*

I couldn't get it working on TWO of the same 1080p monitors, used your new boot.ini and it worked great on BOTH of my monitors!
Running i3, gonna have to tweak it tomorrow to get all my apps etc installed but, it's working!

Quick question, how can I update chromium? it's running version 41, isn't that old?
ALSO, Just saw you've released an image for the C1+, you really are great! will post in that thread too. :D
kingdev1958
 
Posts: 23
Joined: Mon Nov 23, 2015 6:16 am
languages_spoken: english

Re: [OS] Debian Jessie

Unread postby bujiryu » Tue Nov 24, 2015 6:56 am

Any ideas why xbmc doesn't launch? Error is XBMC needs hardware accelerated OpenGL rendering. Install an appropriate graphics driver. Kodi also doesn't launch, it starts to, says segmentation fault when launch from a terminal. I have xf86-video-armsoc-odroid, xf86-video-armsoc-odroid, and firmware-samsung installed along with LXDE.
bujiryu
 
Posts: 9
Joined: Thu Nov 05, 2015 9:04 am
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Tue Nov 24, 2015 7:27 am

bujiryu wrote:Any ideas why xbmc doesn't launch? Error is XBMC needs hardware accelerated OpenGL rendering. Install an appropriate graphics driver. Kodi also doesn't launch, it starts to, says segmentation fault when launch from a terminal. I have xf86-video-armsoc-odroid, xf86-video-armsoc-odroid, and firmware-samsung installed along with LXDE.

Have you installed malit628-odroid?
These are the 3D GPU drivers which are needed for XBMC/Kodi as well.
Kodi package had a missing dependency, but i fixed that just a couple minutes ago.. Do a apt-get dist-upgrade and you should have the new Kodi package.

If XBMC still issn't working, let me know and I'll check on it.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7709
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby bujiryu » Tue Nov 24, 2015 8:29 am

i have installed malit628-odroid, sorry bit of a typo in my post. Kodi is working now though so thanks. I did a fresh image, upgraded and installed everything and tried XBMC again with no luck.

Thanks for your help though!
bujiryu
 
Posts: 9
Joined: Thu Nov 05, 2015 9:04 am
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Tue Nov 24, 2015 8:43 am

Glad Kodi is now working for you :)
I'll check on XBMC tomorrow to see what could be the issue.
I think i remember that XBMC was always checking for OpenGL and needed mesa libs installed for this, even if it wasn't using them, I'll see what I can find out.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7709
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby Pienoet » Tue Nov 24, 2015 10:29 am

I installed kodi and i noticed that deinterlace is not working or maybe i'm using the wrong settings watching live tv.

Do i also need for using cec an external cec adapter cause it cannot initialize cecadapter.
Does this mean it cannot find my tv or a external adapter?

Is it also possible to install kodi 16 jarvis beta 2?
Last edited by Pienoet on Wed Nov 25, 2015 7:20 am, edited 1 time in total.
Pienoet
 
Posts: 367
Joined: Sun May 10, 2015 10:04 pm
languages_spoken: english Dutch

Re: [OS] Debian Jessie

Unread postby Karamell » Wed Nov 25, 2015 4:51 am

Hello,

Really nice distro. It is really reactive and fast.
May I suggest a few improvements ?

* The boot should maybe not be based on the UUID as the one which is generated during installation (at least on my SDcard) is the same as the UUID of the ubuntu on emmc. After booting from SD card (Deb Jessie) with an emmc attached (with official ubuntu), the update on the boot.ini ended being written on the emmc /boot ! This totally messed up both my distros and trying to boot the ubuntu lead me to Jessie !
Solution : why not use boot=LABEL=GameTurboStation ? Being really upset with not random UUID, I label the SDcard and I can boot any distro I like from it without having to remove the emmc (and me being confuse with which "/boot" belong to which card.

* Trying to use French keyboard. The set-up disappear after each reboot under X11.
Also .. configuring console with french keyboard is not working ( may be this is related to debian itself). Would it be possible to include the packages needed for configuring in other language and keyboards and manage these configuration to become persistent ?

* I didn't find the lsusb command. Could it be added please ?
* If the IRDA modules could be package, that would be great.
Many thanks for this great job.
Karamell
 
Posts: 18
Joined: Wed May 15, 2013 1:01 am
languages_spoken: english
ODROIDs: X-2

Re: [OS] Debian Jessie

Unread postby meveric » Wed Nov 25, 2015 6:08 am

Karamell wrote: * The boot should maybe not be based on the UUID as the one which is generated during installation (at least on my SDcard) is the same as the UUID of the ubuntu on emmc. After booting from SD card (Deb Jessie) with an emmc attached (with official ubuntu), the update on the boot.ini ended being written on the emmc /boot ! This totally messed up both my distros and trying to boot the ubuntu lead me to Jessie !
Solution : why not use boot=LABEL=GameTurboStation ? Being really upset with not random UUID, I label the SDcard and I can boot any distro I like from it without having to remove the emmc (and me being confuse with which "/boot" belong to which card.

It's done out of convenience. Most ODROID images use the same UUID, even though different devices. Means, the XU3 images have the same UUIDs as the C1 images and so on.
It makes it much easier to keep track of the different images while keeping the changes to a minimum. Also changes on boot.ini from hardkernel can be used directly on each other image.
Yes it will have an issue if you have eMMC and SD card connected at the same time. But you'll have the same issue if you have two Ubuntu images on the same board as well. You can have Ubuntu 14.04 image and 15.04 image on eMMC and SD card and they will conflict as well.
If you want you can change the UUID from the partiton easily using the following commands
Code: Select all
uuidgen
# example output:
# f0acce91-a416-474c-8a8c-43f3ed3768f9

Code: Select all
tune2fs /dev/sdb2 -U f0acce91-a416-474c-8a8c-43f3ed3768f9

Where /dev/sdb2 would be the second partition on your SD card (or eMMC what ever you have connected to your card-reader and want to change)
After that you have to change the boot.ini and the /etc/fstab entry.

Karamell wrote:* Trying to use French keyboard. The set-up disappear after each reboot under X11.

Hmm that's odd, upon installation of a Desktop it's asking me for Keyboard Layout. I chose german and from that point the X11 desktop was always with german keyboard leayout.
What terminal are you using? And what Desktop Environment?
Karamell wrote:Also .. configuring console with french keyboard is not working ( may be this is related to debian itself).

I had this as well. Strangely enough it's working just fine for me on my GameStation Turbo image, which is already a premade desktop image.
I will compare and try to find out what packages are involved in keyboard-layout. I know "keyboard-configuration" is one of the packages used for this.

Karamell wrote:Would it be possible to include the packages needed for configuring in other language and keyboards and manage these configuration to become persistent ?

I prefer not to add many packages. This is meant as minimal image. I already published a premade Debian Jessie Desktop images that work perfectly fine, but this image is mainly for people who want to build their own system the way they want it, which means I don't want to install too many packages that others might not want to use.
Still If I find out what's needed to get keyboard layout to work correctly I will make a note for it in the OP so everyone can change it easily if they want to.
Or if a lot of people asking for this feature I might add it to the default image (let's wait and see for that) :)
Karamell wrote:* I didn't find the lsusb command. Could it be added please ?

Code: Select all
apt-get install usbutils

Karamell wrote:* If the IRDA modules could be package, that would be great.

What exactly do you need?
If it's firmware that's missing you probably need to search the firmware-* packages for it, that are offered from the Debian repository.
If there are Kernel modules missing, you should probably ask HardKernel directly to make it publicly available viewtopic.php?f=98&t=5984
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7709
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby meveric » Wed Nov 25, 2015 8:14 am

bujiryu wrote:i have installed malit628-odroid, sorry bit of a typo in my post. Kodi is working now though so thanks. I did a fresh image, upgraded and installed everything and tried XBMC again with no luck.

Thanks for your help though!

I checked on XBMC and it tries to start glxinfo to determine what kine of 3D acceleration it's having.
This means you need to install mesa-utils to get XBMC to work
Code: Select all
apt-get install mesa-utils
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7709
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby bujiryu » Wed Nov 25, 2015 8:38 am

meveric wrote:
bujiryu wrote:i have installed malit628-odroid, sorry bit of a typo in my post. Kodi is working now though so thanks. I did a fresh image, upgraded and installed everything and tried XBMC again with no luck.

Thanks for your help though!

I checked on XBMC and it tries to start glxinfo to determine what kine of 3D acceleration it's having.
This means you need to install mesa-utils to get XBMC to work
Code: Select all
apt-get install mesa-utils


Awesome! I will check this out later, but I'm sure it'll work now! Thanks for all your help and your great images! :D
bujiryu
 
Posts: 9
Joined: Thu Nov 05, 2015 9:04 am
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Wed Nov 25, 2015 4:22 pm

@Karamell
I added some information about how to change language for both desktop and console to the OP.
Hope it helps you figure out your keyboard layout issue :)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7709
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby mattrix » Thu Nov 26, 2015 1:39 pm

I did

Code: Select all
apt-get update
apt-get dist-upgrade

The following packages will be upgraded:
  linux-headers-3.10.92+ linux-image-3.10.92+
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 18.0 MB of archives.
After this operation, 82.9 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://oph.mdrjr.net/meveric/ all/xu3 linux-image-3.10.92+ armhf 3.10.92-20151125-XU3 [11.5 MB]
Get:2 http://oph.mdrjr.net/meveric/ all/xu3 linux-headers-3.10.92+ armhf 3.10.92-20151125-XU3 [6,475 kB]
Fetched 18.0 MB in 16s (1,106 kB/s)
Preconfiguring packages ...
(Reading database ... 28565 files and directories currently installed.)
Preparing to unpack .../linux-image-3.10.92+_3.10.92-20151125-XU3_armhf.deb ...
The directory /lib/modules/3.10.92+ still exists. Continuing as directed.
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/remove-old-on-upgrade 3.10.92+ /boot/vmlinuz-3.10.92+
Done.
Unpacking linux-image-3.10.92+ (3.10.92-20151125-XU3) over (3.10.92-20151117-XU3)


It gave me a big warning about replacing the same kernel and that I would need to reboot after.

Is this all OK and normal?
I did the upgrade and a reboot and everything seems pretty normal :)
mattrix
 
Posts: 88
Joined: Tue Jan 13, 2015 7:12 am
languages_spoken: english
ODROIDs: C1

Re: [OS] Debian Jessie

Unread postby meveric » Thu Nov 26, 2015 3:08 pm

Yes, that's normal :)
The Kernel version did not change it's still 3.10.92+ there were only minor changes.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7709
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby mattrix » Fri Nov 27, 2015 6:31 am

Great.
Love the image.
Moved my NAS from the Ubuntu minimal image over to this Jessie image and everything works good.
Still can't compile new V4L-DVB device drivers however, but I think this is due to the kernel version being <4.
http://www.linuxtv.org/wiki/index.php/H ... ce_Drivers
mattrix
 
Posts: 88
Joined: Tue Jan 13, 2015 7:12 am
languages_spoken: english
ODROIDs: C1

Re: [OS] Debian Jessie

Unread postby fkpwolf » Fri Nov 27, 2015 9:38 am

Good job. Your repo? Is there debian official repo for arm?
fkpwolf
 
Posts: 48
Joined: Mon Dec 16, 2013 4:24 pm
languages_spoken: english

Re: [OS] Debian Jessie

Unread postby meveric » Fri Nov 27, 2015 3:35 pm

Yes, Debian has it's own armhf repositories. These are included and the image is based on these official repositories and packages.
If you install software like apache, php, libreoffice, or samba, etc. it's all getting downloaded and installed from official Debian repositories.

I created a repository for ODROID specific software, such as Kernel and Header, and may programs/games that I compiled for ODROIDs and armhf in general.
Most games are written for OpenGL and therefore they don't work on ODROIDs which only supports OpenGL ES, I collected software that runs under ODROIDs either using OpenGL ES or glshim a OpenGL -> OpenGL ES wrapper.
Besides that, I add software that is not in official repositories of Debian (yet), like tvheadend, or that have specific alterations to run on ODROIDs, like Kodi with added hardware decoder for ODROID devices for example :)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7709
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby Karamell » Sat Nov 28, 2015 7:05 am

@meveric
Thank you for your great help.
I wanted to use an IR remote control with Sigmatel IR USB dongle.
I managed to compile new kernel with IRDA support but somehow even if module is loaded, LIRC is not working. It seems that stir4200 module need /dev/irda0 which doesn't exist.
I'll request help from HK.
BTW, I wanted to tell you that BlueTooth / a2dp works out of the box in your distro ! This is the first time I see this (even Ubuntu offcial release has trouble). So, bow ! and congratulations for your work.
Karamell
 
Posts: 18
Joined: Wed May 15, 2013 1:01 am
languages_spoken: english
ODROIDs: X-2

Re: [OS] Debian Jessie

Unread postby sandeep.rao » Sat Nov 28, 2015 11:06 am

meveric wrote:So here's a very minimal Debian Jessie image for the ODROID XU3/XU4 series.


Thanks a lot. Will be trying it out today. Do you have one for C1+?
sandeep.rao
 
Posts: 27
Joined: Sat Sep 05, 2015 11:29 pm
languages_spoken: english
ODROIDs: XU4, C1+

Re: [OS] Debian Jessie

Unread postby odroid » Sat Nov 28, 2015 11:22 am

sandeep.rao wrote:Thanks a lot. Will be trying it out today. Do you have one for C1+?


Please search the forum.
viewtopic.php?f=114&t=17569
User avatar
odroid
Site Admin
 
Posts: 24597
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: [OS] Debian Jessie

Unread postby sandeep.rao » Sat Nov 28, 2015 12:54 pm

odroid wrote:Please search the forum.
viewtopic.php?f=114&t=17569


Thanks a lot. Will search more before requesting :-)
sandeep.rao
 
Posts: 27
Joined: Sat Sep 05, 2015 11:29 pm
languages_spoken: english
ODROIDs: XU4, C1+

Re: [OS] Debian Jessie

Unread postby andrewufrank » Sat Nov 28, 2015 9:28 pm

great work! runs immediately. thank you a lot!
observations:
1. your /etc/hostnames is empty (it seems), it should have some content like (where xx must be exatly the value in /etc/host)
without this content sudo is slow...
Code: Select all
127.0.0.1   localhost
127.0.0.1   xx.home   xx

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Last edited by andrewufrank on Sun Nov 29, 2015 12:33 am, edited 1 time in total.
andrewufrank
 
Posts: 21
Joined: Sun Nov 15, 2015 6:16 pm
languages_spoken: english
ODROIDs: xu4

Re: [OS] Debian Jessie

Unread postby meveric » Sat Nov 28, 2015 10:03 pm

andrewufrank wrote:great work! runs immediately. thank you a lot!
observations:
1. your /etc/hostnames is empty (it seems), it should have some content like (where xx must be exatly the value in /etc/host)
without this content sudo is slow...
Code: Select all
127.0.0.1   localhost
127.0.1.1   xx.home   xx

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


Thanks for the info.
I haven't changed a lot of the default values so most configuration files are untouched.
But you're right, i should add the hostname to /etc/hosts to prevent issues :)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7709
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie - error while installing

Unread postby andrewufrank » Sun Nov 29, 2015 12:31 am

while installing additional packages (probably llvm2) i got the following error (using debian jessie):
Code: Select all
ln: failed to create hard link ‘/boot/initrd.img-3.10.92+.dpkg-bak’ => ‘/boot/initrd.img-3.10.92+’: Operation not permitted
update-initramfs: Generating /boot/initrd.img-3.10.92+
Image Name:   uInitrd
Created:      Sat Nov 28 11:40:45 2015
Image Type:   ARM Linux RAMDisk Image (uncompressed)
Data Size:    4021005 Bytes = 3926.76 kB = 3.83 MB
Load Address: 00000000
Entry Point:  00000000

is this ok ?
in general, is there a systematic procedure to to upgrade the kernel if is necessary? (i saw something on github but did not try it)
https://github.com/mdrjr/odroid-utility

great work - i am installing stuff from debian - experimental without troubles...
andrewufrank
 
Posts: 21
Joined: Sun Nov 15, 2015 6:16 pm
languages_spoken: english
ODROIDs: xu4

Re: [OS] Debian Jessie

Unread postby meveric » Sun Nov 29, 2015 12:33 am

andrewufrank wrote:while installing additional packages (probably llvm2) i got the following error (using debian jessie):
Code: Select all
ln: failed to create hard link ‘/boot/initrd.img-3.10.92+.dpkg-bak’ => ‘/boot/initrd.img-3.10.92+’: Operation not permitted
update-initramfs: Generating /boot/initrd.img-3.10.92+
Image Name:   uInitrd
Created:      Sat Nov 28 11:40:45 2015
Image Type:   ARM Linux RAMDisk Image (uncompressed)
Data Size:    4021005 Bytes = 3926.76 kB = 3.83 MB
Load Address: 00000000
Entry Point:  00000000

is this ok ?

It's not an real error, what it tires to do is creating a Link, but since the boot partition is a vfat devices it does not support links. Just ignore it :)

andrewufrank wrote:in general, is there a systematic procedure to to upgrade the kernel if is necessary? (i saw something on github but did not try it)
https://github.com/mdrjr/odroid-utility

Kernel update is done by apt-get upgrade and apt-get dist-upgrade if a new Kernel is pushed. Please do not use odroid-utility for this.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7709
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie - no screen output

Unread postby andrewufrank » Sun Nov 29, 2015 1:05 am

when installing, i see nothing on an attached monitor, neither when it boots nor does xfce start and show. access using ssh is working ok.

i have an xu4 and the screen is connected through hdmi - it works perfect with other boot images (ubuntu or arch-linux).
any idea what this could be? as i said - no outpupt during the boot process. (i have installed accoring to your description, but the 'no output during boot'
was before any changes)
the two boot.ini files look the same, the difference is probably the version of the kernel (ubuntu is 3.10.82-39, yours is 3.10.92+)
what additional information would be helpful to understand the problem?
thank you!
andrewufrank
 
Posts: 21
Joined: Sun Nov 15, 2015 6:16 pm
languages_spoken: english
ODROIDs: xu4

Re: [OS] Debian Jessie

Unread postby meveric » Sun Nov 29, 2015 3:19 am

normally it should show something on the screen no matter if you installed xfce or anything else.
At least the console should show "something".
Have you tried changing boot.ini setting a different resolution? Or switching from HDMI to DVI mode?
What TV are you using?
What's the native resolution for your TV?
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7709
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby andrewufrank » Sun Nov 29, 2015 5:35 am

i knew that the console should show the log while booting - and the installation of xfce was ok, because i could use xrdp on a different computer.
the point at the end was to set dvi in stead of hdmi in the boot.ini (i have a computer monitor and a hdmi-a to dvi cable). not it seems to be all nice (including running stuff from debian experimental - the haskell 7.10 compiler)
thanks a lot.
andrew
andrewufrank
 
Posts: 21
Joined: Sun Nov 15, 2015 6:16 pm
languages_spoken: english
ODROIDs: xu4

Re: [OS] Debian Jessie

Unread postby Pienoet » Sun Nov 29, 2015 4:55 pm

Hi meveric what driver to install to get my USB3.0 Gigabit Ethernet adapter to work?
Pienoet
 
Posts: 367
Joined: Sun May 10, 2015 10:04 pm
languages_spoken: english Dutch

Re: [OS] Debian Jessie

Unread postby meveric » Sun Nov 29, 2015 6:12 pm

Pienoet wrote:Hi meveric what driver to install to get my USB3.0 Gigabit Ethernet adapter to work?

well good question. For me it worked right out of the box.
Are you using a desktop environment or just console?
If console, have you added entries for eth1 in /etc/network/interfaces ?

Check /var/log/syslog when you plug in the LAN adapter. It should tell you if the device was found or not.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7709
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby Pienoet » Sun Nov 29, 2015 7:19 pm

meveric wrote:
Pienoet wrote:Hi meveric what driver to install to get my USB3.0 Gigabit Ethernet adapter to work?

well good question. For me it worked right out of the box.
Are you using a desktop environment or just console?
If console, have you added entries for eth1 in /etc/network/interfaces ?

Check /var/log/syslog when you plug in the LAN adapter. It should tell you if the device was found or not.


Thanks for you reply ;)

At the moment i'm reinstalling my desktop enviroment but the first time i installed a desktop enviroment to and the lan adaptor wasn't working too.

When installation is finished i'll check /etc/network/interfaces and /var/log/syslog.
Pienoet
 
Posts: 367
Joined: Sun May 10, 2015 10:04 pm
languages_spoken: english Dutch

Re: [OS] Debian Jessie

Unread postby meveric » Sun Nov 29, 2015 7:27 pm

With a desktop environment you don't need to alter /etc/network/interfaces. The Network Manager should take care of this. Only if you use console mode you might have to alter /etc/network/interfaces. :)
But yes please check the syslog.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7709
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby meveric » Sun Nov 29, 2015 9:14 pm

kingdev1958 wrote:Quick question, how can I update chromium? it's running version 41, isn't that old?

It wasn't really "old", but I took the time to compile Chromium 45 for Debian Jessie.
Compiling Chromium is really a pain the the b*tt, pure compiling and package building time was about 12hrs.
And I encounterd numerous problems while attempting to do so. The process uses VAST amounts of RAM during compiling and package creating, which for different reasons caused me to start over multiple times, so that in the end it took me nearly a week to get version 45 of Chromium compiled for Debian Jessie.
Still, it's done, i''ve uploaded the new version, if you use apt-get procedures you should be able to update to the new version :)

It might take a couple of versions until i compile the next one though :D
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7709
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby Pienoet » Sun Nov 29, 2015 9:58 pm

meveric wrote:With a desktop environment you don't need to alter /etc/network/interfaces. The Network Manager should take care of this. Only if you use console mode you might have to alter /etc/network/interfaces. :)
But yes please check the syslog.


Yes thank you it works through the network manager :)

Can you pls tell me how to boot right into kodi?

So i don't have to login after every reboot.
Pienoet
 
Posts: 367
Joined: Sun May 10, 2015 10:04 pm
languages_spoken: english Dutch

Re: [OS] Debian Jessie

Unread postby meveric » Sun Nov 29, 2015 11:36 pm

Pienoet wrote:Can you pls tell me how to boot right into kodi?

So i don't have to login after every reboot.

There are a couple of different ways. Let's start with the step that's equal for all:
Code: Select all
su -
# replace "odroid" with what ever user you created as your desktop user
sed -i "s/#autologin-user=/autologin-user=odroid/" /etc/lightdm/lightdm.conf

This will enable autologin for the user you selected, means on each boot this user will automatically be logged in without you having to enter password.

There are two (probably more thant that) easy ways to enable boot directly into Kodi.
  1. create an autostart entry
    1. using your desktop environment:
      I for example use MATE if i go to the control center, I have the option to add "startup programs" which are programs that should be started on system boot.
      Just add an entry for Kodi and everything is working. Similar settings/configurations should exist for LXDE or XFCE as well check the "start-menu" ;)
    2. adding autostart folder
      open a terminal as your desktop user and use the following commands:
      Code: Select all
      # creating autostart folder if not yet exists
      mkdir -p ~/.config/autostart
      # copy Kodi Launcher to autostart folder
      cp /usr/local/share/applications/kodi.desktop ~/.config/autostart/

    There are more similar options, like adding options to a couple of different config files which can also turn on autostart of different applications, but these two are probably the two easierst options.
    Please note: This option above will ALWAYS load a full desktop before loading Kodi. This is preferrable if you want to use Kodi next to other applications like Chromium or other things, in a way that if you quit Kodi you have a full linux desktop to work with :)
  2. Kodi as a desktop session
    If you prefer to ONLY run Kodi and have no need for anything else you have another options:
    Code: Select all
    su -
    cp /usr/local/share/applications/kodi.desktop /usr/share/xsessions/

    If you "logout" from the desktop you will get to lightdm login window again. In the upper right corner (next to the power symbol) you can switch the default desktop session. Here you should find Kodi listed since we just copied it there. If you select Kodi and login as your desktop user, you will boot directly into Kodi.
    If you reboot from within Kodi you will always reboot directly into Kodi (since we already set your default user to auto login on reboot).
    Please note: You will have NO desktop loaded in the background, so if you quit Kodi you will end up on the login screen again.
    This is preferrable if you want to use your ODROID as a Kodi standalone player :)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7709
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby Pienoet » Mon Nov 30, 2015 12:04 am

meveric wrote:
Pienoet wrote:Can you pls tell me how to boot right into kodi?

So i don't have to login after every reboot.

There are a couple of different ways. Let's start with the step that's equal for all:
Code: Select all
su -
# replace "odroid" with what ever user you created as your desktop user
sed -i "s/#autologin-user=/autologin-user=odroid/" /etc/lightdm/lightdm.conf

This will enable autologin for the user you selected, means on each boot this user will automatically be logged in without you having to enter password.

There are two (probably more thant that) easy ways to enable boot directly into Kodi.
  1. create an autostart entry
    1. using your desktop environment:
      I for example use MATE if i go to the control center, I have the option to add "startup programs" which are programs that should be started on system boot.
      Just add an entry for Kodi and everything is working. Similar settings/configurations should exist for LXDE or XFCE as well check the "start-menu" ;)
    2. adding autostart folder
      open a terminal as your desktop user and use the following commands:
      Code: Select all
      # creating autostart folder if not yet exists
      mkdir -p ~/.config/autostart
      # copy Kodi Launcher to autostart folder
      cp /usr/local/share/applications/kodi.desktop ~/.config/autostart/

    There are more similar options, like adding options to a couple of different config files which can also turn on autostart of different applications, but these two are probably the two easierst options.
    Please note: This option above will ALWAYS load a full desktop before loading Kodi. This is preferrable if you want to use Kodi next to other applications like Chromium or other things, in a way that if you quit Kodi you have a full linux desktop to work with :)
  2. Kodi as a desktop session
    If you prefer to ONLY run Kodi and have no need for anything else you have another options:
    Code: Select all
    su -
    cp /usr/local/share/applications/kodi.desktop /usr/share/xsessions/

    If you "logout" from the desktop you will get to lightdm login window again. In the upper right corner (next to the power symbol) you can switch the default desktop session. Here you should find Kodi listed since we just copied it there. If you select Kodi and login as your desktop user, you will boot directly into Kodi.
    If you reboot from within Kodi you will always reboot directly into Kodi (since we already set your default user to auto login on reboot).
    Please note: You will have NO desktop loaded in the background, so if you quit Kodi you will end up on the login screen again.
    This is preferrable if you want to use your ODROID as a Kodi standalone player :)


Thank meveric for this usefull info :)

I choosed for option 2 and it works great!
I have only one question left about deinterlacing when watching live tv.

Am i right that deinterlacing is not working properly?
Compared to my raspberry pi 2 my pi have much smoother videoplayback when playing sd en hd channels.
I have only tvheadend client installed in my odroid XU3 and i stream from my tvheadend server installed in my pi2.

Maybe i have better experience to install tvheadend server on my odroid?

Or is this the best deinterlacing for odroid XU3?
Pienoet
 
Posts: 367
Joined: Sun May 10, 2015 10:04 pm
languages_spoken: english Dutch

Next

Return to Other OS

Who is online

Users browsing this forum: No registered users and 1 guest