[OS] Debian Jessie

Moderators: odroid, mdrjr

Re: [OS] Debian Jessie

Unread postby bcclsn » Sun May 07, 2017 11:54 pm

meveric wrote:As I said I never used Kodi over Terminal, so I really can't say what's missing.
Apparently you can get it to work like this: viewtopic.php?p=183098#p183098
So maybe you should just try:
Code: Select all
su odroid -c "/usr/bin/xinit /usr/bin/dbus-launch /usr/local/bin/kodi -- :0 -nolisten tcp vt7"

thanks meveric... :)

I changed my mind. as soon as possible, I format one more time and I reinstall you Jessie image (at the moment I running libreelec 8.0.0 but it is too limited).

I will install a full DE and than I will boot only kodi. so, can you recap me the way to do it, after turning the minimal image into full desktop image?

in other words, how I start kodi automatically, without login into the DE (mate)?

thanks :)
bcclsn
 
Posts: 84
Joined: Thu Mar 05, 2015 12:04 am
Location: Avellino, Italy
languages_spoken: italian
ODROIDs: Odroid C1

Re: [OS] Debian Jessie

Unread postby meveric » Mon May 08, 2017 2:42 am

I haven't 100% tested it yet, but you might want to install "setup-odroid" it should have an option to install Desktop as well as Kodi and if you're lucky I haven't messed it up and it's working right away :D
You can also use my ODROID GameStation Turbo image where everything is already set up ready to use.. you can alter it to your need and since all stuff is installed via packages you can simply uninstall what you don't want.
User avatar
meveric
 
Posts: 7035
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 bcclsn » Mon May 08, 2017 3:10 am

well... now I have a fully working debian jessie with kodi. how can I start kodi on boot without login into mate DE?

then I will finish... I promise xD
bcclsn
 
Posts: 84
Joined: Thu Mar 05, 2015 12:04 am
Location: Avellino, Italy
languages_spoken: italian
ODROIDs: Odroid C1

Re: [OS] Debian Jessie

Unread postby meveric » Mon May 08, 2017 2:34 pm

There are a couple different ways to do it.
For example you could write a systemd start script, that runs kodi, as soon as the system is ready.
Or you could activate auto-login (/etc/lightdm/lightdm.conf -> autologin-user=odroid) and then setup Kodi as a startup application. Either from menu, or by copying the kodi.desktop file to $USER/.config/autostart/
There's even a way to switch the DE from MATE to Kodi for this the kodi.desktop file needs to be copied to /usr/share/xsessions/ that way you can select from the login screen in the upper right corner that you want to use Kodi as a session.
That way there's no desktop loaded, just Kodi and if you quit kodi, you're back to the login screen.
This can be combined with the autologin in lightdm as well and with that you automatically boot into Kodi if that's what you want.
User avatar
meveric
 
Posts: 7035
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 bcclsn » Tue May 09, 2017 1:20 am

hi meveric,

boh... it does't work :(

