[arch-general] LightDM autologin not working
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?
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 [XDMCPServer] [VNCServer] #End of file On Thu, Jun 19, 2014 at 10:27 PM, Stephen Baker <baker.stephen.e@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?
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@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!
Does a media center actually need a graphical login manager? On Fri, Jun 20, 2014 at 8:18 PM, Stephen Baker <baker.stephen.e@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@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!
-- Fred Schiff (eldersprig@gmail.com)
AFAIU xbmc needs X El jun 21, 2014 10:16 AM, "Fred Schiff" <eldersprig@gmail.com> escribió:
Does a media center actually need a graphical login manager?
On Fri, Jun 20, 2014 at 8:18 PM, Stephen Baker <baker.stephen.e@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@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!
-- Fred Schiff (eldersprig@gmail.com)
On Sat, 2014-06-21 at 09:16 -0400, Fred Schiff wrote:
Does a media center actually need a graphical login manager?
JFTR there could be reasons to use a greeter, e.g. the parents login vs the children's login to e.g. limit the hours/day children are allowed to use the computer for e.g watching videos, while there should be no limit for the parents or to default to "family filters" for the children, while the parents should be allowed to have access to everything by default. Ok, the OP wants an autologin, so the OP seemingly doesn't need it that way.
On Sat, 2014-06-21 at 12:00 -0300, Germán Gutiérrez wrote:
AFAIU xbmc needs X
You don't need a DM to automatically start X.
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)
On 2014-06-21 9:16 AM, Fred Schiff wrote: 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@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@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!
participants (6)
-
Daniel Leining
-
Fred Schiff
-
Germán Gutiérrez
-
Ralf Mardorf
-
Stephen Baker
-
Stephen E. Baker