Talk:LightDM

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (~~~~), and indent successive comments with colons (:). Add new sections at the bottom of the page, under a heading (== ==). Please remember to mark sections as "open for discussion" using {{talk|open}}, so they will show up in the list of open discussions.

dbus

Talk status
This discussion is done.

LightDM needs dbus running? If doing:

root #rc-update add xdm default

Also need to have done:

root #rc-update add dbus default
It appears to be used to communicate with the greeter:
http://www.freedesktop.org/wiki/Software/LightDM/Design#Inter-process_Relationships

— The preceding unsigned comment was added by Cjmayo (talkcontribs) 4 January 2013 [formatting changed by Maffblaster on 18 August 2015]

lightdm user account setup

Talk status
This discussion is done as of 2022-02-14.

Lightdm will allow XDMCP users to reboot and shutdown the host prior to logging in, unless lightdm is run under a different account to root. Here's some instructions on how to set it up under an account called 'lightdm'.

To create the system account use the following command:

root #useradd -r -d /var/lib/lightdm-data/lightdm -s /bin/nologin lightdm

Then modify lightdm.conf so that it has the following entry in the [LightDM] section:

greeter-user=lightdm

— The preceding unsigned comment was added by Pickledpiper (talkcontribs) 3 August 2016

As a first time Gentoo user, it took me a long time to find this lightdm user account setup. It would be nice if this was on the wiki page. I was wrestling with errors thinking something was wrong with xdm and and all I had to do was add a user for lightdm.
Jesse m (talk) 13:24, 2 April 2018 (UTC) jesse_m
ebuild should do this, but no bug #563564 --Cronolio (talk) 12:56, 3 April 2018 (UTC)
I completely agree with Cronolio , this is a step the ebuild should perform, just as SDDM creates the sddm user at install time. I'll see if I can elevate this. For the present, it is good to add this information to the wiki page since it's a Gentoo-specific setup instruction until bug #563564 is closed. --Maffblaster (talk) 22:54, 3 April 2018 (UTC)
I'm back 4 years later! bug #563564 has been closed. This issue has been resolved. --Maffblaster (talk) 23:16, 14 February 2022 (UTC)

gnome-keyring section needs updating

{{Talk|closed|date=2022-02-14}

The current instructions for adding gnome-keyring support using pam have proven insufficient on my system booting into openbox. The pam file shipped with lightdm is different from listed, but I don't know if that's really a concern. Here's the current shipped:

FILE /etc/pam.d/lightdm
auth	substack		system-local-login
account	substack		system-local-login
password	substack		system-local-login
session	substack		system-local-login

I won't edit the page myself because I haven't yet found a solution. gnome-keyring runs as a daemon but I'm still prompted for the password on starting up an app that needs it. It'd be great if someone who got this working recently could offer the steps they used. --Tephra (talk) 18:20, 19 July 2021 (UTC)

Looks like the instructions were added in this change: Special:Diff/731350/757375. Closing. --Maffblaster (talk) 23:26, 14 February 2022 (UTC)