[arch-general] LightDM autologin not working
Stephen E. Baker
baker.stephen.e at gmail.com
Sun Jun 22 02:46:57 EDT 2014
On 2014-06-21 9:16 AM, Fred Schiff wrote:
> Does a media center actually need a graphical login manager?
No, but I've found it simpler to use a light DM (lxdm and now lightdm)
than to keep up with the proper way to initialize a session. Back before
systemd I use to ck-launch-session dbus-launch etc. etc.
I run an openbox session which autostarts xbmc so that I can launch
other programs (games, web browsers, ripping tools) from it.
>
>
> On Fri, Jun 20, 2014 at 8:18 PM, Stephen Baker <baker.stephen.e at gmail.com>
> wrote:
>
>> On 2014-06-20 12:22, Daniel Leining wrote:
>>
>>> I don't think you're doing anything wrong. Your setup is almost identical
>>> to mine.
>>>
>>> % cat /etc/lightdm/lightdm.conf | grep -v "^#"
>>> [LightDM]
>>> greeter-user=lightdm
>>> minimum-vt=1
>>> log-directory=/var/log/lightdm
>>> run-directory=/run/lightdm
>>>
>>> [SeatDefaults]
>>> greeter-session=lightdm-gtk-greeter
>>> session-wrapper=/etc/lightdm/Xsession
>>> autologin-user=daniel
>>> autologin-user-timeout=0
>>> pam-service=lightdm-autologin
>>>
>> Ah, I see your autologin-* lines are under [SeatDefaults] and mine are
>> above. I fixed that and it's working now.
>>
>>
>>> [XDMCPServer]
>>>
>>> [VNCServer]
>>> #End of file
>>>
>>>
>>> On Thu, Jun 19, 2014 at 10:27 PM, Stephen Baker <
>>> baker.stephen.e at gmail.com>
>>> wrote:
>>>
>>> Hello,
>>>> I've been trying to get autologin working in LightDM on my mediacenter
>>>> without success. I believe I've copied all the instructions in the wiki
>>>> page, and I'm not seeing where the problem is.
>>>>
>>>> mediacenter% cat /etc/lightdm/lightdm.conf | grep -v "^#"
>>>> [LightDM]
>>>> minimum-vt=1
>>>> run-directory=/run/lightdm
>>>>
>>>> autologin-user=family
>>>> autologin-user-timeout=0
>>>> [SeatDefaults]
>>>> session-wrapper=/etc/lightdm/Xsession
>>>> pam-service=lightdm-autologin
>>>>
>>>>
>>>> [XDMCPServer]
>>>>
>>>> [VNCServer]
>>>> #End of file
>>>>
>>>> mediacenter% groups
>>>> adm disk wheel games video audio optical floppy storage power users
>>>> family
>>>> autologin
>>>>
>>>> mediacenter% journalctl -b -u lightdm --no-pager
>>>> -- Logs begin at Mon 2012-10-22 16:11:18 EDT, end at Thu 2014-06-19
>>>> 22:24:36 EDT. --
>>>> Jun 19 22:12:29 mediacenter systemd[1]: Started Light Display Manager.
>>>> Jun 19 22:12:36 mediacenter lightdm[699]: pam_unix(lightdm-greeter:
>>>> session):
>>>> session opened for user lightdm by (uid=0)
>>>> Jun 19 22:16:25 mediacenter lightdm[723]: pam_unix(lightdm:session):
>>>> session opened for user family by (uid=0)
>>>>
>>>> # the last line was my manual login after waiting several minutes.
>>>>
>>>> Is there anything else I should be checking, or any caveats anyone is
>>>> aware of?
>>>>
>>>> Thanks!
>
>
More information about the arch-general
mailing list