SparkyLinux Forums

Software & hardware support => Desktops => Topic started by: piotrfr on December 24, 2018, 02:37:45 PM

Title: [RESOLU] Password sur Screener !
Post by: piotrfr on December 24, 2018, 02:37:45 PM
Hello all
;)
I am French so my English will be a translated version!
a thousand excuses for misunderstandings ...

When I put my screen in standby, if I want to regain control, he offers me a login but my password does not work, I have to "change user" then submit my login and password?
Would there be a solution for this?
thanks for the help coming

Good day to everyone
-------------------------------------------
Bonjour à toutes et tous
;)
je suis français donc mon anglais ne sera qu'une version traduite !
mille excuses pour les incompréhensions...

Lorsque je mets mon écran en veille, si je veux reprendre la main, il me propose un login mais mon mot de passe ne fonctionne pas, je dois faire "changer d'utilisateur" puis remettre mon login et mon mot de passe ?
Y aurait-il une solution pour cela ?
merci pour l'aide à venir

bonne journée à toutes et tous
Title: Re: Password sur Screener !
Post by: penguin on December 26, 2018, 08:56:23 PM
What version of sparky you are using ? What desktop ? This happens me times ago. I am not very sure but I think that in Terminal your sparky use another keyboard.What kind of keyboard you are using ? French or another one ? What kind of locker you are using Screen Saver that is installed by Sparky or another one ?( I use i3locker)

Execute in terminal the follow command:

setxkbmap -query and find way your keyboard.

I have described the similar problem in one of my posts in this forum.

Anyway . Execute in Terminal the follow command

localectl set-x11-keymap XX  ( replace XX with keyboard of your layout) that suppose to have the same results as editing of
/etc/vconsole.conf as sudo and change KEYMAP=XX where XX is your keyboard.

also see this https://github.com/solus-project/budgie-desktop/issues/731 as follow:

Quotegot it working with this:
/etc/X11/xorg.conf.d/00-keyboard.conf:

# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbModel" "pc104"
        #Option "XkbLayout" "XX"
        Option "XkbLayout" "XX"
        Option "XkbVariant" "nodeadkeys"
EndSection



where XX is your keyboard

and do not forget to run in terminal sudo update-initramfs -u

and gave you all possibilities how to correct. Try and post your feedback
Title: Re: Password sur Screener !
Post by: lami07 on December 26, 2018, 09:11:26 PM
Hi. Run in terminal   ls -l /etc/shadow

Paste here the result.
Title: Re: Password sur Screener !
Post by: piotrfr on December 26, 2018, 11:38:56 PM
thank you for your help to both of you

@penguin I tried your proposals but nothing works?

@ lami07 here is the result:
~ $ ls -l / etc / shadow
-rw-r ----- 1 root root 1407 dec. 21 10:37 / etc / shadow
------------------------------------------
merci pour votre aide à tous les deux

@penguin j'ai tenté tes propositions mais rien ne fonctionne ?

@lami07 voici le resultat:
~$ ls -l /etc/shadow
-rw-r----- 1 root root 1407 déc.  21 10:37 /etc/shadow
Title: Re: Password sur Screener !
Post by: lami07 on December 27, 2018, 05:47:30 AM
Ok. Modify ownership of /etc/shadow with this command: sudo chown root:shadow /etc/shadow
It should help.
Title: Re: Password sur Screener !
Post by: piotrfr on December 27, 2018, 01:33:20 PM
 ;) ;) ;)

salut et mille mercis pour cette astuce qui fonctionne parfaitement !

merci beaucoup !

bonne journée à toutes et tous
:)
Title: Re: [RESOLU] Password sur Screener !
Post by: lami07 on December 27, 2018, 02:20:12 PM
 :) You're welcome.
Title: Re: [RESOLU] Password sur Screener !
Post by: Mastrius0713 on May 29, 2019, 06:32:44 PM
I typed in the code ls -l /etc/shadow but it says:

ls cannot access '/ect/shadow: no such file or directory

Title: Re: [RESOLU] Password sur Screener !
Post by: lami07 on May 29, 2019, 07:31:47 PM
What exactly did you type ? ls -l /etc/shadow or ls -l /ect/shadow   ?
Title: Re: [RESOLU] Password sur Screener !
Post by: Mastrius0713 on May 31, 2019, 04:38:35 AM
Doh!

I got it changed now. Thanks!