You are not logged in.

#1 2017-12-25 10:29:57

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

LXDM starting KODI

Season Greating to everybody,

I just added Kodi to my desktop, my wife doesn't know much about keyboard. Then I'm trying to arrange the login by LXDM, but I'd like rather to use a passwordless login.
Currently I can launch Kodi if I login by a different user with his/her own password, but I'm striving to get Kodi started by entering the user name (kodi) and immediately go to kodi setup.

I saw the wiki, but is referring to LightDM, then I thought that could be some difference. But this old post shows a very small difference.

Furthermore I'd like to add the user on top of the LXDM list.
Is there any information that i'm missing?

Last edited by TheSaint (2017-12-25 10:31:25)


do it good first, it will be faster than do it twice the saint wink

Offline

#2 2017-12-26 05:00:39

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: LXDM starting KODI

Mod note: Not an installation issue, moving to NC.

Offline

#3 2017-12-26 11:51:47

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: LXDM starting KODI

Don't really see how you can infer similarity of any kind from that forum post, other than that they both use PAM which should be common among all login managers.  Have you seen https://wiki.archlinux.org/index.php/LX … figuration ?

Offline

#4 2017-12-28 05:35:54

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: LXDM starting KODI

I saw the wiki, but I don't find usefulness with the xprofile itself. My attempt is to log  kodi user passwordlessly. BTW kodi is set to /usr/bin/nologin as per the wiki
I've setup a prtition with kodi installed and strted by systemd service successfully, but is cumbersome to use because I need to mantain two installations and some additional attention while booting by grub.
So as the other guys stated that point, then I presumed that would be possible in LXDM as is doing by LightDM. If there are no options I will change the DM, unwillingly.

A different approach would be to autologin kodi, if no different selection is opted. But the LXDM documentation is nowhere and I am unsure how to set such method. Just to remember that I've other three users in the login list. That it would mean that if no other user select to login, then kodi is chosen to autologin.

Last edited by TheSaint (2017-12-28 05:45:52)


do it good first, it will be faster than do it twice the saint wink

Offline

#5 2017-12-29 03:15:50

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: LXDM starting KODI

Autologin to a particular user is already documented: https://wiki.archlinux.org/index.php/LXDM#Autologin

Offline

#6 2017-12-30 12:04:54

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: LXDM starting KODI

I'd rather prefer the first mode without password, because I can't  find a compromise  between timeout and autologin.
Further more the wiki gives a very little description how sould set to autologin and the  chance to change user, which is not listed for autologin.
Anyways, I'll do some testing.

EDIT

I left the passwordless solution for a while. I'm trying to go by autologin.
I set

$ sudo /usr/sbin/useradd -d /home/kodi -m   -g kodi  -s /bin/bash kodi

And I configure /etc/lxdm/lxdm.conf

[base]
## uncomment and set autologin username to enable autologin
autologin=kodi

## uncomment and set timeout to enable timeout autologin,
## the value should >=5
timeout=20

## default session or desktop used when no systemwide config
# session=/usr/bin/startlxde

## uncomment and set to set numlock on your keyboard
# numlock=0

## set this if you don't want to put xauth file at ~/.Xauthority
# xauth_path=/tmp

# not ask password for users who have empty password
skip_password=1
## cut cut

But according to the wiki I got to set in /home/kodi/.dmrc

[Desktop]
Session=/usr/bin/kodi-standalone

Now after 20 seconds it logs in kodi, but, unfortunately, it starts a lxde session.

Last edited by TheSaint (2017-12-30 15:03:32)


do it good first, it will be faster than do it twice the saint wink

Offline

Board footer

Powered by FluxBB