I installed lightdm, I configured autologin, I created the .desktop in $USER/.config/autostart and then I also copied it into /use/share/xsessions... but nothing :/
p.s. with systemd service (copied from official kodi autostart page) is the same thing :(

.desktop
Code: Select all

[Desktop Entry]
Type=Application
Exec=kodi
Name=kodi
Comment=kodi autostart


so, please, can you help me? I am going crazy! very soon I will burn my C1 and then I through it the windows ahahahahah :( :cry:
bcclsn
 
Posts: 84
Joined: Thu Mar 05, 2015 12:04 am
Location: Avellino, Italy
languages_spoken: italian
ODROIDs: Odroid C1

Re: [OS] Debian Jessie

Unread postby meveric » Tue May 09, 2017 1:38 am

don't create a desktop file take the one that already exists in /usr/local/share/applications/.
I'm not sure, but it could be that you have to make the file executable as well chmod +x at least in the autostart folder.
User avatar
meveric
 
Posts: 7035
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 bcclsn » Tue May 09, 2017 3:33 am

I don't have any kodi.desktop :(

uff, why I have all this difficulties? sorry meveric :(
bcclsn
 
Posts: 84
Joined: Thu Mar 05, 2015 12:04 am
Location: Avellino, Italy
languages_spoken: italian
ODROIDs: Odroid C1

Re: [OS] Debian Jessie

Unread postby meveric » Tue May 09, 2017 5:28 am

Are you sure you have the correct Kodi installed? kodi-odroid? How did you install it?
User avatar
meveric
 
Posts: 7035
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 bcclsn » Tue May 09, 2017 3:02 pm

meveric wrote:Are you sure you have the correct Kodi installed? kodi-odroid? How did you install it?

yes, I am sure :)
I installed it using setup-odroid... but even if I install manually "kodi-odroid", it doesn't work.

I regret my raspberry... with it, all worked on my first try :(
bcclsn
 
Posts: 84
Joined: Thu Mar 05, 2015 12:04 am
Location: Avellino, Italy
languages_spoken: italian
ODROIDs: Odroid C1

Re: [OS] Debian Jessie

Unread postby meveric » Tue May 09, 2017 3:52 pm

RPi works a lot different and there are ready to use images for the ODROIDs as well ;)
If kodi-odroid is installed you should have kodi.desktop in /usr/local/share/applications/
can you give the output of ls -la /usr/local/share/applications/?
User avatar
meveric
 
Posts: 7035
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 bcclsn » Tue May 09, 2017 8:05 pm

but it never is, you know :(

Image

why?!!!! all the sources.list are okay!

I tried to install arm-trasportation-https from .deb but there are some problems with dependencies :/
bcclsn
 
Posts: 84
Joined: Thu Mar 05, 2015 12:04 am
Location: Avellino, Italy
languages_spoken: italian
ODROIDs: Odroid C1

Re: [OS] Debian Jessie

Unread postby meveric » Tue May 09, 2017 8:37 pm

bcclsn wrote:but it never is, you know :(

Image

why?!!!! all the sources.list are okay!

Edit:
I've checked on the HTTPS issue.. @mdrjr reconfigured his server to perm redirect to https so all packages from my repository now require HTTPS.
That is way you now need apt-transport-https.
A little bit of warning would have been nice though.

bcclsn wrote:I tried to install arm-trasportation-https from .deb but there are some problems with dependencies :/

Not sure what you tried.. Don't try to download and install anything "manually" use apt-get install apt-transport-https
but first check where it's coming from.
User avatar
meveric
 
Posts: 7035
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 bcclsn » Tue May 09, 2017 10:26 pm

:o >.<

so, now, I can resolve this issue? I can't install apt-tranport-https :(

root@odroid-jessie:~# apt-get install apt-transport-https
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package apt-transport-https is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'apt-transport-https' has no installation candidate


meveric, thak you so much for all your support and your patience!
bcclsn
 
Posts: 84
Joined: Thu Mar 05, 2015 12:04 am
Location: Avellino, Italy
languages_spoken: italian
ODROIDs: Odroid C1

Re: [OS] Debian Jessie

Unread postby meveric » Tue May 09, 2017 11:41 pm

hmm let's be a little bit more drastic for the moment.

Code: Select all
mv /etc/apt/sources.list.d{,.bak}
apt-get update
apt-get install apt-transport-https
mv /etc/apt/sources.list.d.bak /etc/apt/sources.list.d
apt-get update


Let's see if that works. :)
User avatar
meveric
 
Posts: 7035
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 bcclsn » Wed May 10, 2017 12:26 am

and it worksssss!!!!! yeaaahhh!!! :)

I will proceed with kodi... maybe I have found the solution :)

EDIT. I can't install software from your repo :cry:

your repos dosn't work
bcclsn
 
Posts: 84
Joined: Thu Mar 05, 2015 12:04 am
Location: Avellino, Italy
languages_spoken: italian
ODROIDs: Odroid C1

Re: [OS] Debian Jessie

Unread postby meveric » Wed May 10, 2017 1:14 am

:D
check /etc/apt/sources.list.d.. maybe by using apt-get update it recreated the folder and we just moved the "renamed" folder inside that folder instead of renaming them.
all the .list files (except sources.list itself) should be located directly under /etc/apt/sources.list.d/ not in another subfolder.
User avatar
meveric
 
Posts: 7035
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 bcclsn » Wed May 10, 2017 1:39 am

of course...

Image

it seems okay, but it still doesn't work

edit. I think, there are some problems with your repo, because it is impossibile to retrieve (?) http etc. u.u
bcclsn
 
Posts: 84
Joined: Thu Mar 05, 2015 12:04 am
Location: Avellino, Italy
languages_spoken: italian
ODROIDs: Odroid C1

Re: [OS] Debian Jessie

Unread postby meveric » Wed May 10, 2017 2:57 am

hmm works fine for me.. I had the same issue as you had above with the https, but after I installed apt-transport-https it was working fine.
Can you show the output of apt-get update?
User avatar
meveric
 
Posts: 7035
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 bcclsn » Wed May 10, 2017 3:29 am

... it works!

don't ask me why. I have updated one more time and boh... it completed succesfully the update... XD

maybe I can continue with the installation :) thank you so much :)
bcclsn
 
Posts: 84
Joined: Thu Mar 05, 2015 12:04 am
Location: Avellino, Italy
languages_spoken: italian
ODROIDs: Odroid C1

Re: [OS] Debian Jessie

Unread postby davincino » Sat May 20, 2017 4:54 am

@meveric

thanks for your image and the workthrough about https-issue.
It would be nice if you could add this information in your first post so its not necessary to read 4 pages ;-)
davincino
 
Posts: 8
Joined: Tue May 09, 2017 4:55 pm
languages_spoken: english
ODROIDs: C2: Libreelec
XU4: its new, maybe DebianJessie

Re: [OS] Debian Jessie

Unread postby meveric » Sat May 20, 2017 5:04 am

I'm currently working on updating all my images, so that it's included on the base image.
But it will take a little while.
I already updated Images for U2/U3 and X2, next is X and then XU3/XU4 and then C1 image. The C2 image will be the last :)
So lots of images to get straight :)
User avatar
meveric
 
Posts: 7035
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 kaspej » Fri May 26, 2017 6:20 am

I can't stand, when would you have image for C1+?
kaspej
 
Posts: 1
Joined: Wed Mar 15, 2017 2:20 am
languages_spoken: english
ODROIDs: C1+

Previous

Return to Other OS

Who is online

Users browsing this forum: No registered users and 3 guests