[oe] [OE][meta-gnome] Suggestion username and password in the login screen

Keshav Peswani keshavpeswani at gmail.com
Wed Jul 15 01:29:49 UTC 2015


Hi ,

While creating a customized distro for raspiberrypi 2 with meta-gnome
layer, the login screen username in the gdm_2.32.2.bb in
the USERADD_PARAM_${PN} (line number 89) is gdm but no password is
specified. Hence, when we are unable to login as /etc/shadow file has an
entry '!' instead of '*' as password for user 'gdm'.
To have a workaround for this, I created an encrypted password for 'root'
and added the same. Please go through the patch :

*keshav at L-41WKG32:~/workspace/yocto/meta-openembedded$ git diff
meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb <http://gdm_2.32.2.bb>*
*diff --git a/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
<http://gdm_2.32.2.bb> b/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
<http://gdm_2.32.2.bb>*
*index 723eee8..f6b9315 100644*
*--- a/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb <http://gdm_2.32.2.bb>*
*+++ b/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb <http://gdm_2.32.2.bb>*
*@@ -89,7 +89,7 @@ INITSCRIPT_NAME = "gdm"*
* INITSCRIPT_PARAMS = "start 99 5 . stop 20 0 1 2 3 6 ."*

* USERADD_PACKAGES = "${PN}"*
*-USERADD_PARAM_${PN} = "--system --no-create-home --home
${localstatedir}/lib/gdm --user-group gdm"*
*+USERADD_PARAM_${PN} = "-p ZUVZbV/4Ia06k --system --no-create-home --home
${localstatedir}/lib/gdm --user-group gdm"*

* pkg_postinst_${PN} () {*
* # Register up as default dm*


Here, I have two suggestions :

1. The username could be more specific such as 'gnome' or something
2. The password could be specified such as 'root' or an entry in the
gdm.conf file for a passwordless login for that user.

Kindly suggest.
Also, I am very new to this so can I send a patch for this. Please suggest.

Thanks
Keshav



More information about the Openembedded-devel mailing list